as part of my current project, I need to use the cgal library.
therefore, i installed macports and used a command line to install the cgal files.
i have under /opt/local/include/cgal/ a bunch of headers and some lib files under /opt/local/lib/
i took a demo main.cpp, with just includes of some headers and a short main with "hello" print line.
i added the include/cgal and local/lib/ as build path headers in my project settings under xcode:
http://i47.tinypic.com/16iuzhg.jpg
afterwards i compiled the code from an example, but removed the main to a simple print, just to see if i can compile it successfuly, so i used this code:
http://i48.tinypic.com/2ca5xw.jpg
it seems the build settings did help, but i still got this:
http://i49.tinypic.com/ipp1ro.jpg
Im not sure what i did wrong and how to treat this issue.
therefore, i installed macports and used a command line to install the cgal files.
i have under /opt/local/include/cgal/ a bunch of headers and some lib files under /opt/local/lib/
i took a demo main.cpp, with just includes of some headers and a short main with "hello" print line.
i added the include/cgal and local/lib/ as build path headers in my project settings under xcode:
http://i47.tinypic.com/16iuzhg.jpg
afterwards i compiled the code from an example, but removed the main to a simple print, just to see if i can compile it successfuly, so i used this code:
http://i48.tinypic.com/2ca5xw.jpg
it seems the build settings did help, but i still got this:
http://i49.tinypic.com/ipp1ro.jpg
Im not sure what i did wrong and how to treat this issue.