|
From: Alan W. I. <ir...@be...> - 2015-06-04 16:11:03
|
On 2015-06-04 15:41-0000 Spong, Donald A. wrote: > I installed the x86_64 version of AquaTerm and that seems to have fixed the problems with aqt. However, as Marius noted, there are still issues with x86_64 vs. i386 incompatibility (see attached cmake.out and make.out files). These seem to arise from the wxwidgets linking. I’ve set ENABLE_wxwidgets=OFF, but it still tries to link wxwidgets. In the cmake step it somehow decides that the -arch i386 compiler flag needs to be added to wxwidgets_LINK_FLAGS. I don’t know why this choice is made. I’ve also gone back and explicitly set: > export CC="gcc -arch x86_64 -O2" > export CXX="g++ -arch x86_64 -O2” > But the cmake step still insists on compiling wxwidgets and using the -arch i386 setting instead. Any suggestions as to what is causing this and how to fix it? Hi Don: I can help with this aspect. -DENABLE_wxwidgets turns off just the library will build that is associated with wxwidgets. Instead use -DPLD_wxwidgets=OFF to disable both the wxwidgets device driver and the associated library we build. Alan __________________________ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affiliations with the FreeEOS equation-of-state implementation for stellar interiors (freeeos.sf.net); the Time Ephemerides project (timeephem.sf.net); PLplot scientific plotting software package (plplot.sf.net); the libLASi project (unifont.org/lasi); the Loads of Linux Links project (loll.sf.net); and the Linux Brochure Project (lbproject.sf.net). __________________________ Linux-powered Science __________________________ |