Closed FarK closed 5 years ago
I have this error doing cmake ..:
cmake ..
> cd build > cmake .. *** PYTHON INTERFACE *** PYTHON INSTALL DIR : lib/python3/dist-packages PYTHON NUMPY HEADER FILES IN : /usr/lib/python3/dist-packages/numpy/core/include GENERATING valkka_core.i LIVE555 ROOT: /home/carlos/workspace/valka_test/valkka-core/ext/live FFMPEG ROOT: /home/carlos/workspace/valka_test/valkka-core/ext/ffmpeg -- Configuring done CMake Error at CMakeLists.txt:247 (add_library): Cannot find source file: /home/carlos/workspace/valka_test/valkka-core/python/valkka/core/valkka_core_wrap.cpp Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp .hxx .in .txx CMake Error: CMake can not determine linker language for target: valkka_core CMake Error: Cannot determine link language for target "valkka_core". -- Generating done -- Build files have been written to: /home/carlos/workspace/valka_test/valkka-core/build_dir
The file valkka_core_wrap.cpp does not exists
valkka_core_wrap.cpp
try to run ./prepare_build.bash before
I found the solution: sudo apt install swig It is in the dependencies section in the readme :man_facepalming:
sudo apt install swig
I have this error doing
cmake ..
:The file
valkka_core_wrap.cpp
does not exists