Board index FlightGear Support Compiling

Flightgear source code terminates in GLExtension.cpp

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

Re: Flightgear source code terminates in GLExtension.cpp

Postby sathish » Tue Sep 18, 2018 11:43 am

Hi...
You are confusing me!

I have downloaded OSG, SG and FG from the respective repository with the compatible version of flightgear 2017.3.1 (as mentioned in the flightgear forum)and i am not changing the OSG code. I just included OSG and SG code as the part of flightgear project and trying to build all together and i dont want to use QT so i removed QT related files . so when i am trying to run the code it is terminating saying segmentation fault at extensionSet.insert() at extension.cpp file.

Below are the links for the reference snaps
https://drive.google.com/open?id=1oLIDw ... xS2lIXGSMa (debugged info)
https://drive.google.com/open?id=1dte9m ... WZkLOrq5SL (console output)
https://drive.google.com/open?id=1hwSDg ... pm_COhoKAV (code termination point)
sathish
 
Posts: 43
Joined: Tue Mar 13, 2018 1:51 pm

Re: Flightgear source code terminates in GLExtension.cpp

Postby sathish » Tue Sep 18, 2018 1:23 pm

Hi...
You are confusing me!

I have downloaded OSG, SG and FG from the respective repository with the compatible version of flightgear 2017.3.1 (as mentioned in the flightgear forum)and i am not changing the OSG code. I just included OSG and SG code as the part of flightgear project and trying to build all together and i dont want to use QT so i removed QT related files . so when i am trying to run the code it is terminating saying segmentation fault at extensionSet.insert() at extension.cpp file.

Below are the links for the reference snaps
https://drive.google.com/open?id=1oLIDw ... xS2lIXGSMa (debugged info)
https://drive.google.com/open?id=1dte9m ... WZkLOrq5SL (console output)
https://drive.google.com/open?id=1hwSDg ... pm_COhoKAV (code termination point)

Note: I am able to run the fgfs exe and can able to fly keeping in ufo aircraft....only with source code is the problem
sathish
 
Posts: 43
Joined: Tue Mar 13, 2018 1:51 pm

Re: Flightgear source code terminates in GLExtension.cpp

Postby Hooray » Fri Sep 21, 2018 4:11 pm

Not sure if I understood correctly - but if the release works for you, whereas the custom-built binary doesn't work, it's probably related to a dependency/driver issue, i.e. you are running into a problem at runtime and not at build time, whereas the issue I referred to would occur while building fgfs.

What you seem to be seeing is a problem at runtime, given that the standard fgfs binary works, you could review the differences in terms of linked in dependencies.

But again, this is probably better discussed on the devel list
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 3 guests