FreeOrion

Forums for the FreeOrion project
It is currently Sun May 26, 2013 6:50 am

All times are UTC




Post new topic Reply to topic  [ 34 posts ]  Go to page Previous  1, 2, 3  Next
Author Message
 Post subject: Re: Don't Know What's Wrong (?) Please Help! :D
PostPosted: Sat Sep 04, 2010 11:02 am 
Offline
Space Floater

Joined: Thu Sep 02, 2010 2:46 am
Posts: 25
Hi,

Well, I did it, unpacked the 0.3.15 from the download folder to the game folder (/home/david/Games/freeorion...), installed from there using ./setup.sh in regular terminal (not root/su) and installed to bin paths, (sudo) cp (copied) the freeorion*.dbg files (debug symbol files) to /usr/local/games/freeorion/application folder, ran gdb --args freeorion from that location, and then ran ./freeorion --strace from the main freeorion folder (down one), and I've attached three files here (compressed the freeorion.trace file since it was 16mb for the next post). IT STILL DOESN'T WORK! I've invested a lot of time and energy into this little project, so I'd like a little reciprocation for my efforts. Please, PROGRAMMERS/DEVS, take a look and tell me exactly what I need to do in order to get this working properly?! Thank you! :D

-David


Attachments:
gdb.log [3.39 KiB]
Downloaded 11 times
ogre.log [14.88 KiB]
Downloaded 12 times
freeorion.log [984 Bytes]
Downloaded 15 times
Top
 Profile  
 
 Post subject: Re: Don't Know What's Wrong (?) Please Help! :D
PostPosted: Sat Sep 04, 2010 11:08 am 
Offline
Space Floater

Joined: Thu Sep 02, 2010 2:46 am
Posts: 25
Never mind, the freeorion.trace.zip file is slightly over 900k, so it still can't be uploaded :( (I could e-mail it to one of the programmers upon request). Hope the above files are enough.


Top
 Profile  
 
 Post subject: Re: Don't Know What's Wrong (?) Please Help! :D
PostPosted: Sat Sep 04, 2010 2:45 pm 
Offline
Programming, Design, and De Facto Lead
User avatar

Joined: Wed Oct 08, 2003 1:33 am
Posts: 7899
Location: Vancouver, BC
From gdb.log, it appears you're getting crashing in OgreGUI.cpp on line 228:
Code:
glUseProgramARB(0);

Could you try commenting out lines 227 and 228, recompiling and trying again?
Code:
    //if (glUseProgramARB)
    //    glUseProgramARB(0);

(There are a few other posts on the forums about this gl call as well. Searching for it should fine them)


Top
 Profile  
 
 Post subject: Re: Don't Know What's Wrong (?) Please Help! :D
PostPosted: Sat Sep 04, 2010 10:06 pm 
Offline
Space Floater

Joined: Thu Sep 02, 2010 2:46 am
Posts: 25
Geoff the Medio wrote:
From gdb.log, it appears you're getting crashing in OgreGUI.cpp on line 228:
Code:
glUseProgramARB(0);

Could you try commenting out lines 227 and 228, recompiling and trying again?
Code:
    //if (glUseProgramARB)
    //    glUseProgramARB(0);

(There are a few other posts on the forums about this gl call as well. Searching for it should fine them)


Hi,

Ok, I've commented out those line, but I'm still having issues linking my versions of boost, libboost, and libboost-dev (all 1.40) files to GG. Keep getting this to happen in scnons:

scons: Reading SConscript files ...

scons: warning: The Options class is deprecated; use the Variables class instead.
File "/home/david/Games/freeorion/FreeOrion/GG/SConstruct", line 23, in <module>

