On many platforms, the 32-bit compiler infrastructure is in a set of extra packages that aren't installed by default. Make sure that you can successfully compile a 32-bit app using -m32 ("Hello, world" or whatever.) The VirtualGL build system enables either 32-bit or 64-bit based on the value of CMAKE_SIZE_OF_VOID_P, i.e. the number of bits in the void* datatype. Thus, if the compiler is successfully accepting the -m32 flag, then CMAKE_SIZE_OF_VOID_P should be 4 bytes, which will trigger a 32-bit built in VirtualGL. If you are able to successfully build a "Hello, world" app using -m32 but the VGL build system still isn't working right, then it's an issue that I haven't encountered before.
On 4/29/13 6:44 PM, Harvey, David wrote: > Hi All, > I am trying to build a 32 bit version on 64-bit linux > -- libjpeg-turbo has successfully built both /lib and /lib64 > I initiate the following successfully > cmake -G "Unix makefiles" /opt/VirtualGL > make > make install > and I get a lib64 build > now I have tried several different methods for 32bit, > export CFLAGS=-m32 > export CXXFLAGS=-m32 > export LDFLAGS=-m32 > cmake -G "Unix makefiles" /opt/VirtualGL > make > make install > .... yikes... no 32 bit ... just a 64bit > As far as I can tell I have all of the 32 bit required libraries - > Have I missed something in the build process? > Thanks > Dave > > > ------------------------------------------------------------------------------ > Try New Relic Now & We'll Send You this Cool Shirt > New Relic is the only SaaS-based application performance monitoring service > that delivers powerful full stack analytics. Optimize and monitor your > browser, app, & servers with just a few lines of code. Try New Relic > and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr > > > > _______________________________________________ > VirtualGL-Users mailing list > VirtualGL-Users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/virtualgl-users > ------------------------------------------------------------------------------ Try New Relic Now & We'll Send You this Cool Shirt New Relic is the only SaaS-based application performance monitoring service that delivers powerful full stack analytics. Optimize and monitor your browser, app, & servers with just a few lines of code. Try New Relic and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr _______________________________________________ VirtualGL-Users mailing list VirtualGL-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/virtualgl-users