PlaneShift
Development => Development Deliberation => Topic started by: AryHann on January 27, 2005, 07:45:38 pm
-
I got some nice error while compiling:
C:\\Development\\planeshift\\src\\client\\gui\\psmainwidget.cpp(273): error C2440: \'initializing\' : cannot convert from \'iSector *(__thiscall iCamera::* )(void) const\' to \'iSector *\'
This generated a lot of other errors, of course, since psmainwidget.cpp of libgui didn\'t compile properly
I m using MSVC 7.1
The line is this :
iSector* sector =psengine->GetPSCamera()->GetICamera()->GetSector;
Thanks to lynxlynxlynx it is enough to correct
GetSector() (adding the parentheses).
After this, I tried to compile again and I get:
libgui fatal error C1083: Cannot open source file: \'v:\\sf.net\\cvsroot\\planeshift\\src\\client\\gui\\pawsgmaction.cpp\': No such file or directory
libpsserverobjects fatal error C1083: Cannot open source file: \'v:\\sf.net\\cvsroot\\planeshift\\src\\server\\bulkobjects\\psactionlocationinfo.cpp\': No such file or directory
Ary
-
I fixed it removing the files from the project and searching the proper file in the CVS files that I have on my pc.
The files are not just the two aboves, but some other from different projects.
Maybe the MSVC 7.1 sln should be fixed?
Ary