LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 08-16-2008, 06:36 PM   #16
maxreason
Member
 
Registered: Dec 2007
Location: phobos, mars
Distribution: 64-bit linux mint v20
Posts: 259

Original Poster
Rep: Reputation: 17

Quote:
Originally Posted by jay73 View Post
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
 
Old 08-16-2008, 07:16 PM   #17
AceofSpades19
Senior Member
 
Registered: Feb 2007
Location: Chilliwack,BC.Canada
Distribution: Slackware64 -current
Posts: 2,079

Rep: Reputation: 58
what no emacs?
you can't talk about IDEs without mentioning emacs
 
Old 08-16-2008, 09:28 PM   #18
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 133Reputation: 133
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.
 
Old 08-17-2008, 12:33 AM   #19
maxreason
Member
 
Registered: Dec 2007
Location: phobos, mars
Distribution: 64-bit linux mint v20
Posts: 259

Original Poster
Rep: Reputation: 17
Quote:
Originally Posted by jay73 View Post
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!
 
Old 08-17-2008, 07:36 PM   #20
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 133Reputation: 133
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
 
Old 08-20-2008, 07:16 AM   #21
maxreason
Member
 
Registered: Dec 2007
Location: phobos, mars
Distribution: 64-bit linux mint v20
Posts: 259

Original Poster
Rep: Reputation: 17
BackToTheFuture IV

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.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
best distribution for me - for C/C++ 3D OpenGL GLSL [eclipse IDE/CDT] maxreason Linux - General 47 08-23-2008 08:20 PM
LXer: Opinion : XGL- An Xserver framework based on OpenGL LXer Syndicated Linux News 0 02-11-2006 01:01 AM
Your Opinion on KDevelop Cyb3rKnyght Linux - Software 1 12-12-2004 03:44 AM
probs with compiling kdevelop app joeman3429 Programming 1 08-27-2004 07:41 PM
what app to use for large download Lindy Linux - Software 5 12-15-2003 10:48 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 06:29 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration