Home My Page Projects MPTK: The Matching Pursuit ToolKit
Summary Activity Forums Tracker Lists Docs News SCM Files

Forum: help

Monitor Forum | Start New Thread Start New Thread
RE: Difficulty installing MPTK-0.5.4 on Mac O [ Reply ]
By: Benjamin Roy on 2008-01-04 09:42

It's well konwn issue on OS X when try to build application from LINUX according to:

The remedy is to link using g++ instead of gcc or ld.According to CMake documentation, once the compiler is picked, you can not change it. If you want g++ as compiler, you can do this in a a clean build tree, before using cmake command to create the build system and compile as usual:
export CXX=g++
cmake ~/foo

Hope it will help, thanks for your interest in MPTK.

Difficulty installing MPTK-0.5.4 on Mac OS X [ Reply ]
By: Ryan Canolty on 2008-01-04 01:21

I have been using the MPTK Windows executable to decompose electrocorticography data and have found it very promising. Thanks to everyone for making this software happen!

I would like to compile it on our MacPro (2 dual-core Intel Xeon processors running OS 10.4.11) but am running into some problems. After using the make command I get the following:

[ 1%] Built target make_regression_constants
[ 1%] Built target mpcat-executable
[ 2%] Built target mptk-lib-source
[ 2%] Built target dsp_windows-lib-source
[ 3%] Built target dsp_windows
[ 3%] Built target tinyxml-lib-source
[ 6%] Built target tinyxml
Linking CXX shared library ../../lib/libmptk.dylib
ld: Undefined symbols:
/usr/bin/libtool: internal link edit command failed
make[2]: *** [lib/libmptk.dylib] Error 1
make[1]: *** [src/libmptk/CMakeFiles/mptk.dir/all] Error 2
make: *** [all] Error 2

The 'Linking CXX' is highlighted in color. I am mainly a MATLAB users and am not used to troubleshooting compilation problems; any tips or ideas? Thanks,

Ryan Canolty