Advertisement

Anjuta experts?

Started by September 10, 2002 04:00 PM
4 comments, last by stefu 22 years, 4 months ago
hi!! I try to build simple wxWindows application in Anjuta. In command line I do this: gcc test.cpp `wx-config --cppflags --libs --gl-libs` -o test But where can I put this ''wx-config'' in Anjuta? Thanks. ----------- RacingTreme - for fun multiplayer racing: http://users.utu.fi/stkibr Coming soon...
Settings->Commands

there are all the command lines for compiling & stuff...
Advertisement
Hmm, something must be wrong.
I added `wx-config --cppflags` to the Setting -> Command-> C++ -> Compile File and `wx-config --libs` to the Build File line.

Then first it compiled but didn't link. There wetre tons of undefined reference...
Weir thing is that this is the compile command:
c++ -DHAVE_CONFIG_H -I. -I. -I.. -Wall -Wimplicit -Wreturn-type -Wunused -Wswitch -Wcomment    -Wuninitialized -Wparentheses -Wtraditional -Wpointer-arith -Wmissing-prototypes    -O1     -g -c careditor.cpp  

It uses c++ but in Settings -> Command is written g++
It doesn't seem to care anything I put there.

And now I don't know what I did but it doesn't even compile (doesn't find wx headers).

Maybe gotta try kdevelop next.

-----------
RacingTreme - for fun multiplayer racing:
http://users.utu.fi/stkibr
Coming soon...

[Edit: Page width]


[edited by - Oluseyi on September 11, 2002 5:49:59 PM]
Ok, KDevelop is better (because it works)
Thanks.

-----------
RacingTreme - for fun multiplayer racing:
http://users.utu.fi/stkibr
Coming soon...
mmh... i also checked KDevelop, and i didn''t like it as much as anjuta... but that''s for everyone to decide individually...

i''m still looking for an IDE, where i can add files from different locations into my project (without having to copy them to my dir !) and create subfolders in the class/file view. that would bring much more structure into my project... (as it works in MS-VC6).
that would be REALLY great !
quote: Original post by stefu

It uses c++ but in Settings -> Command is written g++
It doesn''t seem to care anything I put there.



c++ is just a symbolic link to g++. In other words, they are the exact same program.








find your element
at mutedfaith.com.
<º>


Cyberdrek

[Cyberdrek | ]

This topic is closed to new replies.

Advertisement