See my previous reply for the correct workaround. Also, never edit CMakeCache.txt directly. If you need to edit CMake variables after CMake has already been run, then run ccmake.
On 8/11/13 6:17 AM, Arie Kruiniger wrote: > update: changed the location of 'library' in cmakecache.txt. It now > points at the right directory, with libturbojpeg.a in it. > > However, it still won't work :/. It gives me the same error: > > Could not link with TurboJPEG library > /opt/libjpeg-turbo/lib32/libturbojpeg.a. If it is installed in a > different place, then set TJPEG_LIBRARY accordingly. > > Call Stack (most recent call first) > > CMakeLists.txt :102 (include) ill I I > > -- Configuring incomplete, errors occurred! > > > > > On 11 August 2013 11:13, Arie Kruiniger <akruini...@gmail.com > <mailto:akruini...@gmail.com>> wrote: > > Hi, > > Hope this is the right forum for build issues. > > I installed libjpeg-turbo with no problems. I tried to install turbo > vnc, but cmake returned the following error: > > #### > > -- TJPEG_INCLUDE_DIR = /opt /libjpeg -turbo/include CMake Error at > cmakescripts/FindTurboJPEG.cmake:52 (message): > > Could not link with TurboJPEG library > /opt/libjpeg-turbo/lib32/libturbojpeg.a. If it is installed in a > different place, then set TJPEG_LIBRARY accordingly. > > Call Stack (most recent call first) > > CMakeLists.txt :102 (include) ill I I > > -- Configuring incomplete, errors occurred! > > #### > > I navigated to /opt/libjpeg-turbo/, and sure enough there was no > /lib32 directory. There was a /lib directory, which looked like it > had the right stuff in it (such as the archive libturbojpeg.a). > > I tried to spoof it by copying the contents to a new /lib32 > directory, but no luck :p. > > Can I change TJPEG_LIBRARY somehow to make it point to the right place? > > Many thanks > > > > > ------------------------------------------------------------------------------ > Get 100% visibility into Java/.NET code with AppDynamics Lite! > It's a free troubleshooting tool designed for production. > Get down to code-level detail for bottlenecks, with <2% overhead. > Download for free and get started troubleshooting in minutes. > http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk > > > > _______________________________________________ > VirtualGL-Devel mailing list > VirtualGL-Devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/virtualgl-devel > ------------------------------------------------------------------------------ Get 100% visibility into Java/.NET code with AppDynamics Lite! It's a free troubleshooting tool designed for production. Get down to code-level detail for bottlenecks, with <2% overhead. Download for free and get started troubleshooting in minutes. http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk _______________________________________________ VirtualGL-Devel mailing list VirtualGL-Devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/virtualgl-devel