Crystal Space
Welcome, Guest. Please login or register.
April 20, 2014, 08:19:29 pm

Login with username, password and session length
Search:     Advanced search
8990 Posts in 2037 Topics by 7598 Members
Latest Member: Tarafigueroa
* Home Help Search Login Register
+  Crystal Space
|-+  Crystal Space Development
| |-+  Support
| | |-+  Compiling plgsprcal3d errors on MSVS.net 2003
« previous next »
Pages: [1] Print
Author Topic: Compiling plgsprcal3d errors on MSVS.net 2003  (Read 3861 times)
tibbe
Newbie
*
Posts: 7


View Profile
« on: May 16, 2005, 08:42:36 pm »

Builded the wksnewrenderer.sln solution , all well exept for the plgsprcal3d project:

Got this error report:
----------------------------------------------------------------------------------
Build Log      ------- Build started: Project: plgsprcal3d, Configuration: Debug|Win32 -------

 Command Lines      Creating temporary file "c:\Cs\mk\visualc7\csdebug\temp\plgsprcal3d\RSP000001.rsp" with contents
[
/Od /G5 /I "..\..\include\csutil\win32" /D "_DEBUG" /D "WIN32" /D "_WINDOWS" /D "WIN32_VOLATILE" /D "__CRYSTAL_SPACE__" /D "CS_DEBUG" /D "CS_STRICT_SMART_POINTERS" /D "_WINDLL" /Gm /EHsc /MDd /GR /Fp".\csdebug\temp\plgsprcal3d/plgsprcal3d.pch" /Fo".\csdebug\temp\plgsprcal3d/" /Fd".\csdebug\temp\plgsprcal3d/plgsprcal3d.pdb" /FR".\csdebug\temp\plgsprcal3d/" /W3 /c /ZI  /I "..\.." /I "..\..\include"
\Cs\plugins\mesh\sprcal3d\object\sprcal3d.cpp
]
Creating command line "cl.exe @c:\Cs\mk\visualc7\csdebug\temp\plgsprcal3d\RSP000001.rsp /nologo"
 Output Window      Compiling...
sprcal3d.cpp
c:\CS\plugins\mesh\sprcal3d\object\sprcal3d.cpp(167) : error C2512: 'CalCoreModel' : no appropriate default constructor available
c:\CS\plugins\mesh\sprcal3d\object\sprcal3d.cpp(211) : error C2039: 'destroy' : is not a member of 'CalCoreModel'
        c:\CS\include\cal3d\coremodel.h(26) : see declaration of 'CalCoreModel'
c:\CS\plugins\mesh\sprcal3d\object\sprcal3d.cpp(222) : error C2039: 'create' : is not a member of 'CalCoreModel'
        c:\CS\include\cal3d\coremodel.h(26) : see declaration of 'CalCoreModel'
c:\CS\plugins\mesh\sprcal3d\object\sprcal3d.cpp(255) : error C2440: 'initializing' : cannot convert from 'CalCoreSkeletonPtr' to 'CalCoreSkeleton *'
        No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
c:\CS\plugins\mesh\sprcal3d\object\sprcal3d.cpp(282) : error C2440: 'initializing' : cannot convert from 'CalCoreAnimationPtr' to 'CalCoreAnimation *'
        No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
c:\CS\plugins\mesh\sprcal3d\object\sprcal3d.cpp(323) : error C2440: 'initializing' : cannot convert from 'CalCoreMeshPtr' to 'CalCoreMesh *'
        No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
c:\CS\plugins\mesh\sprcal3d\object\sprcal3d.cpp(364) : error C2440: 'initializing' : cannot convert from 'CalCoreMeshPtr' to 'CalCoreMesh *'
        No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
c:\CS\plugins\mesh\sprcal3d\object\sprcal3d.cpp(517) : error C2039: 'create' : is not a member of 'CalCoreMaterial'
        c:\CS\include\cal3d\corematerial.h(20) : see declaration of 'CalCoreMaterial'
