your opinion: eclipse vs anjunta vs kdevelop vs younameit for large C++ OpenGL app
ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hard to tell. I have seen that kind of message when a class declaration had a wrong brace.
Hmmm. Well, in this case:
#1: My code contains zero classes (yes, it is C++, but more like C code written in C++ to take advantage of a few minor syntax conveniences). Also, I do not #include any object-oriented libraries. The only external libraries I include are standard C libraries (not C++ libraries), xlib (XWindows lowest level library), GLX (part of XWindows to support efficient OpenGL).
#2: My code compiled and ran before I upgraded to the new Java and made sure everything was configured correctly with galternatives. This problem appeared after doing the above, with zero lines of my code changed. I also re-installed / upgraded a couple core packages that you (or one of the other software packages) told me to. I think those were called "build-essential" and "lib32".
I'm not sure what you mean by "the way your files are organized in /usr/include". None of my files are in directory "/usr/include/". All my files are in "/home/max/workspace/ice" and "/home/max/workspace/ig" (the main project directory).
So I'm thinking something about the new configuration or updated packages is probably the cause. I just have no idea what. Any ideas?
Last edited by maxreason; 08-16-2008 at 07:26 PM.
Reason: add one point
I can't really see how upgrading java could get in the way of a c++ project as all it does it drive the GUI. It seems more likely that upgrading build-essential has something to do with it. Maybe it installed a different c++ compiler (g++)?
By the way, have you checked project > Properties? If g++ was upgraded, it may have changed one or more settings.
I can't really see how upgrading java could get in the way of a c++ project as all it does it drive the GUI. It seems more likely that upgrading build-essential has something to do with it. Maybe it installed a different c++ compiler (g++)?
By the way, have you checked project > Properties? If g++ was upgraded, it may have changed one or more settings.
Yup, the project properties look the same as they were. Also, I doubt a new g++ compiler could change the property settings stored inside a project managed by eclipse!
No, it wouldn't but I was referring to system settings/variables. Still, this is such a strange case that I don't know what to think. Have you tried switching galternatives back to gcj? That would place you back where you started out from but at least it would show whether it is the java upgrade that is to blame or not.
Last edited by jay73; 08-18-2008 at 07:38 PM.
Reason: typo
I changed them all back, but it made no obvious difference. So I changed them back to the more recent release again. Still no difference. Unfortunately, it appears I will need to completely reinstall everything from scratch again, probably including ubuntu (just to be safe). Unfortunately, I don't think I wrote down every step that I've taken - though at least the ideas on this forum are still here to refer to. Sigh. I so need to return to developing my application! Boo hoo, but that's life. Oh, I created a new small, barely larger than "hello world" project that includes the <time.h> file - and it doesn't work either. That's what convinced me it is time for serious action (as in clean install of everything). BackToTheFuture IV.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.