Re: [Opentnl-general] Problems compiling the zap project with VC6
Brought to you by:
mark_frohnmayer,
s_alanet
From: Ben G. <be...@ga...> - 2004-04-22 07:56:46
|
Markus, We recently ran across the operator error, and I believe a fix is in CVS. I'll make sure we update the VC6 project in CVS to build properly. :) Most of our developers work in VC7.1 or with the GCC toolchain, so our VC6 project isn't touched as often. Sorry about the inconvenience. Our next source archive should be significantly improved; we've done a lot of development in the last few days. Regards, Ben Garney Markus Nuebel wrote: >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 > > > |