SCI Seg3D Mailing List

Text archives Help


[Seg3D] Re: Re: Re: local copy of boost interfering with externals build


Chronological Thread 
  • From: Kris Zygmunt <krismz@sci.utah.edu>
  • To: seg3d@sci.utah.edu
  • Subject: [Seg3D] Re: Re: Re: local copy of boost interfering with externals build
  • Date: Tue, 12 Mar 2013 14:29:30 -0600

Ok, I finally got around to trying this again. I changed the order of the INCLUDE_DIRECTORIES call, removed the bin directory, and ran ccmake again. I still see the same error. I was doing a make -j 8, so I may try this again overnight without the -j option.
-Kris

On Feb 20, 2013, at 10:35 AM, Ayla Khan wrote:

Moving the Qt include_directories as you describe does not appear to affect the build (tested on OS X), however I don't have macports installed - can you give this a try on your system?

Thanks,

Ayla

On Tue, 19 Feb 2013 15:45:42 -0700
Kristen Zygmunt <krismz@sci.utah.edu> wrote:
Ok, it turns out that my qmake executable was in /opt/local/bin and so /opt/local/include was being included through the INCLUDE_DIRECTORIES(QT_INCLUDE_DIR) line. I worked around this by pointing at another version of Qt that I already had installed in / usr/bin (which probably wasn't found first because /opt/local/bin is before /usr/bin on my PATH env. variable). Not sure if anything should/could be done about this, maybe moving the Qt include_directories below all the include_directories(SCI*) lines?
-Kris
On Feb 19, 2013, at 3:23 PM, Kristen Zygmunt wrote:
Hi,
I'm getting the following build error while trying to build seg3d2. I think that my local macports install of boost is interfering with the externals build of boost. But it is not clear to me why cmake is even looking in /opt/local/include.
I am building on Mac 10.6 with a clean, plain vanilla build (ccmake ../src, no variables changed)
In file included from /opt/local/include/boost/filesystem/detail/ utf8_codecvt_facet.hpp:10,
from /Users/krismz/Software/seg3d2/src/Externals/ boost/libs/filesystem/v2/src/v2_path.cpp:34:
/opt/local/include/boost/filesystem/config.hpp:16:5: error: #error Compiling Filesystem version 3 file with BOOST_FILESYSTEM_VERSION defined != 3
make[2]: *** [Externals/boost/CMakeFiles/boost.dir/libs/filesystem/ v2/src/v2_path.cpp.o] Error 1
make[1]: *** [Externals/boost/CMakeFiles/boost.dir/all] Error 2
Any ideas where to start looking?
-Kris




  • [Seg3D] Re: Re: Re: local copy of boost interfering with externals build, Kris Zygmunt, 03/12/2013

Archive powered by MHonArc 2.6.16.

Top of page