The underlying cause seems to be an oversight in the libjpeg-turbo
build. On x86 platforms, if configure detects that the default prefix
and libdir have not been overridden by the user, then it automatically
sets libdir to /opt/libjpeg-turbo/lib32 for 32-bit builds and
/opt/libjpeg-turbo/lib64 for 64-bit builds, but it was only doing that
for x86 platforms. I need to extend it to do the same thing for all
platforms.
In the meantime, you should be able to work around the issue by adding
-DTJPEG_LIBRARY=/opt/libjpeg-turbo/lib/libturbojpeg.a to the CMake
command line when building TurboVNC and VirtualGL.
On 8/11/13 5:13 AM, Arie Kruiniger 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
[email protected]
https://lists.sourceforge.net/lists/listinfo/virtualgl-devel
Index: configure.ac
===================================================================
--- configure.ac (revision 994)
+++ configure.ac (working copy)
@@ -56,7 +56,7 @@
x86_64 | amd64)
libdir='${exec_prefix}/lib64'
;;
- i*86 | x86 | ia32)
+ i*86 | x86 | ia32 | arm*)
libdir='${exec_prefix}/lib32'
;;
esac
------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/virtualgl-devel