Hi, I misunderstood your message. Here is what I get when building ogen (see in the attached file). Thanks. Barak > Barak: > I am confused since if Overture built then the cg routines should also > build. This is why I wanted to see what the loader line looks like > when you build ogen. > The problem seems to be related to the fact that you link to > some libraries in /usr/lib/ (which usually holds the 32 bit libraries) > as opposed to /usr/lib64 (which holds the 64 bit libraries). > > > ...Bill > > > > On 07/19/2012 08:19 AM, galanti@xxxxxxxxxxxx wrote: >> Hi Bill, >> Indeed the Overture is compiled properly. I can open the graphics >> (ogen). >> The problem is when I am compiling cg,c24. It stops in the directory >> common (in the file checkCheckFiles.C) which needs something like >> _mesa_copy_content (and I could find it in the library GL (for the >> version >> 7.2). >> >> >> Thanks, >> Barak >> >> >> Barak: >> Am I correct that Overture compiled properly and the graphics >> worked? >> When you built Overture what did the loader line look like when you >> built >> ogen -- you can goto to Overture/bin/, remove ogen and type make to >> rebuild it. >> Here is what I get: >> >> g++ -fPIC -I"`pwd`/.."/include -I. -DUSE_MESA >> -I/home/henshaw.0/A++P++/A++P++-4.3.2-64/A++/install/include >> -I/home/henshaw.0/software/OpenGL/Mesa-7.2.intel.gcc4.3.2/include >> -I/usr/include >> -DBL_USE_DOUBLE -DBL_Solaris >> -I/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE -g -o ogen >> ogenDriver.o ogenFunction.o -Wl,-rpath,"`pwd`/.."/lib -L"`pwd`/.."/lib >> -lOverture -lOverture_static >> -Wl,-rpath,/usr/apps/gcc/4.3.2/lib64 -L/usr/apps/gcc/4.3.2/lib64 >> -Wl,-rpath,/home/henshaw.0/software/hdf/hdf5-1.6.5-gcc4.3.2-64/lib >> -L/home/henshaw.0/software/hdf/hdf5-1.6.5-gcc4.3.2-64/lib -lhdf5 >> -ljpeg -lz >> -Wl,-rpath,/home/henshaw.0/A++P++/A++P++-4.3.2-64/A++/install/lib >> -L/home/henshaw.0/A++P++/A++P++-4.3.2-64/A++/install/lib -lApp >> -lApp_static >> -Wl,-rpath,/nfs/apps/pgi/7.0-4/linux86-64/7.0-4/lib >> -L/nfs/apps/pgi/7.0-4/linux86-64/7.0-4/lib -lpgftnrtl -lpgmp -lpgc -lrt >> -lstd -Wl,-rpath,/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE >> -L/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE -lperl -lresolv >> -lnsl -ldl -lm -lcrypt -lutil -lpthread -lc >> -Wl,-rpath,/home/henshaw.0/software/OpenGL/Mesa-7.2.intel.gcc4.3.2/lib64 >> -L/home/henshaw.0/software/OpenGL/Mesa-7.2.intel.gcc4.3.2/lib64 -lGL >> -lGLU >> -lOSMesa -Wl,-rpath,/usr/lib64 -L/usr/lib64 -lXm -L/usr/lib64 -lXpm >> -lXp >> -lXt -lXmu -lXi -lXext -lX11 -lm >> >> >> ...Bill >> >> >> On 07/18/2012 02:44 PM, galanti@xxxxxxxxxxxx wrote: >>> Hi Bill, >>> Thank you. I have followed your last message, unfortunately, the >>> compilation does not succeed. >>> See the attached file, which is the log of the compilation of cg.v24: >>> Many thanks, >>> Barak >>> >>> >>> >>> >> >> >> >> This mail was sent via Mail-SeCure System. >> >> >> >> >> >> ************************************************************************************ >> This footnote confirms that this email message has been scanned by >> PineApp Mail-SeCure for the presence of malicious code, vandals& >> computer viruses. >> ************************************************************************************ >> >> >> > > > > This mail was received via Mail-SeCure System. > > > > > > ************************************************************************************ > This footnote confirms that this email message has been scanned by > PineApp Mail-SeCure for the presence of malicious code, vandals & computer > viruses. > ************************************************************************************ > > > > This mail was sent via Mail-SeCure System. ************************************************************************************ This footnote confirms that this email message has been scanned by PineApp Mail-SeCure for the presence of malicious code, vandals & computer viruses. ************************************************************************************
make g++ -fPIC -I"`pwd`/.."/include -I. -DUSE_MESA -I/home/galanti/COMPUTATION/Overture/A++P++-0.8.0/A++/install//include -I/home/galanti/COMPUTATION/Overture/MESA/Mesa-7.2/include -I/usr/include -DBL_USE_DOUBLE -DBL_Solaris -I/usr/lib/perl5/5.14.2/x86_64-linux-thread-multi/CORE -g -o ogen ogenDriver.o ogenFunction.o -Wl,-rpath,"`pwd`/.."/lib -L"`pwd`/.."/lib -lOverture -lOverture_static -Wl,-rpath,/usr/lib -L/usr/lib -lhdf5 -ljpeg -lz -Wl,-rpath,/home/galanti/COMPUTATION/Overture/A++P++-0.8.0/A++/install//lib -L/home/galanti/COMPUTATION/Overture/A++P++-0.8.0/A++/install//lib -lApp -lApp_static -lgfortran -Wl,-rpath,/usr/lib/perl5/5.14.2/x86_64-linux-thread-multi/CORE -L/usr/lib/perl5/5.14.2/x86_64-linux-thread-multi/CORE -lperl -lm -ldl -lcrypt -lpthread -Wl,-rpath,/home/galanti/COMPUTATION/Overture/MESA/Mesa-7.2/lib64 -L/home/galanti/COMPUTATION/Overture/MESA/Mesa-7.2/lib64 -lGL -lGLU -lOSMesa -Wl,-rpath,/usr/lib64 -L/usr/lib64 -lXm -L/usr/lib64 -lXpm -lXp -lXt -lXmu -lXi -lXext -lX11 -lm /usr/lib64/gcc/x86_64-suse-linux/4.6/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/lib/libjpeg.so when searching for -ljpeg /usr/lib64/gcc/x86_64-suse-linux/4.6/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/lib/libz.so when searching for -lz /usr/lib64/gcc/x86_64-suse-linux/4.6/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/lib/libdl.so when searching for -ldl /usr/lib64/gcc/x86_64-suse-linux/4.6/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/lib/libcrypt.so when searching for -lcrypt /usr/lib64/gcc/x86_64-suse-linux/4.6/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/lib/libpthread.so when searching for -lpthread /usr/lib64/gcc/x86_64-suse-linux/4.6/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/lib/libGL.so when searching for -lGL /usr/lib64/gcc/x86_64-suse-linux/4.6/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/lib/libGLU.so when searching for -lGLU /usr/lib64/gcc/x86_64-suse-linux/4.6/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/lib/libOSMesa.so when searching for -lOSMesa /usr/lib64/gcc/x86_64-suse-linux/4.6/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/lib/libXm.so when searching for -lXm /usr/lib64/gcc/x86_64-suse-linux/4.6/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/lib/libXpm.so when searching for -lXpm /usr/lib64/gcc/x86_64-suse-linux/4.6/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/lib/libXp.so when searching for -lXp /usr/lib64/gcc/x86_64-suse-linux/4.6/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/lib/libXt.so when searching for -lXt /usr/lib64/gcc/x86_64-suse-linux/4.6/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/lib/libXmu.so when searching for -lXmu /usr/lib64/gcc/x86_64-suse-linux/4.6/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/lib/libXext.so when searching for -lXext /usr/lib64/gcc/x86_64-suse-linux/4.6/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/lib/libX11.so when searching for -lX11 /usr/lib64/gcc/x86_64-suse-linux/4.6/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/lib/libm.so when searching for -lm /usr/lib64/gcc/x86_64-suse-linux/4.6/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/lib/libm.so when searching for -lm /usr/lib64/gcc/x86_64-suse-linux/4.6/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc