Cmake TurboJpeg problems in Ubuntu 14 - missing: TurboJPEG_LIBRARIES TURBOJPEG_WORKS

577 views
Skip to first unread message

Chema

unread,
Jul 14, 2015, 8:07:41 AM7/14/15
to openk...@googlegroups.com
Hi,

I have been following the instructions, downloading all the dependencies, even testing CMake2.8 and 3.2, but I cannot solve this issue when executing "cmake CMakeLists.txt" in the protonect example.
I got this error:
-- using tinythread as threading library
CMake Error at /usr/local/share/cmake-3.2/Modules/FindPackageHandleStandardArgs.cmake:138 (message):
  Could NOT find TurboJPEG (missing: TurboJPEG_LIBRARIES TURBOJPEG_WORKS)
Call Stack (most recent call first):
  /usr/local/share/cmake-3.2/Modules/FindPackageHandleStandardArgs.cmake:374 (_FPHSA_FAILURE_MESSAGE)
  cmake_modules/FindTurboJPEG.cmake:53 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  CMakeLists.txt:44 (FIND_PACKAGE)

I read next posts and test what you said but I cannot figure out a solution.
https://github.com/OpenKinect/libfreenect2/issues/36
https://github.com/yoshimoto/libk4w2/issues/2
https://github.com/OpenKinect/libfreenect2/pull/51

I have installed libturboJpeg
/usr/lib/x86_64-linux-gnu/libturbojpeg.a
/usr/lib/x86_64-linux-gnu/libturbojpeg.so
/usr/lib/x86_64-linux-gnu/libturbojpeg.so.0
/usr/lib/x86_64-linux-gnu/libturbojpeg.so.0.0.0


and libjpeg-turbo8-dev:
/usr/share/doc/libjpeg-turbo8-dev
/usr/share/doc/libjpeg-turbo8-dev/README-turbo.txt.gz
/usr/share/doc/libjpeg-turbo8-dev/README.gz
/usr/share/doc/libjpeg-turbo8-dev/changelog.Debian.gz
/usr/share/doc/libjpeg-turbo8-dev/copyright
/usr/share/doc/libjpeg-turbo8-dev/libjpeg.txt.gz
/usr/share/doc/libjpeg-turbo8-dev/structure.txt.gz
/var/cache/apt/archives/libjpeg-turbo8-dev_1.3.0-0ubuntu2_amd64.deb
/var/lib/dpkg/info/libjpeg-turbo8-dev:amd64.list
/var/lib/dpkg/info/libjpeg-turbo8-dev:amd64.md5sums

¿Any idea/hint how to solve this? (totally newbie with CMake s aybe I looking in the wrog direction)
Thanks a lot
Reply all
Reply to author
Forward
0 new messages