You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was able to run cmake . after some googleing:
users need to issue the following commands before all dependencies are met: git submodule update --init --recursive apt-get install python-dev
to solve
Make Error at relight/CMakeLists.txt:11 (add_subdirectory):
The source directory
/home/jacopo/relight/relight/pybind11
does not contain a CMakeLists.txt file.
Please Update the readme file
also this package no longer exists in the ubuntu repos: libjpeg62-turbo-dev
had to substitute for libjpeg62-dev and now I am seeing the following error when I try to issue the make command:
EDIT: just tested in debian, same error even using the libjpeg62-turbo-dev package
EDIT2: ok not sure this works as intended but chaning that line into PySys_SetArgv(1, reinterpret_cast<char **>(argv));
at least allows me to compile it. ( this should be a separate issue but i guess it's all under the umbrella of. things to do to get it to compile )
EDIT3: in ubuntu this does not fix the jpeg turbo missing package. after all the above changes this still happens:
/home/jacopo/relight/src/jpeg_decoder.cpp: In member function ‘bool JpegDecoder::decode(uint8_t*, size_t, uint8_t*&, int&, int&)’:
/home/jacopo/relight/src/jpeg_decoder.cpp:30:2: error: ‘jpeg_mem_src’ was not declared in this scope; did you mean ‘jpeg_stdio_src’?
30 | jpeg_mem_src(&decInfo, buffer, len);
| ^~~~~~~~~~~~
| jpeg_stdio_src
make[2]: *** [relight/CMakeFiles/relight.dir/build.make:261: relight/CMakeFiles/relight.dir/__/src/jpeg_decoder.cpp.o] Error 1
make[2]: Leaving directory '/home/jacopo/relight'
make[1]: *** [CMakeFiles/Makefile2:115: relight/CMakeFiles/relight.dir/all] Error 2
make[1]: Leaving directory '/home/jacopo/relight'
make: *** [Makefile:130: all] Error 2
EDIT 4: this is fixed by sudo apt-get install libturbojpeg0-dev
EDIT 5: Attaching this image with some specs/sw info about my setup.
The text was updated successfully, but these errors were encountered:
I was able to run cmake . after some googleing:
users need to issue the following commands before all dependencies are met:
git submodule update --init --recursive
apt-get install python-dev
to solve
Please Update the readme file
also this package no longer exists in the ubuntu repos:
libjpeg62-turbo-dev
had to substitute for
libjpeg62-dev
and now I am seeing the following error when I try to issue the make command:EDIT: just tested in debian, same error even using the
libjpeg62-turbo-dev
packageEDIT2: ok not sure this works as intended but chaning that line into
PySys_SetArgv(1, reinterpret_cast<char **>(argv));
at least allows me to compile it. ( this should be a separate issue but i guess it's all under the umbrella of. things to do to get it to compile )
EDIT3: in ubuntu this does not fix the jpeg turbo missing package. after all the above changes this still happens:
EDIT 4: this is fixed by sudo apt-get install libturbojpeg0-dev
EDIT 5: Attaching this image with some specs/sw info about my setup.
The text was updated successfully, but these errors were encountered: