Board index FlightGear Support Compiling

Compiled changes don't take effect?  Topic is solved

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

Re: Compiled changes don't take effect?

Postby Philosopher » Thu Feb 27, 2014 2:31 am

https://gitorious.org/fg/philosophers-s ... asal.h#L21

anyways, back to the main problemo: fgfs isn't installing into ~/local :P. Still isn't!

Wait... I think it's going to ~/local/fgfs.app now... so weird. Git blame of the offender:
Code: Select all
7bc7197f (James Turner         2014-02-14 18:58:36 +0000 147) if (APPLE) 
7bc7197f (James Turner         2014-02-14 18:58:36 +0000 148)     install(TARGETS fgfs BUNDLE DESTINATION .)
7bc7197f (James Turner         2014-02-14 18:58:36 +0000 149) else()
7bc7197f (James Turner         2014-02-14 18:58:36 +0000 150)     install(TARGETS fgfs RUNTIME DESTINATION bin)
7bc7197f (James Turner         2014-02-14 18:58:36 +0000 151) endif()

So I think I need to change where I type "fgfs"!
Philosopher
 
Posts: 1593
Joined: Sun Aug 12, 2012 7:29 pm

Re: Compiled changes don't take effect?

Postby Hooray » Thu Feb 27, 2014 2:32 am

so it's your fellow mac dude who's to blame then ...
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: 12707
Joined: Tue Mar 25, 2008 9:40 am
Pronouns: THOU

Re: Compiled changes don't take effect?  

Postby Philosopher » Thu Feb 27, 2014 2:38 am

apparently... but:

Code: Select all
./fgfs --aircraft=ufo --airport=KSMF
dyld: Library not loaded: libosgText.100.dylib
  Referenced from: /Users/philosopher/local/fgfs.app/Contents/MacOS/./fgfs
  Reason: image not found
Trace/BPT trap: 5


Time to remove those system libraries methinks. FWIW: fumbling with LD_LIBRARY_PATH= did nothing (dunno what it does).

Edit: Haha, victor sum. Your old advice works (from viewtopic.php?f=45&t=21591#p196638):
Code: Select all
DYLD_LIBRARY_PATH=/Users/philosopher/local/lib ./fgfs
Enabling ATI viewport hack
Starting automatic scenery download/synchronization. Using built-in SVN support. Directory: '/Users/philosopher/Library/Application Support/FlightGear/TerraSync'.
Philosopher
 
Posts: 1593
Joined: Sun Aug 12, 2012 7:29 pm

Re: Compiled changes don't take effect?

Postby Hooray » Thu Feb 27, 2014 3:18 pm

ok, glad to see it's working - but I'd still try to get rid of the system-wide OSG install, I think Thorsten ran into a similar issue a few days ago - our way of using cmake seems to be conflicting with stuff installed system-wide

regarding DLYD.... it's an env variable that tells the program where to look for libraries it cannot find otherwise
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: 12707
Joined: Tue Mar 25, 2008 9:40 am
Pronouns: THOU

Previous

Return to Compiling

Who is online

Users browsing this forum: No registered users and 5 guests