Crystal Space
Welcome, Guest. Please login or register.
October 21, 2014, 11:28:07 pm

Login with username, password and session length
Search:     Advanced search
9010 Posts in 2044 Topics by 8780 Members
Latest Member: Robertt56
* Home Help Search Login Register
+  Crystal Space
|-+  Crystal Space Development
| |-+  General Crystal Space Discussion
| | |-+  Compiling with VC++ 2005 Express
« previous next »
Pages: [1] Print
Author Topic: Compiling with VC++ 2005 Express  (Read 2948 times)
bloggins
Newbie
*
Posts: 1


View Profile
« on: July 28, 2006, 05:25:52 pm »

Hi,

I'm using:

cs-pseudo-stable-2006-01-27.zip
cs-win32libs-0.99r0_022.exe

I've set everything up as per the instructions but I'm getting errors from the code itself:

I initially get this:

reftrackeraccess.obj : warning LNK4221: no public symbols found; archive member will be inaccessible
profile.obj : warning LNK4221: no public symbols found; archive member will be inaccessible
memdebug.obj : warning LNK4221: no public symbols found; archive member will be inaccessible

then:

Compiling...
sprcal3d.cpp
c:\crystalspace\cs\plugins\mesh\sprcal3d\object\sprcal3d.cpp(658) : error C2039: 'getListRootCoreBoneId' : is not a member of 'CalCoreSkeleton'
        c:\crystalspace\cs\include\csutil\win32\cal3d\coreskeleton.h(23) : see declaration of 'CalCoreSkeleton'
c:\crystalspace\cs\plugins\mesh\sprcal3d\object\sprcal3d.cpp(658) : error C2228: left of '.begin' must have class/struct/union
c:\crystalspace\cs\plugins\mesh\sprcal3d\object\sprcal3d.cpp(659) : error C2039: 'getListRootCoreBoneId' : is not a member of 'CalCoreSkeleton'
        c:\crystalspace\cs\include\csutil\win32\cal3d\coreskeleton.h(23) : see declaration of 'CalCoreSkeleton'
c:\crystalspace\cs\plugins\mesh\sprcal3d\object\sprcal3d.cpp(659) : error C2228: left of '.end' must have class/struct/union
c:\crystalspace\cs\plugins\mesh\sprcal3d\object\sprcal3d.cpp(679) : error C2065: 'CalTransform' : undeclared identifier
c:\crystalspace\cs\plugins\mesh\sprcal3d\object\sprcal3d.cpp(679) : error C2039: 'getPoses' : is not a member of 'CalCoreAnimation'
        c:\crystalspace\cs\include\csutil\win32\cal3d\coreanimation.h(22) : see declaration of 'CalCoreAnimation'
c:\crystalspace\cs\plugins\mesh\sprcal3d\object\sprcal3d.cpp(679) : error C2512: 'std::vector' : no appropriate default constructor available
c:\crystalspace\cs\plugins\mesh\sprcal3d\object\sprcal3d.cpp(680) : error C2662: 'std::vector<_Ty,_Alloc>::size' : cannot convert 'this' pointer from 'std::vector' to 'const std::vector<_Ty,_Alloc> &'
        Reason: cannot convert from 'std::vector' to 'const std::vector<_Ty,_Alloc>'
        Conversion requires a second user-defined-conversion operator or constructor
c:\crystalspace\cs\plugins\mesh\sprcal3d\object\sprcal3d.cpp(684) : error C2039: 'getListRootCoreBoneId' : is not a member of 'CalCoreSkeleton'
        c:\crystalspace\cs\include\csutil\win32\cal3d\coreskeleton.h(23) : see declaration of 'CalCoreSkeleton'
c:\crystalspace\cs\plugins\mesh\sprcal3d\object\sprcal3d.cpp(684) : error C2228: left of '.begin' must have class/struct/union
c:\crystalspace\cs\plugins\mesh\sprcal3d\object\sprcal3d.cpp(685) : error C2039: 'getListRootCoreBoneId' : is not a member of 'CalCoreSkeleton'
        c:\crystalspace\cs\include\csutil\win32\cal3d\coreskeleton.h(23) : see declaration of 'CalCoreSkeleton'
c:\crystalspace\cs\plugins\mesh\sprcal3d\object\sprcal3d.cpp(685) : error C2228: left of '.end' must have class/struct/union
c:\crystalspace\cs\plugins\mesh\sprcal3d\object\sprcal3d.cpp(688) : error C2039: 'getTrackAssignment' : is not a member of 'CalCoreAnimation'
        c:\crystalspace\cs\include\csutil\win32\cal3d\coreanimation.h(22) : see declaration of 'CalCoreAnimation'
c:\crystalspace\cs\plugins\mesh\sprcal3d\object\sprcal3d.cpp(692) : error C2065: 'tf' : undeclared identifier
c:\crystalspace\cs\plugins\mesh\sprcal3d\object\sprcal3d.cpp(692) : error C2678: binary '[' : no operator found which takes a left-hand operand of type 'std::vector' (or there is no acceptable conversion)
        c:\program files\microsoft visual studio 8\vc\include\vector(735): could be 'vector<_Ty,_Alloc>::_Alloc::const_reference std::vector<_Ty,_Alloc>::operator [](vector<_Ty,_Alloc>::_Alloc::size_type) const'
        c:\program files\microsoft visual studio 8\vc\include\vector(750): or 'vector<_Ty,_Alloc>::_Alloc::reference std::vector<_Ty,_Alloc>::operator [](vector<_Ty,_Alloc>::_Alloc::size_type)'
        while trying to match the argument list '(std::vector, uint)'
c:\crystalspace\cs\plugins\mesh\sprcal3d\object\sprcal3d.cpp(693) : error C2228: left of '.getRotation' must have class/struct/union
        type is ''unknown-type''
c:\crystalspace\cs\plugins\mesh\sprcal3d\object\sprcal3d.cpp(694) : error C2228: left of '.getTranslation' must have class/struct/union
        type is ''unknown-type''
c:\crystalspace\cs\plugins\mesh\sprcal3d\object\sprcal3d.cpp(698) : error C2228: left of '.setRotation' must have class/struct/union
        type is ''unknown-type''
c:\crystalspace\cs\plugins\mesh\sprcal3d\object\sprcal3d.cpp(699) : error C2228: left of '.setTranslation' must have class/struct/union
        type is ''unknown-type''
c:\crystalspace\cs\plugins\mesh\sprcal3d\object\sprcal3d.cpp(702) : error C2039: 'setPoses' : is not a member of 'CalCoreAnimation'
        c:\crystalspace\cs\include\csutil\win32\cal3d\coreanimation.h(22) : see declaration of 'CalCoreAnimation'
Build log was saved at "file://c:\crystalspace\CS\out\debug71\build\plgsprcal3d\BuildLog.htm"
plgsprcal3d - 20 error(s), 0 warning(s)
------ Build started: Project: plgspr3md2, Configuration: Debug Win32 ------






I'm building grpall_typical.

I get this with whichever version of VC++ workspace I use.

Any ideas what's going on here ?

Thanks,
Logged
paganwarrior
Jr. Member
**
Posts: 68


View Profile Email
« Reply #1 on: July 29, 2006, 08:28:43 am »

Maybe you have to use cslibs ver. 018.
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 4.227 seconds with 15 queries.