Board index FlightGear Support Compiling

SOurce code for debug mode

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

SOurce code for debug mode

Postby sakthi » Wed Jan 16, 2013 3:48 am


The source code that is available in internet for flight gear works in release mode.But if i want to modify the code i.e if i want to run the code in debug mode its not working properly..Is der any possibilty to get the debug code or is der any license for it??I want debug code for flight gear so that i can modify it..Please help
Posts: 5
Joined: Thu Jan 03, 2013 4:06 am

Re: SOurce code

Postby zakalawe » Wed Jan 16, 2013 8:34 am

There is only source code - if you have the code, you have everything. Ig debug mode doens't work for you, you have some problem with your compile or build setup.
Posts: 1169
Joined: Sat Jul 19, 2008 4:48 pm
Location: Edinburgh, Scotland
Callsign: G-ZKLW
Version: next
OS: Mac

Re: SOurce code for debug mode

Postby Hooray » Mon Feb 04, 2013 8:24 am

As was said, there's only a single source code version. You need to tweak the cmake build settings to produce a binary with debugging support/symbols enabled using -DCMAKE_BUILD_TYPE=DEBUG or RelWithDebInfo (for an optimized release with debugging support). ... TYPE+debug ... submit.y=0
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,
Help write next month's newsletter !
pui2canvas | MapStructure | Canvas Development | Programming resources
Posts: 12059
Joined: Tue Mar 25, 2008 8:40 am

Return to Compiling

Who is online

Users browsing this forum: No registered users and 1 guest