Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] How to configure? (Ubuntu+EclipseCDT+CGAL+QT4)

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] How to configure? (Ubuntu+EclipseCDT+CGAL+QT4)


Chronological Thread 
  • From: Amy Tabb <>
  • To:
  • Subject: Re: [cgal-discuss] How to configure? (Ubuntu+EclipseCDT+CGAL+QT4)
  • Date: Tue, 06 Oct 2009 09:15:22 -0400

Hello Samay,

I use Eclipse (Galileo) on an 64 bit machine running Ubuntu 9.04 with CGAL 3.4. I don't use QT, so I won't be able to help you there. First, go through the installation process in the manual (http://www.cgal.org/Manual/3.4/doc_html/installation_manual/Chapter_installation_manual.html). You DO have to perform the commands detailed there with the cmake-gui (section 4.1), but that doesn't mean that your projects have to use CMake.

Here's my settings:

1. Turn the indexer off or on very low settings (Indexer is found under Project properties, C/C++ General, Indexer. You can choose project specific settings so that all of the projects in your workspace can have different settings). Eclipse will try to index all of CGAL's include files and this results in an out of memory error, and quickly, Eclipse crashes. Before you start adding files to a project is a good time to adjust these indexer settings.

2. Under Project "Properties," then C/C++ Build, then Settings:
a. Under C++ Compiler, Directories: /usr/local/cgal (or wherever you installed cgal, this is the default)
b. Under C++ Compiler, Miscellaneous: -frounding-math (More on why we need this can be found in multiple listserv messages)
c. Under C++ Linker, libraries, then Libraries (-l): CGAL
d. Under C++ Linker, libraries, then Library search path (-L): /usr/local/lib (you should find libCGAL.so there)

Best,
Amy

Samay Kumar wrote:
*** Sorry, for multiple copies ***

Hello Friends,

I want to know if any of can help configuring new C++ project on Eclipse CDT (on Ubuntu 32 bit machine) using QT4 and CGAL libraries. I read some stuff about CMake but as of I am new bee, I will prefer to use Eclipse IDE. Any help would be helpful.

Greetings,
Samay

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com


--
Amy Tabb
PhD candidate
Robot Vision Laboratory
Electrical and Computer Engineering Department
465 Northwestern Avenue
West Lafayette, Indiana 47907-2035




Archive powered by MHonArc 2.6.16.

Top of Page