So I tried James' advice and that gave me another linker error (couldn't find -lX11 that time)
However, if you go into ccmake and change these lines:
CMAKE_CXX_COMPILER icpc
X11_X11_LIB /usr/X11R6/lib64/libX11.so
X11_Xext_LIB /usr/X11R6/lib64/libXext.so
Then everything links great.
Thanks guys!
Aaron
On Jun 30, 2006, at 12:03 PM, Abe Stephens wrote:
First try James' suggestion: reconfiguring from scratch.
If that doesn't work try to figure out where the library paths are being specified in the project, it's possible that X11R6/lib is being hardcoded when it shouldn't be, although I think my 64bit build still works....
LD_LIBRARY_PATH is used at runtime to tell an executable where to look for the libraries it was compiled with.
Abe
Aaron Knoll wrote:
Thanks Abe, any idea how to do that? Do I need to set the LD_LIBRARY_PATH variable, or is there somewhere in cmake?
-Aaron
On Jun 30, 2006, at 11:50 AM, Abe Stephens wrote:
Having 32 bit library paths on a 64bit build. If you are using a 64 bit build, see if you can get it to use X11R6/lib64/ instead.
Abe
Aaron Knoll wrote:
Has anyone tried compiling/linking manta on arachne, and gotten this error:
ld: skipping incompatible /usr/X11R6/lib/libSM.so when searching for - lSM
ld: skipping incompatible /usr/X11R6/lib/libSM.a when searching for -lSM
ld: cannot find -lSM
What could cause this?
-Aaron
On Jun 30, 2006, at 11:39 AM, James Bigler wrote:
There's some code in RayPacket.h that looks like this:
SSE_MaxSize = RAYPACKET_MAXSIZE/4,
Now if RAYPACKET_MAXSIZE happens to not be a multiple of 4 would things go badly?
RAYPACKET_MAXSIZE = 1, SSE_MaxSize = 0
RAYPACKET_MAXSIZE = 6, SSE_MaxSize = 1
Should it be something more like:
SSE_MaxSize = (RAYPACKET_MAXSIZE+3)/4,
Thanks,
James
Archive powered by MHonArc 2.6.16.