SCI Seg3D Mailing List

Text archives Help


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


Chronological Thread 
  • From: "Ayla Khan" <ayla@sci.utah.edu>
  • To: seg3d@sci.utah.edu,Kristen Zygmunt <krismz@sci.utah.edu>
  • Subject: [Seg3D] Re: Re: local copy of boost interfering with externals build
  • Date: Wed, 20 Feb 2013 10:35:12 -0700

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





Archive powered by MHonArc 2.6.16.

Top of page