c:\CS\plugins\mesh\sprcal3d\object\sprcal3d.cpp(601) : error C2065: 'CalCoreTrack' : undeclared identifier
c:\CS\plugins\mesh\sprcal3d\object\sprcal3d.cpp(601) : error C2065: 'track' : undeclared identifier
c:\CS\plugins\mesh\sprcal3d\object\sprcal3d.cpp(601) : error C2039: 'getCoreTrack' : is not a member of 'CalCoreAnimation'
        c:\CS\include\cal3d\coreanimation.h(24) : see declaration of 'CalCoreAnimation'
c:\CS\plugins\mesh\sprcal3d\object\sprcal3d.cpp(602) : error C3861: 'track': identifier not found, even with argument-dependent lookup
c:\CS\plugins\mesh\sprcal3d\object\sprcal3d.cpp(603) : error C2227: left of '->getCoreKeyframeCount' must point to class/struct/union
        type is ''unknown-type''
c:\CS\plugins\mesh\sprcal3d\object\sprcal3d.cpp(603) : error C3861: 'track': identifier not found, even with argument-dependent lookup
c:\CS\plugins\mesh\sprcal3d\object\sprcal3d.cpp(605) : error C2065: 'CalCoreKeyframe' : undeclared identifier
c:\CS\plugins\mesh\sprcal3d\object\sprcal3d.cpp(605) : error C2065: 'frame' : undeclared identifier
c:\CS\plugins\mesh\sprcal3d\object\sprcal3d.cpp(605) : error C2227: left of '->getCoreKeyframe' must point to class/struct/union
        type is ''unknown-type''
c:\CS\plugins\mesh\sprcal3d\object\sprcal3d.cpp(605) : error C3861: 'track': identifier not found, even with argument-dependent lookup
c:\CS\plugins\mesh\sprcal3d\object\sprcal3d.cpp(606) : error C2227: left of '->getRotation' must point to class/struct/union
        type is ''unknown-type''
c:\CS\plugins\mesh\sprcal3d\object\sprcal3d.cpp(606) : error C3861: 'frame': identifier not found, even with argument-dependent lookup
c:\CS\plugins\mesh\sprcal3d\object\sprcal3d.cpp(607) : error C2227: left of '->getTranslation' must point to class/struct/union
        type is ''unknown-type''
c:\CS\plugins\mesh\sprcal3d\object\sprcal3d.cpp(607) : error C3861: 'frame': identifier not found, even with argument-dependent lookup
c:\CS\plugins\mesh\sprcal3d\object\sprcal3d.cpp(611) : error C2227: left of '->setRotation' must point to class/struct/union
        type is ''unknown-type''
c:\CS\plugins\mesh\sprcal3d\object\sprcal3d.cpp(611) : error C3861: 'frame': identifier not found, even with argument-dependent lookup
c:\CS\plugins\mesh\sprcal3d\object\sprcal3d.cpp(612) : error C2227: left of '->setTranslation' must point to class/struct/union
        type is ''unknown-type''
c:\CS\plugins\mesh\sprcal3d\object\sprcal3d.cpp(612) : error C3861: 'frame': identifier not found, even with argument-dependent lookup
c:\CS\plugins\mesh\sprcal3d\object\sprcal3d.cpp(671) : error C2512: 'CalModel' : no appropriate default constructor available
c:\CS\plugins\mesh\sprcal3d\object\sprcal3d.cpp(691) : error C2039: 'create' : is not a member of 'CalModel'
        c:\CS\include\cal3d\model.h(30) : see declaration of 'CalModel'
c:\CS\plugins\mesh\sprcal3d\object\sprcal3d.cpp(734) : error C2039: 'destroy' : is not a member of 'CalModel'
        c:\CS\include\cal3d\model.h(30) : see declaration of 'CalModel'
 Results      Build log was saved at "file://c:\Cs\mk\visualc7\csdebug\temp\plgsprcal3d\BuildLog.htm"
plgsprcal3d - 29 error(s), 0 warning(s)

-------------------------------------------------------------------------------
Would highly appreciate any tips, before digging into the code.
Sven-Erik Tiberg
Lulea Univ. of Technology
Sweden
Logged
Administrator
Jr. Member
*****
Posts: 51


View Profile Email
« Reply #1 on: May 16, 2005, 10:43:09 pm »

