May 16, 200620 yr 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
May 17, 200620 yr 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
May 18, 200620 yr >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.
May 18, 200620 yr 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
June 20, 200619 yr 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