Board index FlightGear Support Compiling

Compile error with atlas or simgear

Building FlightGear from source, and in the need for help?

Compile error with atlas or simgear

Postby kuifje09 » Sun Jan 19, 2014 3:46 pm

When I try to recompile atlas then it gives me an error.
I recompile with download and compile version : VERSION="1.9-13"

Error :
/usr/bin/ld: cannot find -lsgmagvar
/usr/bin/ld: cannot find -lsgtiming
/usr/bin/ld: cannot find -lsgmisc
/usr/bin/ld: cannot find -lsgio
/usr/bin/ld: cannot find -lsgserial
/usr/bin/ld: cannot find -lsgdebug
/usr/bin/ld: cannot find -lsgbucket
/usr/bin/ld: cannot find -lsgstructure
/usr/bin/ld: cannot find -lsgmath
/usr/bin/ld: cannot find -lsgthreads


Simgear created only two archives for me : libSimGearCore.a libSimGearScene.a
But the contain the requested objects.
i.e.:
ar -tv libSimGearCore.a | grep magvar
rw-rw-r-- 1004/1004 2012 Jan 18 16:44 2014 magvar.cxx.o


Not quite sure if sgmagvar and magvar.cxx.o are the same... but what will I have to change to get it compiled.
Simgear is version 3.1.2 .../FG/install/
Last edited by kuifje09 on Thu Jan 30, 2014 1:21 pm, edited 1 time in total.
kuifje09
 
Posts: 579
Joined: Tue May 17, 2011 8:51 pm

Re: Compile error with atlas

Postby kuifje09 » Fri Jan 24, 2014 2:51 pm

Noone any idea?
Should it still be possible to build it anyway ?
kuifje09
 
Posts: 579
Joined: Tue May 17, 2011 8:51 pm

Re: Compile error with atlas

Postby Necolatis » Fri Jan 24, 2014 4:09 pm

This works really good, and easy to install:

viewtopic.php?f=6&t=3012
"Airplane travel is nature's way of making you look like your passport photo."
— Al Gore


Hangar: https://sites.google.com/site/fghangar/
User avatar
Necolatis
 
Posts: 1881
Joined: Mon Oct 29, 2012 12:40 am
Location: EKOD
Callsign: Leto
IRC name: Neco
Version: 2018.3.2
OS: Windows 10

Re: Compile error with atlas

Postby kuifje09 » Fri Jan 24, 2014 5:13 pm

Thats a great program. Very nice.
And caching .... saves a lot of time downloading maps.

But if someone still knows how to get Atlas compiled... would be nice.
Also had to wipe out some error in the FGFS source because of wrong string assignments.

Not string but std::string for example. ( in several sources )
Must be slipped through... but cant be compiled.

Even so for Atlas... I cannot figure out what is wrong. Simgear or Atlas ?

But thanks for the link to jMapView. ( Streetmaps , no satelite view . )
kuifje09
 
Posts: 579
Joined: Tue May 17, 2011 8:51 pm

Re: Compile error with atlas

Postby kuifje09 » Wed Jan 29, 2014 1:49 pm

Alright, did some tests. Loaded atlas simgear and openscenegraph and fgfs-base from the ubuntu package.
Then run Atlas. Which is okay then.

copied the executables atlas and map ( which is needed I think to create the maps, or are they downloaded from cvs in the newer version )

Then I removed all just installed stuff.

Now when I start atlas :

./Atlas: error while loading shared libraries: libsgmagvar.so.2.4.0: cannot open shared object file: No such file or directory
Atlas needs simgear modules from the simgear lib, which is not ( complete ) created whith download-and-compile.
( I know this version is wrong, but that is not the issue )

So it is clear to me, something is wrong in creating the simgear libs .... but what .
kuifje09
 
Posts: 579
Joined: Tue May 17, 2011 8:51 pm

Re: Compile error with atlas or simgear

Postby Hooray » Fri Jan 31, 2014 3:35 am

see the atlas subforum, historically, atlas hasn't built against latest SG head in many years - so it's worth keeping that in mind (note that I didn't read the whole thread)
Please don't send support requests by PM, instead post your questions on the forum so that all users can contribute and benefit
Thanks & all the best,
Hooray
Help write next month's newsletter !
pui2canvas | MapStructure | Canvas Development | Programming resources
Hooray
 
Posts: 11273
Joined: Tue Mar 25, 2008 8:40 am

Re: Compile error with atlas or simgear

Postby kuifje09 » Sat Feb 01, 2014 8:31 pm

Created new thread in the atlas thread.
kuifje09
 
Posts: 579
Joined: Tue May 17, 2011 8:51 pm


Return to Compiling

Who is online

Users browsing this forum: No registered users and 1 guest