I’m a beginner of camke and trying to use CommonApi on my platfrom
I followed the tutorial : https://github.com/COVESA/capicxx-dbus-tools/wiki/CommonAPI-C—D-Bus-in-10-minutes
git clone https://github.com/GENIVI/capicxx-core-runtime.git
cd capicxx-core-runtime
cmake -Bbuild -DCMAKE_INSTALL_PREFIX=../install_folder .
cmake –build build/ –target install
I first compiled capicxx-core-runtime with a toolchain, it works fine.
when I change to another toolchain, build folder is not generated. “-Bbuild” is not working!
but build files(ex: makefile) are written into the project’s root path.
and I got the error:
CMake Error: The source directory “capicxx-core-runtime/install” does not exist.
what make me confused is that in the compile pass case, there’s no install directory, neither…
Is there anyone can give me a hint? where should I getting start to debug this compile error?
thanks
I tried to compare the environment variables after sourcing these two toolchains , but not got a clue.
And I compared OK/NG compile logs. But didn’t find anything useful.
gundom02 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.