User forums > Using Code::Blocks

KiCAD build using CB Project via cmake 4.0

(1/1)

stahta01:
I am trying once more to update these old directions https://wiki.codeblocks.org/index.php/KiCadBuildQuickRef

This time using MSys2 UCRT64 and kicad git repo.

The CB Project is now made; the project has build errors; but, the error is the same as the KiCAD Msys2 mingw package.

I have only build the targets "kicad" and "all" both failed with an compiler error that might be a missing include

Tim S.

stahta01:
The toolchain setting I am using for codeblocks IDE launched and packaged from MSys2

GNU GCC Compiler
Compiler installation Directory: ${MINGW_PREFIX}

stahta01:
Kicad CB project is still building; currently at 57% of target built; the define of "NANODBC_DISABLE_ASYNC" is not likely the correct workaround of the build error at 11 or 12 percent. I decided that -DNANODBC_DISABLE_ASYNC=ON is a good solution but it is a few hours from finishing building.


--- Code: ---mkdir -p ~/devel/kicad/cb_build && cd ~/devel/kicad/cb_build && \
cmake \
  -DOCC_INCLUDE_DIR="${MINGW_PREFIX}"/include/opencascade \
  -DKICAD_BUILD_QA_TESTS=OFF \
  -DNANODBC_DISABLE_ASYNC=1 \
  -G"CodeBlocks - MinGW Makefiles" .. > log.txt

--- End code ---

Navigation

[0] Message Index

Go to full version