Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > C Programming > Eclipse CDT, cygwin and linking problems

Thread Tools

Eclipse CDT, cygwin and linking problems
Posts: n/a
On Jan 15, 8:27*am, "Gotch@" <(E-Mail Removed)> wrote:
> Hi all,
> I've installed the CDT plugin for Eclipse and I want to use it to work
> on C/C++ projects under Cygwin. It works, in fact it compiles and runs
> the usual helloworld c++ program. Now it comes difficult when I try to
> add external libs. Such as... GTK. Let's explain what I tried. (oh
> well, I'm using Eclipse Europa 3.3.1 and CDT 4.0.1). First I just
> added the path of the cygwin includes throug the project->properties->C/C++ General->Paths and Symbols window. I added in Includes under
> GNU C the path to the gtk-2.0 includes in cygwin/usr/include/gtk-2.0
> folder. No effect. It says that it couldn't find gtk/gtk.h . So, since
> it's a C++ project, I tried to add them under GNU C++. As a result the
> compiler starts putting out messages about every header in the library
> compelling that ISO C forbids this and that...
> Let's note that my include is
> #include <gtk/gtk.h> but i get the same results with <gtk.h> and "gtk/
> gtk.h".
> I don't get it, but I'd like to use eclipse to devlop in C/C++ because
> of positive Java experiences.
> Do you have any ideas, most tutorials on the topic are outdated and
> the old CDT is quite different, especially regarding the project
> types.

find out product of two matrix
Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
GCC Cygwin C++ DLL linking problem Sam Tiny C++ 2 03-16-2005 07:30 PM
confirm unsubscribe from Python 0 09-05-2003 04:42 PM
WELCOME to Python 1 09-05-2003 07:46 AM
confirm unsubscribe from Python 0 09-05-2003 01:29 AM
confirm unsubscribe from Python 0 09-04-2003 06:34 PM