File CommandLineOptions.ixx.o missing
About you
Céline Fouard ex-CamiTK developper, now CamiTK intensive user
Overview
I want to install CamiTK on my brand new machine (Ubuntu 22.04.2 LTS 64 bits), and I choose to install the develop version from git.
Steps to Reproduce
I checkedout sources in a scr/ directory, and created a buid/ directory. Into the build, I exectued the following commands:
cmake $CAMITK_SOURCE_DIR -DCEP_IMAGING=TRUE -DCEP_MODELING=TRUE -DCEP_TUTORIALS=TRUE -DCMAKE_INSTALL_PREFIX="/opt/camitk" cmake --build . --parallel 8 --target install
Actual VS Expected Result
I obtained the following result:
Relevant logs and/or screenshots
[Paste any relevant logs - please use code blocks (```) to format console output, logs, and code as it's very hard to read otherwise.]
/usr/bin/ld : ne peut pas trouver CMakeFiles/application-actionstatemachine.dir/CommandLineOptions.ixx.o : Aucun fichier ou dossier de ce type
collect2: error: ld returned 1 exit status
gmake[2]: *** [sdk/applications/actionstatemachine/CMakeFiles/application-actionstatemachine.dir/build.make:503 : bin/camitk-actionstatemachine] Erreur 1
gmake[1]: *** [CMakeFiles/Makefile2:5561 : sdk/applications/actionstatemachine/CMakeFiles/application-actionstatemachine.dir/all] Erreur 2
gmake: *** [Makefile:166 : all] Erreur 2
Interpretation & Possible fixes
I had the same problem compiling the camitk-5.0.2 package on with install target at /usr/local/. The actual firs error was the same error, but on the application testcomponent. I do not understand where this come from, I did not touch my paths...
CamiTK Version
[Copy/Paste the output of camitk-config -b
CamiTK Version part ]
can't run camitk-config....
please do not remove anything below this line