Re: [Opentnl-general] Problems compiling the zap project with VC6
Brought to you by:
mark_frohnmayer,
s_alanet
From: Saurav M. <sa...@vz...> - 2004-04-22 16:51:49
|
also i vconvertted the casts to Item* and the other class name * mohaps ---- Original message ---- >Date: Thu, 22 Apr 2004 08:40:35 +0200 (MEST) >From: "Markus Nuebel" <nu...@gm...> >Subject: [Opentnl-general] Problems compiling the zap project with VC6 >To: ope...@li... > > >I wasn't able to compile the zap project from the source download (not the >CVS). >There were some missing link references due to the fact, that the files >item.cpp and sfx.cpp are not part of the workspace. > >After adding them to the workspace I got some compile errors, at code >places, where an SFXObject or an Item is being assigned to a RefPtr or a >SafePtr. The compiler complains about: "operator ==' is ambiguous". > >I simple casted the this pointer to the RefPtr or SafePtr, but don't know it >this is correct. >Does a simple cast work or do I have to construct a new Prt object based >upon the this pointer? > >Finally I had to the add the openal32.lib and alut.lib to the linker >directive, to make this whole compile and link. > >Anybody else seen this? >-- Markus > >-- >"Sie haben neue Mails!" - Die GMX Toolbar informiert Sie beim Surfen! >Jetzt aktivieren unter http://www.gmx.net/info > > > >------------------------------------------------------- >This SF.Net email is sponsored by: IBM Linux Tutorials >Free Linux tutorial presented by Daniel Robbins, President and CEO of >GenToo technologies. Learn everything from fundamentals to system >administration.http://ads.osdn.com/? ad_id=1470&alloc_id=3638&op=click >_______________________________________________ >Opentnl-general mailing list >Ope...@li... >https://lists.sourceforge.net/lists/listinfo/opentnl-general In order to understand Recursion, One must first understand Recursion |