Subject: CGAL users discussion list
List archive
- From: damian <>
- To:
- Subject: [cgal-discuss] Makefile confusion
- Date: Fri, 30 Sep 2011 07:00:34 -0700 (PDT)
Hello,
i am new to CGAL and not at all experienced with makefiles. i am running
ubuntu, use eclipse ganymede and have configured cgal correctly for small
projects, but projects using more than one file won't work. so maybe i just
describe how i usually configure my small projects and tell you the error
code for the big one and hopefully i'll get some suggestions on what to
change.
with my small projects, i edit and save my main.cpp-file and copy a
'CMakeLists.txt'-File from one of the example-folders right next to it. Then
I adjust the project's name and the source' filename in the txt-file.
after that i change to that directory and execute (it's quite mystical for
me) 'cmake -DCGAL_DIR=$HOME/CGAL_3.8' and 'make'. compiling the projects in
eclipse afterwards gives me an 'error code 2' but nonetheless the projects
are being built properly.
with a larger project, i get lots of '/usr/bin/ld:
/usr/lib/debug/usr/lib/i386-linux-gnu/crt1.o(.debug_info): relocation 16 has
invalid symbol index 14' errors. and i am quite confused, also because the
manual pages of cgal don't give me a clue what cmake is doing in the
background.
Can anyone help me with that?
Thanks!
Damian
--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/Makefile-confusion-tp3859878p3859878.html
Sent from the cgal-discuss mailing list archive at Nabble.com.
- [cgal-discuss] Makefile confusion, damian, 09/30/2011
- Re: [cgal-discuss] Makefile confusion, Laurent Rineau (GeometryFactory), 09/30/2011
- [cgal-discuss] Re: Makefile confusion, damian, 09/30/2011
- Re: [cgal-discuss] Makefile confusion, Laurent Rineau (GeometryFactory), 09/30/2011
Archive powered by MHonArc 2.6.16.