Skip to content
View in the app

A better way to browse. Learn more.

The AVSIM Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

compiling the code on MS VC6

Featured Replies

I downloaded all the code and necessary libraries to compile Flightsimmy version is FlightGear-0.9.10.I opene the workspace in VC6. Upon compiling the code I get the following error:f:programmingflightsimsimgearsimgearstructuresgsharedptr.hxx(55) : error C2535: '__thiscall SGSharedPtr::SGSharedPtr(const class SGSharedPtr &)' : member function already defined or declared f:programmingflightsimsimgearsimgearstructuresgsharedptr.hxx(52) : see declaration of 'SGSharedPtr::SGSharedPtr' f:programmingflightsimsimgearsimgearstructuresgsharedptr.hxx(97) : see reference to class template instantiation 'SGSharedPtr' being compiledHow I can solve this?Any help will be really appreciatedregardsViper

I was wondering, am I in the wrong forum.if so, can someone point out where can I get some answers on compiling the code Please?regardsviper

>I downloaded all the code and necessary libraries to compile>Flightsim>my version is FlightGear-0.9.10.what exactly are the "necessary libraries" that you downloaded and what versions are they?>I opene the workspace in VC6.do you have any service packs installed for VC6 (template support is lacking in vanilla VC6)?If so, which ones-if not, why not? ;-)And what compiler flags are you using?>Upon compiling the code I get>the following error:>f:programmingflightsimsimgearsimgearstructuresgsharedptr.hxx(55)>: error C2535: '__thiscall>SGSharedPtr::SGSharedPtr(const class SGSharedPtr &)'>: member function already defined or declaredeven if your compiler should be working correctly (which we cannot know currently): as long as we don't know to which version of SimGear you are referring, we are unable to check the corresponding source file, so I would recommend to either provide the file itself (in particular if you have modified it in any way!), including a date/checksum or simply tell us what version of SimGear you are trying to compile if it is unmodified. >How I can solve this?>>Any help will be really appreciatedI bet it will, nevertheless the majority of users here are not developers themselves, so they are unlikely to be able to provide support even if you had described your problem a bit better.In addition, this forum isn't officially supported by the FlightGear team, rather the absolute majority of users AND developers prefers using the FlightGear mailing lists: http://www.flightgear.org/mail.htmlSo, in case that you should find that you don't get sufficient support here to fix your problem, it's recommended to subscribe to the FG Devel mailing list in order to discuss everything over there. However, please note that people WILL appreciate a well-defined problem, including background information such as I the one I just asked you for.

thanks for the reply.OK, I got the following filesFlightGear-0.9.10freeGlut-2.4.0plib-1.8.4SimGear-0.3.10OpenAL11CoreSDKdecompressed and stored them in the following directory struct:ProgrammingflightgearprogrammingfreeGlutprogrammingplibprogrammingsimgearI opened the file programmingflightgearFlightGear.dsw in VC6my VC6 has service pack 6 installed.I haven't edited any file just compiled the workspace and here is the first error I get:=======================================================================programmingflightsimsimgearsimgearstructuresgsharedptr.hxx(55) : error C2535: '__thiscall SGSharedPtr::SGSharedPtr(const class SGSharedPtr &)' : member function already defined or declaredprogrammingflightsimsimgearsimgearstructuresgsharedptr.hxx(52) : see declaration of 'SGSharedPtr::SGSharedPtr'programmingflightsimsimgearsimgearstructuresgsharedptr.hxx(97) : see reference to class template instantiation 'SGSharedPtr' being compiledPlease, let me know if you need any more info.regardsViper

  • 1 month later...

IF this problem still persists, I would recommend to get in touch with other developers using the FlightGear Developer mailing lists, as you are much more likely to get competent support from people who also use MS Win32/VC++ 6.0Personally, I do (un)fortunately no longer have access to a corresponding build environment.http://www.flightgear.org/mail.html

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.