- Microsoft Visual Studio (Community 2019 Verified)
- Desktop Development for C++
- Visual Studio core editor
- C++ ATL for latest v142 build tools (x86 & x64)
- C++ MFC for latest v142 build tools (x86 & x64)
- WiX Toolset v3 Schemas for Visual Studio
- WiX Toolset Visual Studio 2019 Extension
- OpenSSL (full)
- Installed via VCPKG (
.\vcpkg install openssl
). - Or installed via Chocolatey.
- Ensure to set the OPENSSL_ROOT_DIR.
- Installed via VCPKG (
- WiX Installer (3.11)
- Ensure to add path to WiX executables (e.g.
C:\Program Files (x86)\WiX Toolset v3.11\bin
)
- Ensure to add path to WiX executables (e.g.
- Java JDK (version 8+ - 17 recommended)
- Ensure to set
JAVA_HOME
.
- Ensure to set
- Boost Test Framework
- Install via VCPKG using
.\vcpkg install openssl:x64-windows boost-test:x64-windows boost-asio:x64-windows boost-chrono:x64-windows boost-interprocess:x64-windows boost-regex:x64-windows boost-system:x64-windows boost-thread:x64-windows
- Install via VCPKG using
- Run one of the build scripts to create an initial compilation.
- E.g.:
.\build_win_debug64.ps1
- Navigate to the
build\odbc\cmake
folder to use the generated solution file,Ignite.C++.sln
to work on source code development and testing.
- E.g.:
- More details in
src\DEVNOTES.txt
.
- Install dependencies
brew install cmake
brew install openssl
brew install unixodbc
- You may need to unlink
libiodbc
if you already have this installed. Usebrew unlink libiodbc
.
- You may need to unlink
brew install boost
- Install Java JDK (version 8+ - 17 recommended)
- This can be done through Homebrew using
brew install --cask temurin<version>
. - Ensure to set
JAVA_HOME
.
- This can be done through Homebrew using
- If creating a debug build (
./build_mac_debug64.sh
), LLVM is required.- If you only have XCode Command Line Tools, use the LLVM included with XCode by modifying the PATH with
export PATH=/Library/Developer/CommandLineTools/usr/bin/:$PATH
. Ensure this XCode path comes first in $PATH. If error occurs, check that clang and llvm are under folder Library/Developer/CommandLineTools/usr/bin. - If you have XCode application, to ensure LLVM and CMake are compatible, use the LLVM included with XCode by modifying the PATH with
export PATH=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/:$PATH
.
- If you only have XCode Command Line Tools, use the LLVM included with XCode by modifying the PATH with
- Run one of the build scripts to create an initial compilation.
- E.g.:
./build_mac_release64.sh
- Navigate to the
build/odbc/lib
folder to use the generated files.
- E.g.:
- More details in
src\DEVNOTES.txt
.
TBD
/Library/Frameworks/iODBC.framework/Headers/sqlext.h:82:10: fatal error: 'iODBC/sql.h' file not found
#include <iODBC/sql.h>
^~~~~~~~~~~~~
If you have installed the iODBC Driver Manager, the headers installed with it might be used instead of those from unixodbc
. You may need to uninstall this driver manager and remove the /Library/Frameworks/iODBC.framework/
directory.