- Visual Studio 2019/2022 or Build Tools (VC++ compilers)
- CMake (or use Visual Studio's packaged CMake)
- JDK 17+ (for JNI headers and testing)
cd FastContentChunk\native\fastchunk
mkdir build; cd build
cmake ..
cmake --build . --config ReleaseExpected artifact: build\Release\fastchunk.dll or similar for your configuration.
After building the native library, build the Java artifacts so demos can find the native binary:
cd <repo-root>\FastContentChunk
mvn clean package -DskipTestsEnsure fastchunk.dll is on java.library.path and run demo as in ../README.md.
- If
cmakeis missing, use Visual Studio's CMake at:C:\Program Files\Microsoft Visual Studio\<version>\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe - For
UnsatisfiedLinkError: verify JNI symbol names and.defexports if present.