[Opentnl-general] Problems compiling the zap project with VC6
Brought to you by:
mark_frohnmayer,
s_alanet
From: Markus N. <nu...@gm...> - 2004-04-22 07:12:07
|
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 |