The errors indicate wrong version of Cal3d, thus wrong version of cswin32libs. What version of CS and cswin32libs do you use?

-Mårten
Logged
Anonymous
Guest
« Reply #2 on: May 17, 2005, 01:25:48 pm »

cs-win32libs-0.99r0_010 and cs98_004.zip
Should I reinstall cs-win32libs to cs-win32libs-0.98r004_001?

-- BG --
Sven-Erik
Logged
Administrator
Jr. Member
*****
Posts: 51


View Profile Email
« Reply #3 on: May 17, 2005, 09:45:42 pm »

Yes, the version of cswin32libs must match your CS version, so if you are using CS ver 0.98 you must use cswin32libs of version 0.98

A reinstall (of correct version) should solve your problems.

-Mårten
Logged
dan
Newbie
*
Posts: 2

stubert311
View Profile
« Reply #4 on: May 19, 2005, 12:00:02 am »

i had the same problem, i'll try the different library tonight



does this problem also cause crashes with the demo apps after they are compiled?
Logged
tibbe
Newbie
*
Posts: 7


View Profile
« Reply #5 on: May 19, 2005, 10:59:37 am »

Hi

Reinstalled on two new mashines.
Both with .net 2003, DirectX SDK and Phyton
One with ODE and Phantom Omni and Splodge.

By compling compleate solutions ( .sln and .dsw ) it's asking for zlib.h and zlib.lib.
In general where to put missing .h and .lib files?

Eager to push on to our application based on CHAI3D.

-- Sven-Erik Tiberg --
Logged
Administrator
Jr. Member
*****
Posts: 51


View Profile Email
« Reply #6 on: May 19, 2005, 02:53:06 pm »

I still insist you don't have cswin32libs installed. All prequisits for CS on VS 2003 is included there (including ODE, cal3d and zlib)

Of course you can install all these yourself, but then make sure you get the correct versions of all libs (you can see here http://cvs.sourceforge.net/viewcvs.py/*checkout*/crystal/CSlibs/Readme.rtf?rev=1.6 what libs and versions to use )


-Mårten
Logged
tibbe
Newbie
*
Posts: 7


View Profile
« Reply #7 on: May 19, 2005, 08:19:17 pm »

Oh I wish of all my hart that you where right
 but all clients has cs98_004.zip and cs-win32libs-0.98r004_001.exe installed ( and unzipped and runned )
NB: CS98 and cs-win are not in the same dir, not even on the same drive on one of the clients.
My procedure
First install MSVS.net 2003 with MSDN and Pre.. CD. on WinXP ( us ) with latest updates. HW Dell Dim. 370 3.4Ghz/2GB/150SATA with FX1300 Grafic Card.
( There are a lot of programs installed on all 3 mashines, consider taking a clean mashine and try on it. )
Then cs and cs-win to be compiled by MSVS w/o succes.
Have edited the code to give abs path to zlib.h, it helped in some way ( se prev post ) but doesen's like this way of customizing the code to make it runing.
Think I will take a clean mashine ( WinXP + F-secure + Off2003 + MSVS.net 2003 ) tomorrow and install it all, any hints on where to store cs?

Any other suggestions?

BG
Sven-Erik
Logged
Administrator
Jr. Member
*****
Posts: 51


View Profile Email
« Reply #8 on: May 19, 2005, 10:03:19 pm »

Hm, then you where not careful when installing cswin32libs Wink

During the install it will ask for two directories. The first one must not be the same dir as CS, and the second must. Try to reinstall it, and take great care when doing it (it should leave you with zlib.h in include\csutil\win32 )

Other than that the dirs does not really matter (But when using msys+mingw it is safer to use directories without spaces)

-Mårten
Logged
tibbe
Newbie
*
Posts: 7


View Profile
« Reply #9 on: May 29, 2005, 07:18:40 pm »

Tanks a lot.

It's working now, just have to follow the instruction and your mail.
Builded the soultion on my homecomputer in a relaxed enivroment.

-- All the best --
Sven-Erik
Logged
Pages: [1] Print 
« previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.2 | SMF © 2006-2007, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
Page created in 6.189 seconds with 16 queries.