Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss] Integrating working installation in Xcode

Subject: CGAL users discussion list

List archive

[cgal-discuss] Integrating working installation in Xcode


Chronological Thread 
  • From: Nikolas Engelhard <>
  • To: "" <>
  • Subject: [cgal-discuss] Integrating working installation in Xcode
  • Date: Tue, 8 Dec 2009 17:47:11 +0100


Hello

I know that this topic was discussed quite often, but I guess the solution is not that hard.
I have no problems using CGAL outside of Xcode, so the installation should be okay.

For smaller programs (only one file) I use a little make-file like:
>
solution.out : intersection.cpp
c++ -L /Users/Shared/CGAL-3.2.1/lib/i386_Darwin-9.8_g++-4.0.1/ libCGAL.a -wall intersection.cpp -o solution
>

In this case I have tested some calls of intersection() since I want to simulate a laserscanner and need some basic
raytracing.

I'm quite sure that the solution consists of putting some of the CGAL- Folders in the fitting search-path in Xcode but
unfortunately I'm not too good at this tasks and hope that someone could just give me some hints or just a
screenshot of the parameters.

Nikolas








// my .bash_profile (at least the interessting lines)

C_LIBRARY_PATH="/Users/Shared/CGAL-3.2.1/lib/i386_Darwin-9.8_g++-4.0.1/ libCGAL.a"
export C_LIBRARY_PATH

CPATH="/usr/local/boost_1_40_0"
CPATH=$CPATH:/usr/local/bin/
CPATH=$CPATH:/Users/Shared/CGAL-3.2.1/include/
export CPATH

PATH="/Library/Frameworks/Python.framework/Versions/Current/bin:${PATH}"
PATH=/usr/local/bin:$PATH # letzte Aenderung an Path
PATH=$PATH:/opt/local/bin
PATH=$PATH:/usr/local/ # fuer boost graph library
PATH=$PATH:/usr/local/boost_1_40_0/
PATH=$PATH:/usr/local/boost_1_40_0/boost
export PATH=$PATH:/usr/local/lib

export LIBRARY_PATH="/usr/local/boost_1_40_0/"






Archive powered by MHonArc 2.6.16.

Top of Page