Author Topic: Compiling...  (Read 675 times)

AryHann

  • Veteran
  • *
  • Posts: 1244
  • WonderWoman
    • View Profile
Compiling...
« 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
« Last Edit: January 27, 2005, 07:49:09 pm by AryHann »
AryHann

http://www.reflex.lth.se/culture/annelov - Virtual Annelöv -
Engine Dep. - One of Talad's Angels - Aka ww & Ahrijani's Goddess

AryHann

  • Veteran
  • *
  • Posts: 1244
  • WonderWoman
    • View Profile
(No subject)
« Reply #1 on: January 27, 2005, 07:58:15 pm »
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
« Last Edit: January 27, 2005, 08:03:10 pm by AryHann »
AryHann

http://www.reflex.lth.se/culture/annelov - Virtual Annelöv -
Engine Dep. - One of Talad's Angels - Aka ww & Ahrijani's Goddess