Manta Interactive Ray Tracer Development Mailing List

Text archives Help


Re: [Manta] compiler error with gcc, too ...


Chronological Thread 
  • From: Ingo Wald <ingowald@gmail.com>
  • To: Solomon Boulos <boulos@cs.utah.edu>
  • Cc: manta@sci.utah.edu
  • Subject: Re: [Manta] compiler error with gcc, too ...
  • Date: Sat, 05 Jan 2008 01:03:52 -0800
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding; b=I19Lpkt9SlYk65e/e1PViN4ut1VuNCho0rqw/u0q8ITSNZe612n4c/XD0K7ocl9Yo39OAI8pxSFPMZbqfxBLFxEdz5E3bM3fNaJ0kmh4Z7CTQxQ//XKsRoj3hlSYnbngn0T9Ql6w08DCwRppSQk0iTbL8+I7gejJmCSxVZQXifg=

Solomon Boulos wrote:
I cannot reproduce this. However, I seem to recall you mentioning something about installing your own GLUT from MacPorts? Did you happen to install your own X as well?

Also, did you make a new build directory after switching back from ICC? (or at least rm -rf * everything in it? CMake caches things which are not cleared when you do make clean).
Sure. I actually call my build dirs based on which compiler I use, so I have separate gcc and icc build dirs. (and yes, I completely removed the builddir and created a new one before building -- it's the only "really" realiable "make clean" variant ;-) ).

I did some time ago fight with glut etc, but somebody then told me that this was not the proper way to do things, so I switched to "-framework something" instead in the dynrt and rattle codebases. The old glut might still be lying around somewhere, but I guess manta wouldn't link to it, anyway (?) ... I'll run a verbose make, and send around what libs it actually links to ... (as soon as I'm back on my mac)

Ingo

Solomon

On Jan 4, 2008, at 10:32 PM, Ingo Wald wrote:

gcc @ leopard on freshly updated manta (no changes made to codebase):

[ 25%] Building CXX object Core/CMakeFiles/Manta_Core_XUtils.dir/XUtils/XHelper.o
Linking CXX shared library ../lib/libManta_Core_XUtils.dylib
Undefined symbols:
"_glXUseXFont", referenced from:
    Manta::XHelper::getGLFont(XFontStruct*)     in XHelper.o
ld: symbol(s) not found


Ingo








Archive powered by MHonArc 2.6.16.

Top of page