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.