scons: warning: The BoolOption() function is deprecated; use the BoolVariable() function instead.
File "/home/david/Games/freeorion/FreeOrion/GG/SConstruct", line 26, in <module>
Checking for pkg-config... yes
Configuring for POSIX system...
Checking for C++ header file boost/shared_ptr.hpp... yes <- Ok, see??
Checking Boost version >= 1.36... (cached) yes <-Ditto!
Looking for boost lib boost_signals...
Checking for boost::signals::connection() in C++ library boost_signals... no <- I have ALL signal files! What the heck?
Checking for boost::signals::connection() in C++ library boost_signals-mt... no <-Ditto!
Boost configuration... (cached) no

of course when I try and use cmake. this is what happens:

david@ubuntu:~/Games/freeorion/FreeOrion/GG$ cmake .
-- Build platform: linux
-- Could NOT find Boost
CMake Error at CMakeLists.txt:166 (message): <- set(Boost_USE_STATIC_LIBS ${BUILD_STATIC}) <-what about the shared libraries, wouldn't those work instead?
Boost libraries not found. <-Why the heck not? <- Retarded computer, I swear!


-- Configuring incomplete, errors occurred! <- no shit dick tracey, but why exactly?


Is there something in CMakeLists.txt or FindBoost.cmake (in the cmake 2.8 folder for me, I know where it's at now) that can be changed to fix this since it cannot be voided or commented out? In compilers limbo again but I think I'm making a little progress. I'll try and find more clues in the other threads while I wait for help :D Remember, I'm using Linux, not Windows in case you've forgotten :D

-David


Top
 Profile  
 
 Post subject: Re: Don't Know What's Wrong (?) Please Help! :D
PostPosted: Sat Sep 04, 2010 10:52 pm 
Offline
Programming, Design, and De Facto Lead
User avatar

Joined: Wed Oct 08, 2003 1:33 am
Posts: 7899
Location: Vancouver, BC
I wouldn't bother with SCons. CMake is the "official" build system now.

dfm1974 wrote:
of course when I try and use cmake. this is what happens:

david@ubuntu:~/Games/freeorion/FreeOrion/GG$ cmake .
-- Build platform: linux
-- Could NOT find Boost
CMake Error at CMakeLists.txt:166 (message): <- set(Boost_USE_STATIC_LIBS ${BUILD_STATIC}) <-what about the shared libraries, wouldn't those work instead?
Boost libraries not found. <-Why the heck not? <- Retarded computer, I swear!

This is possibly the issue mentioned in my earlier post:
Geoff the Medio wrote:
Assuming you're using CMake to compile, you probably need to tell CMake FindBoost.cmake to look for the version you're using. I posted about this here recently, for some Win7 issues, but the Boost finding issue with CMake is presumably the same.


Quote:
Is there something in CMakeLists.txt or FindBoost.cmake (in the cmake 2.8 folder for me, I know where it's at now) that can be changed to fix this

Yes, in FindBoost.cmake. See above link.


Top
 Profile  
 
 Post subject: Re: Don't Know What's Wrong (?) Please Help! :D
PostPosted: Sat Sep 04, 2010 11:06 pm 
Offline
Space Floater

Joined: Thu Sep 02, 2010 2:46 am
Posts: 25
Geoff the Medio wrote:
I wouldn't bother with SCons. CMake is the "official" build system now.

dfm1974 wrote:
of course when I try and use cmake. this is what happens:

david@ubuntu:~/Games/freeorion/FreeOrion/GG$ cmake .
-- Build platform: linux
-- Could NOT find Boost
CMake Error at CMakeLists.txt:166 (message): <- set(Boost_USE_STATIC_LIBS ${BUILD_STATIC}) <-what about the shared libraries, wouldn't those work instead?
Boost libraries not found. <-Why the heck not? <- Retarded computer, I swear!

This is possibly the issue mentioned in my earlier post:
Geoff the Medio wrote:
Assuming you're using CMake to compile, you probably need to tell CMake FindBoost.cmake to look for the version you're using. I posted about this here recently, for some Win7 issues, but the Boost finding issue with CMake is presumably the same.


Quote:
Is there something in CMakeLists.txt or FindBoost.cmake (in the cmake 2.8 folder for me, I know where it's at now) that can be changed to fix this

Yes, in FindBoost.cmake. See above link.



I know, but those are all comments- what parts do you uncomment? I'm not much on programming, sorry.


Top
 Profile  
 
 Post subject: Re: Don't Know What's Wrong (?) Please Help! :D
PostPosted: Sat Sep 04, 2010 11:08 pm 
Offline
Programming, Design, and De Facto Lead
User avatar

Joined: Wed Oct 08, 2003 1:33 am
Posts: 7899
Location: Vancouver, BC
dfm1974 wrote:
I know, but those are all comments- what parts do you uncomment? I'm not much on programming, sorry.

You don't uncomment anything... you read the comments and add the line as it instructs you.

I haven't done this myself, and don't know very much about CMake scripting, so I'm not sure if it needs to be added to the FreeOrion CMakeLists.txt or added to the FindBoost.cmake.


Top
 Profile  
 
 Post subject: Re: Don't Know What's Wrong (?) Please Help! :D
PostPosted: Sat Sep 04, 2010 11:31 pm 
Offline
Space Floater

Joined: Thu Sep 02, 2010 2:46 am
Posts: 25
Geoff the Medio wrote:
dfm1974 wrote:
I know, but those are all comments- what parts do you uncomment? I'm not much on programming, sorry.

You don't uncomment anything... you read the comments and add the line as it instructs you.

I haven't done this myself, and don't know very much about CMake scripting, so I'm not sure if it needs to be added to the FreeOrion CMakeLists.txt or added to the FindBoost.cmake.


It's in FindBoost.cmake in the cmake directory, however, changing the version numbers does absolutely nothing, it still doesn't find the boost signal files for some odd reason and this is why it doesn't work and what I'm talking about. Has anyone else had this same issue or no?


Top
 Profile  
 
 Post subject: Re: Don't Know What's Wrong (?) Please Help! :D
PostPosted: Sat Sep 04, 2010 11:51 pm 
Offline
Space Floater

Joined: Thu Sep 02, 2010 2:46 am
Posts: 25
Lost cause I guess...LOL! :D


Top
 Profile  
 
 Post subject: Re: Don't Know What's Wrong (?) Please Help! :D
PostPosted: Sat Sep 04, 2010 11:53 pm 
Offline
Programming, Design, and De Facto Lead
User avatar

Joined: Wed Oct 08, 2003 1:33 am
Posts: 7899
Location: Vancouver, BC
dfm1974 wrote:
It's in FindBoost.cmake in the cmake directory, however, changing the version numbers does absolutely nothing, it still doesn't find the boost signal files for some odd reason and this is why it doesn't work and what I'm talking about.

OK, try putting it in the FreeOrion or GiGi CMakeLists.txt then... This sort of thing requires experience, trial and error, luck, or a combination thereof.

Quote:
Has anyone else had this same issue or no?

Yes, which is why I had that other thread to link to. I don't know if it's been resolved successfully, though...


Top
 Profile  
 
 Post subject: Re: Don't Know What's Wrong (?) Please Help! :D
PostPosted: Tue Sep 07, 2010 12:06 am 
Offline
Space Floater

Joined: Thu Sep 02, 2010 2:46 am
Posts: 25
Well,

Build, compile, and installation (with all the possible above suggestions implemented) = FAIL :(
Download and direct install from http://freeorion.psitronic.de/download/ = FAIL :(

Could someone using Ubuntu please tell me if they have a working version of FreeOrion 0.3.15 (or a recent version from this year), what OS version do you have (like Jaunty, Karmic, Lucid, or Maverick Beta), which version of the FO and its' libraries (OpenGL, Ogre3D, and Boost especially) do you have installed. Details folk, please, details! I'd like to get this thing to work but have failed miserably :( I even went as far as to downgrade my OS back to Karmic! I'm looking for people :D

-David


Top
 Profile  
 
 Post subject: Re: Don't Know What's Wrong (?) Please Help! :D
PostPosted: Tue Sep 07, 2010 12:17 am 
Offline
Programming, Design, and De Facto Lead
User avatar

Joined: Wed Oct 08, 2003 1:33 am
Posts: 7899
Location: Vancouver, BC
dfm1974 wrote:
of course when I try and use cmake. this is what happens:

david@ubuntu:~/Games/freeorion/FreeOrion/GG$ cmake .
-- Build platform: linux
-- Could NOT find Boost
CMake Error at CMakeLists.txt:166 (message): <- set(Boost_USE_STATIC_LIBS ${BUILD_STATIC}) <-what about the shared libraries, wouldn't those work instead?
Boost libraries not found. <-Why the heck not? <- Retarded computer, I swear!


-- Configuring incomplete, errors occurred! <- no shit dick tracey, but why exactly?

Have you used cmake to build anything else ever? Did it work?

Did any of them use boost, and if so, did cmake find it without problems?

Do you have boost installed? The cmake boost finding stuff might be expecting something to be set up by boost being installed, so just having built boost or downloaded it without installing it wouldn't be enough.

Also, whenever I've used cmake on Linux, I've had to run "ccmake ." and set various options and point it towards dependencies. I don't now if it will automatically try to find them if you just run "cmake ." alone. You might need to use ccmake to specify the exact location where you have boost located.


Top
 Profile  
 
 Post subject: Re: Don't Know What's Wrong (?) Please Help! :D
PostPosted: Tue Sep 07, 2010 1:24 am 
Offline
Space Floater

Joined: Thu Sep 02, 2010 2:46 am
Posts: 25
Geoff the Medio wrote:
dfm1974 wrote:
of course when I try and use cmake. this is what happens:

david@ubuntu:~/Games/freeorion/FreeOrion/GG$ cmake .
-- Build platform: linux
-- Could NOT find Boost
CMake Error at CMakeLists.txt:166 (message): <- set(Boost_USE_STATIC_LIBS ${BUILD_STATIC}) <-what about the shared libraries, wouldn't those work instead?
Boost libraries not found. <-Why the heck not? <- Retarded computer, I swear!


-- Configuring incomplete, errors occurred! <- no shit dick tracey, but why exactly?

Have you used cmake to build anything else ever? Did it work?

Did any of them use boost, and if so, did cmake find it without problems?

Do you have boost installed? The cmake boost finding stuff might be expecting something to be set up by boost being installed, so just having built boost or downloaded it without installing it wouldn't be enough.

Also, whenever I've used cmake on Linux, I've had to run "ccmake ." and set various options and point it towards dependencies. I don't now if it will automatically try to find them if you just run "cmake ." alone. You might need to use ccmake to specify the exact location where you have boost located.


Hi,

That's not the issue anymore. cmake worked perfectly even without directory specifications (I fixed the problem with FindBoost.cmake and FindOgre.cmake) I got GG to build with ogre and compile just fine, and I know the difference between a download and installation. Yes, Boost was installed (using the appropriate configurations with ./bjam --), otherwise I wouldn't have been able to compile and install GG before compiling and installing FO. I finally got FO to compile all the way, thus allowing me to install it, but it still doesn't work. Some darn font issue now. I have every known freetype library in Ubuntu existence downloaded including all the different languages and symbol font installed (way before I did any building, compiling, and installing of anything else), so that really can't be it either. If it isn't one thing, it's another, and I'm really getting sick and tired of dealing with them. I'm looking for people now that have actual working versions of FO in Ubuntu and how they did it and what versions of FO and its' respective libraries do they have installed and so forth so I don't have to go through this same headache. Is that so hard to ask?

Since FO is free, I can't ask or make demands, just looking for help. If I was a programmer, I would try and rewrite some of the builds/libraries, test them and if they worked, I would post them in this section (Support) as patches. I was hoping someone would do that, but I guess that would be asking too much LOL. Anyways, I'm through with the building, compiling, and installing aspect of FO since I've tried just about everything, and I'm curious as to what others have to say about their working version of FO if anyone is willing to post it here or on the General thread. That's why I think barely anyone has a working version in Ubuntu x86/i386. I would be surprised other than Ivan (mandrak3) has one working at all...so the verdict is out...who with Ubuntu x86 has a working version of FO at all, beside Ivan? Inquiring minds like myself would like to know...:D

I don't want you programmer guys to think I'm being insensitive or a jerk about the FO not working for me, although frustrating, because you've all put so much time and energy into making this a work in progress as it will be until an actual 1.0 release comes to be. I totally respect that, and if I can't for some odd reason ever get FO to work, then it's really my fault and loss, not yours.

-David

P.S.- I've really been following the FO project for 2 years now, even posted to this forum (as hedgehog I believe, but I lost my password and no long have access to my old e-mail since I've changed IP services, drama drama drama LOL), however, it wasn't until recently that I've had issues with FO. I'm hoping to get back on track, perhaps I'll have to wait for a newer version of FO. I'll be checking back more frequently :D


Top
 Profile  
 
 Post subject: Re: Don't Know What's Wrong (?) Please Help! :D
PostPosted: Tue Sep 07, 2010 6:20 pm 
Offline
Programming, Design, and De Facto Lead
User avatar

Joined: Wed Oct 08, 2003 1:33 am
Posts: 7899
Location: Vancouver, BC
There aren't that many people routinely building FreeOrion, particularly on Linux, particularly on your specific distribution and version, so you might not have much luck waiting for someone else to explain what their setup is.

It would be helpful if you'd elaborate on "Some darn font issue" so we can try to figure out what the problem is and/or how to fix it. I can understand if you're tired of trying unsuccessfully to get it to work, though. The fact that you got it built and linked and installed is quite encouraging though, and I'm surprised you'd give up *after* dealing with all that...


Top
 Profile  
 
 Post subject: Re: Don't Know What's Wrong (?) Please Help! :D
PostPosted: Tue Sep 07, 2010 8:42 pm 
Offline
Space Floater

Joined: Thu Sep 02, 2010 2:46 am
Posts: 25
Geoff the Medio wrote:
There aren't that many people routinely building FreeOrion, particularly on Linux, particularly on your specific distribution and version, so you might not have much luck waiting for someone else to explain what their setup is.

It would be helpful if you'd elaborate on "Some darn font issue" so we can try to figure out what the problem is and/or how to fix it. I can understand if you're tired of trying unsuccessfully to get it to work, though. The fact that you got it built and linked and installed is quite encouraging though, and I'm surprised you'd give up *after* dealing with all that...


Had something to do with the "DejaVu.tff" font files not being where they were supposed to be or something, but they were. I even searched the forum and found dozens of posts on the subject and how to fix the issue, however, none of the fixes worked, so that's when I started feeling hopeless about it, thus the giving up attitude. I may try doing a comparison of the revision 3576 (the one that actually works without messing with it straight out of the box so to speak) and the newer revision 3726, both the pre-compiled (from http://freeorion.psitronic.de/download/) and the source from svn to see if there's something I can implement to get it to work. I haven't given up completely, I'm just taking a break on trying to fix it for now. If and when I find a definitive solution to these enigmatic issues, I will no doubt post it here or even start a new thread describing the various issues starting out with compiling, how to fix those, to the font issues and so forth. This is a learning process, no doubt :D Who knows, I might learn a thing or two about programming during this process :D


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 34 posts ]  Go to page Previous  1, 2, 3  Next

All times are UTC


Who is online

Users browsing this forum: AhrefsBot and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group