Board index FlightGear Support Compiling

Build in Eclipse on Ubuntu

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

Build in Eclipse on Ubuntu

Postby edroberts1943 » Thu Nov 03, 2016 3:28 am

Can anyone tell me how to build flightgear under eclipse with CDT? I am using ubuntu.

I can get flightsim to build but not flightgear.

Thanks
edroberts1943
 
Posts: 30
Joined: Sun Sep 11, 2016 9:08 pm
Location: Poquoson, Virginia, USA
Callsign: N9991W

Re: Build in Eclipse on Ubuntu

Postby Parnikkapore » Thu Nov 03, 2016 12:13 pm

By "flightsim" did you mean "SimGear"?
There are free alternatives to (almost) every program you encounter. You just have to find them.
Parnikkapore
 
Posts: 929
Joined: Thu Oct 29, 2015 11:16 am
Callsign: HS-FGS
Version: next
OS: Kubuntu

Re: Build in Eclipse on Ubuntu

Postby Hooray » Thu Nov 03, 2016 9:58 pm

My suggestion would be to refer to the NetBeans instructions (wiki) and rework/adapt those according to Eclipse - if in doubt, you could also document your whole journey by using the NetBeans wiki article as a template for creating a new tutorial specifically targeting Eclipse. At that point, you may also get more people interested, and involved, in helping with this, even if just by posting the corresponding screenshots and reviewing your instructions
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: Build in Eclipse on Ubuntu

Postby edroberts1943 » Thu Nov 03, 2016 10:20 pm

Yes, I meant "simgear" not "flightsim".

If I do get Eclipse to compile the program I will document it as suggested. I was in hope that some had already blazed that trail.

It is a little premature to make any commitments, but my thoughts are that I would like to pursue some work with HLA and/or sim state capture and restore capability. I am just getting started with flightgear and obviously have a lot to learn.

Thanks,
Ed Roberts
edroberts1943
 
Posts: 30
Joined: Sun Sep 11, 2016 9:08 pm
Location: Poquoson, Virginia, USA
Callsign: N9991W

Re: Build in Eclipse on Ubuntu

Postby Hooray » Fri Nov 04, 2016 9:58 pm

edroberts1943 wrote in Thu Nov 03, 2016 10:20 pm:If I do get Eclipse to compile the program I will document it as suggested. I was in hope that some had already blazed that trail.


Assuming that you know C++ and the corresponding IDE (Eclipse in this case), it should be too difficult to work with the NetBeans instructions and treat them as a template for coming up with a corresponding Eclipse equivalent: http://wiki.flightgear.org/Howto:Build_ ... sing_CMake

The main thing to keep in mind is that OSG, SG and FG are all using cmake meanwhile - so all you need is a corresponding workspace, which cmake can create automatically.
It's not exactly rocket science, as long as you are willing to document the whole journey, I am sure that there are people around here who can walk you through the whole thing.

It is a little premature to make any commitments, but my thoughts are that I would like to pursue some work with HLA and/or sim state capture and restore capability. I am just getting started with flightgear and obviously have a lot to learn.


See:

http://wiki.flightgear.org/High-Level_Architecture
http://wiki.flightgear.org/Reset_%26_re-init
http://wiki.flightgear.org/Instant_Replay
http://wiki.flightgear.org/FlightGear_Sessions


(Note that Thorsten has the most recent experience developing an aircraft/FDM with built-in support for saving/resuming flights)
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


Return to Compiling

Who is online

Users browsing this forum: No registered users and 2 guests