Crystal Space
Welcome, Guest. Please login or register.
October 31, 2014, 05:17:33 am

Login with username, password and session length
Search:     Advanced search
9011 Posts in 2044 Topics by 8896 Members
Latest Member: Msenglcarl03
* Home Help Search Login Register
+  Crystal Space
|-+  Associate Projects
| |-+  CrystalBlend Discussion
| | |-+  how to compile crystalblend ?
« previous next »
Pages: [1] Print
Author Topic: how to compile crystalblend ?  (Read 5655 times)
Erwin Coumans
Guest


Email
« on: July 23, 2005, 03:25:28 pm »

What steps do we need to do to get crystal blend to compile ? Sorry, I lack time to search for and read all the manuals.

1- cvs check out crystalblend
2- get latest crystal space, unzip so the location become c:\develop\CS
3- get latest cel, unzip so location become c:\develop\CEL
4- set environment variables CRYSTAL=c:\develop\CS
5- set environment variable CEL=c:\develop\CEL

6- open up the crystalblend.sln,
compile
get all the compile errors (see below).

So how do we exactly compile crystalblend ?
There is already grpall_crystalblend,grpapps_crystalblend,grplibs_crystalblend,grpplugins_crystalblend. All empty, with an empty 'references'

Do we need to compile crystal and cel ourselves ? Or can the crystalblend solution include the necessary projects ?
I would expect it to compile out of the box with all those environment variables.

Erwin



compile errors below
-------------------------------------------------------------------------

h:\new\crystalblend\src\dna\bdata.h(75): error C2059: syntax error : ')'
h:\new\crystalblend\src\dna\bdata.h(100): error C2059: syntax error : ')'
h:\new\crystalblend\src\dna\bdata.h(112): error C2059: syntax error : ')'
h:\new\crystalblend\src\dna\bdata.h(122): error C2059: syntax error : ')'
h:\new\crystalblend\src\dna\bdata.h(137): error C2059: syntax error : ')'
h:\new\crystalblend\src\dna\bdata.h(144): error C2059: syntax error : ')'
h:\new\crystalblend\src\dna\bdata.h(167): error C2059: syntax error : ')'
h:\new\crystalblend\src\dna\bdata.h(188): error C2059: syntax error : ')'
h:\new\crystalblend\src\dna\bdata.h(193): error C2059: syntax error : ')'
h:\new\crystalblend\src\dna\bparse.h(71): error C2059: syntax error : ')'
h:\new\crystalblend\src\dna\bparse.h(91): error C2059: syntax error : ')'
h:\new\crystalblend\src\dna\bdata.h(75): error C2059: syntax error : ';'
h:\new\crystalblend\src\dna\bdata.h(86): error C2059: syntax error : '}'
h:\new\crystalblend\src\dna\bparse.h(79): error C2059: syntax error : '}'
h:\new\crystalblend\src\dna\bdata.h(100): error C2059: syntax error : 'type'
h:\new\crystalblend\src\dna\bdata.h(112): error C2059: syntax error : 'type'
h:\new\crystalblend\src\dna\bparse.h(71): error C2059: syntax error : 'type'
h:\new\crystalblend\src\dna\bdata.h(75): error C2061: syntax error : identifier 'BLData'
h:\new\crystalblend\src\dna\bdata.h(82): error C2061: syntax error : identifier 'BLData'
h:\new\crystalblend\src\dna\bparse.h(77): error C2061: syntax error : identifier 'BLStruct'
h:\new\crystalblend\src\dna\dnadump.c(35): error C2065: 'BLData' : undeclared identifier
h:\new\crystalblend\src\dna\dnadump.c(35): error C2065: 'mData' : undeclared identifier
h:\new\crystalblend\src\dna\bdata.h(167): error C2081: 'BLStruct' : name in formal parameter list illegal
h:\new\crystalblend\src\dna\bparse.h(71): error C2081: 'BLStruct' : name in formal parameter list illegal
h:\new\crystalblend\src\dna\bdata.h(75): error C2091: function returns function
h:\new\crystalblend\src\dna\bdata.h(75): error C2143: syntax error : missing ')' before '('
h:\new\crystalblend\src\dna\bdata.h(100): error C2143: syntax error : missing ')' before '*'
h:\new\crystalblend\src\dna\bdata.h(112): error C2143: syntax error : missing ')' before '*'
h:\new\crystalblend\src\dna\bdata.h(122): error C2143: syntax error : missing ')' before '*'
h:\new\crystalblend\src\dna\bdata.h(137): error C2143: syntax error : missing ')' before '*'
h:\new\crystalblend\src\dna\bdata.h(144): error C2143: syntax error : missing ')' before '*'
h:\new\crystalblend\src\dna\bdata.h(167): error C2143: syntax error : missing ')' before '*'
h:\new\crystalblend\src\dna\bdata.h(188): error C2143: syntax error : missing ')' before '*'
h:\new\crystalblend\src\dna\bdata.h(193): error C2143: syntax error : missing ')' before '*'
h:\new\crystalblend\src\dna\bparse.h(71): error C2143: syntax error : missing ')' before '*'
h:\new\crystalblend\src\dna\bparse.h(91): error C2143: syntax error : missing ')' before '*'
h:\new\crystalblend\src\dna\bdata.h(122): error C2143: syntax error : missing ';' before 'identifier'
h:\new\crystalblend\src\dna\bdata.h(137): error C2143: syntax error : missing ';' before 'identifier'
h:\new\crystalblend\src\dna\bdata.h(167): error C2143: syntax error : missing ';' before 'identifier'
h:\new\crystalblend\src\dna\dnadump.c(36): error C2143: syntax error : missing ';' before 'type'
h:\new\crystalblend\src\dna\bdata.h(100): error C2143: syntax error : missing '{' before '*'
h:\new\crystalblend\src\dna\bdata.h(100): error C2143: syntax error : missing '{' before '*'
h:\new\crystalblend\src\dna\bdata.h(112): error C2143: syntax error : missing '{' before '*'
h:\new\crystalblend\src\dna\bdata.h(112): error C2143: syntax error : missing '{' before '*'
h:\new\crystalblend\src\dna\bdata.h(122): error C2143: syntax error : missing '{' before '*'
h:\new\crystalblend\src\dna\bdata.h(137): error C2143: syntax error : missing '{' before '*'
h:\new\crystalblend\src\dna\bdata.h(144): error C2143: syntax error : missing '{' before '*'
h:\new\crystalblend\src\dna\bdata.h(153): error C2143: syntax error : missing '{' before '*'
h:\new\crystalblend\src\dna\bdata.h(162): error C2143: syntax error : missing '{' before '*'
h:\new\crystalblend\src\dna\bdata.h(163): error C2143: syntax error : missing '{' before '*'
h:\new\crystalblend\src\dna\bdata.h(164): error C2143: syntax error : missing '{' before '*'
h:\new\crystalblend\src\dna\bdata.h(165): error C2143: syntax error : missing '{' before '*'
h:\new\crystalblend\src\dna\bdata.h(166): error C2143: syntax error : missing '{' before '*'
h:\new\crystalblend\src\dna\bdata.h(167): error C2143: syntax error : missing '{' before '*'
h:\new\crystalblend\src\dna\bdata.h(167): error C2143: syntax error : missing '{' before '*'
h:\new\crystalblend\src\dna\bdata.h(174): error C2143: syntax error : missing '{' before '*'
h:\new\crystalblend\src\dna\bdata.h(182): error C2143: syntax error : missing '{' before '*'
h:\new\crystalblend\src\dna\bdata.h(188): error C2143: syntax error : missing '{' before '*'
h:\new\crystalblend\src\dna\bdata.h(193): error C2143: syntax error : missing '{' before '*'
h:\new\crystalblend\src\dna\bparse.h(71): error C2143: syntax error : missing '{' before '*'
h:\new\crystalblend\src\dna\bparse.h(88): error C2143: syntax error : missing '{' before '*'
h:\new\crystalblend\src\dna\bparse.h(91): error C2143: syntax error : missing '{' before '*'
h:\new\crystalblend\src\dna\bdata.h(122): error C2144: syntax error : '<Unknown>' should be preceded by '<Unknown>'
h:\new\crystalblend\src\dna\bdata.h(122): error C2144: syntax error : '<Unknown>' should be preceded by '<Unknown>'
h:\new\crystalblend\src\dna\bdata.h(137): error C2144: syntax error : '<Unknown>' should be preceded by '<Unknown>'
h:\new\crystalblend\src\dna\bdata.h(137): error C2144: syntax error : '<Unknown>' should be preceded by '<Unknown>'
h:\new\crystalblend\src\dna\bdata.h(167): error C2144: syntax error : '<Unknown>' should be preceded by '<Unknown>'
h:\new\crystalblend\src\dna\bdata.h(167): error C2144: syntax error : '<Unknown>' should be preceded by '<Unknown>'
h:\new\crystalblend\src\dna\bdata.h(167): error C2146: syntax error : missing ';' before identifier 'len'
h:\new\crystalblend\src\dna\bdata.h(122): error C2146: syntax error : missing ';' before identifier 'level'
h:\new\crystalblend\src\dna\bdata.h(137): error C2146: syntax error : missing ';' before identifier 'level'
h:\new\crystalblend\src\dna\dnadump.c(52): error C2223: left of '->type_name' must point to struct/union
h:\new\crystalblend\src\dna\dnadump.c(52): error C2223: left of '->var_name' must point to struct/union
h:\new\crystalblend\src\dna\bparse.h(78): error C2371: 'next' : redefinition; different basic types
h:\new\crystalblend\src\dna\bdata.h(122): error C2371: 'uint16' : redefinition; different basic types
h:\new\crystalblend\src\dna\bdata.h(137): error C2371: 'uint16' : redefinition; different basic types
h:\new\crystalblend\src\dna\bdata.h(167): error C2371: 'uint16' : redefinition; different basic types
h:\new\crystalblend\src\dna++\variable.cpp fatal error C1083: Cannot open include file: 'config.h': No such file or directory
h:\new\crystalblend\src\dna++\structure.cpp fatal error C1083: Cannot open include file: 'config.h': No such file or directory
h:\new\crystalblend\src\dna\strsep.c(19): fatal error C1083: Cannot open include file: 'config.h': No such file or directory
h:\new\crystalblend\src\dna\strndup.c(18): fatal error C1083: Cannot open include file: 'config.h': No such file or directory
h:\new\crystalblend\src\dna++\listiterator.cpp fatal error C1083: Cannot open include file: 'config.h': No such file or directory
h:\new\crystalblend\src\dna++\error.cpp fatal error C1083: Cannot open include file: 'config.h': No such file or directory
h:\new\crystalblend\src\dna\butil.c(24): fatal error C1083: Cannot open include file: 'config.h': No such file or directory
h:\new\crystalblend\src\dna\bparse.c(25): fatal error C1083: Cannot open include file: 'config.h': No such file or directory
h:\new\crystalblend\src\dna++\blendparser.cpp fatal error C1083: Cannot open include file: 'config.h': No such file or directory
h:\new\crystalblend\src\dna\bfile.c(24): fatal error C1083: Cannot open include file: 'config.h': No such file or directory
h:\new\crystalblend\src\dna\bdata.c(24): fatal error C1083: Cannot open include file: 'config.h': No such file or directory
h:\new\crystalblend\src\dna\dnadump.c(58): warning C4013: 'BLDeleteFileData' undefined; assuming extern returning int
h:\new\crystalblend\src\dna\dnadump.c(51): warning C4013: 'BLFindData' undefined; assuming extern returning int
h:\new\crystalblend\src\createworld.cpp(272): warning C4267: 'argument' : conversion from 'size_t' to 'int', possible loss of data
h:\new\crystalblend\src\createworld.cpp(272): warning C4267: 'argument' : conversion from 'size_t' to 'int', possible loss of data
h:\new\crystalblend\src\createworld.cpp(272): warning C4267: 'argument' : conversion from 'size_t' to 'int', possible loss of data
h:\new\crystalblend\src\createworld.cpp(296): warning C4267: 'argument' : conversion from 'size_t' to 'int', possible loss of data
h:\new\crystalblend\src\createworld.cpp(296): warning C4267: 'argument' : conversion from 'size_t' to 'int', possible loss of data
h:\new\crystalblend\src\createworld.cpp(296): warning C4267: 'argument' : conversion from 'size_t' to 'int', possible loss of data
h:\new\crystalblend\src\createworld.cpp(317): warning C4267: 'argument' : conversion from 'size_t' to 'int', possible loss of data
h:\new\crystalblend\src\createworld.cpp(323): warning C4267: 'argument' : conversion from 'size_t' to 'int', possible loss of data
h:\new\crystalblend\src\createworld.cpp(416): warning C4267: 'argument' : conversion from 'size_t' to 'int', possible loss of data
h:\new\crystalblend\src\createworld.cpp(434): warning C4267: 'argument' : conversion from 'size_t' to 'int', possible loss of data
h:\new\crystalblend\src\createworld.cpp(122): warning C4305: 'argument' : truncation from 'double' to 'float'
h:\new\crystalblend\src\dna\dnadump.c(35): warning C4552: '*' : operator has no effect; expected operator with side-effect
h:\new\crystalblend\src\createworld.cpp(478): warning C4554: '&' : check operator precedence for possible error; use parentheses to clarify precedence
Logged
jorrit
Administrator
Hero Member
*****
Posts: 1706


View Profile
« Reply #1 on: July 23, 2005, 05:33:36 pm »

What steps do we need to do to get crystal blend to compile ? Sorry, I lack time to search for and read all the manuals.

1- cvs check out crystalblend
2- get latest crystal space, unzip so the location become c:\develop\CS
3- get latest cel, unzip so location become c:\develop\CEL
4- set environment variables CRYSTAL=c:\develop\CS
5- set environment variable CEL=c:\develop\CEL

6- open up the crystalblend.sln,
compile
get all the compile errors (see below).

Well you must first compile Crystal Space and then CEL. But before compiling Crystal Space you should download and install the cs_winlibs package from this location: http://crystalspace3d.org/support/win32/cs-win32libs-0.99r0_013.exe

Greetings,
Logged
jorrit
Administrator
Hero Member
*****
Posts: 1706


View Profile
« Reply #2 on: July 23, 2005, 06:49:52 pm »


Well you must first compile Crystal Space and then CEL. But before compiling Crystal Space you should download and install the cs_winlibs package from this location: http://crystalspace3d.org/support/win32/cs-win32libs-0.99r0_013.exe

Greetings,

A few other helpful things. First the direct link to the page about how to compile CS with MSVC: http://crystalspace3d.org/docs/online/manual/cs_2.5.2.2.php#2.5.2.2.

In summary: first install the cs-win32libs package (version 13), Then load the workspace CS\mk\msvc\wkstypical.sln in MSVC.Then Build -> Build Solution.

Greetings,
Logged
erwin
Newbie
*
Posts: 7


View Profile Email
« Reply #3 on: July 24, 2005, 12:01:47 am »

mmm, I did install cs-win32libs. Perhaps executing VCsupport.exe was required. or a reboot.
I'll try again later.

Thanks,
Erwin

Just curious, all plugins seem to depend on zlib.lib. Why do they all need their own copy of the compression lib ? Can't that be shared ?
Logged
erwin
Newbie
*
Posts: 7


View Profile Email
« Reply #4 on: July 24, 2005, 12:13:49 am »

almost there. just a few ode link errors:

h:\new\CS\apps\tutorial\phystut\phystut.cpp(463): warning C4305: 'argument' : truncation from 'double' to 'float'
plgodedynam error LNK2019: unresolved external symbol _dWorldGetContactMaxCorrectingVel referenced in function "public: float __thiscall csODEDynamicSystem::GetContactMaxCorrectingVel(void)" (?GetContactMaxCorrectingVel@csODEDynamicSystem@@QAEMXZ)
plgodedynam error LNK2019: unresolved external symbol _dWorldGetContactSurfaceLayer referenced in function "public: float __thiscall csODEDynamicSystem::GetContactSurfaceLayer(void)" (?GetContactSurfaceLayer@csODEDynamicSystem@@QAEMXZ)
plgodedynam error LNK2019: unresolved external symbol _dWorldSetContactMaxCorrectingVel referenced in function "public: void __thiscall csODEDynamicSystem::SetContactMaxCorrectingVel(float)" (?SetContactMaxCorrectingVel@csODEDynamicSystem@@QAEXM@Z)
plgodedynam error LNK2019: unresolved external symbol _dWorldSetContactSurfaceLayer referenced in function "public: void __thiscall csODEDynamicSystem::SetContactSurfaceLayer(float)" (?SetContactSurfaceLayer@csODEDynamicSystem@@QAEXM@Z)
plgodedynam fatal error LNK1120: 4 unresolved externals
h:\new\CS\apps\tools\lighter\geometryextract.cpp(109): warning C4018: '<' : signed/unsigned mismatch
h:\new\CS\apps\tools\lighter\geometryextract.cpp(61): warning C4267: '=' : conversion from 'size_t' to 'uint', possible loss of data
h:\new\CS\apps\tools\lighter\geometryextract.cpp(107): warning C4267: '=' : conversion from 'size_t' to 'uint', possible loss of data
h:\new\CS\plugins\aws2\manager.cpp(120): warning C4305: '+=' : truncation from 'double' to 'float'
h:\new\CS\apps\tutorial\phystut\phystut.cpp(458): warning C4305: 'argument' : truncation from 'double' to 'float'
h:\new\CS\apps\tutorial\phystut\phystut.cpp(462): warning C4305: 'argument' : truncation from 'double' to 'float'

Logged
jorrit
Administrator
Hero Member
*****
Posts: 1706


View Profile
« Reply #5 on: July 24, 2005, 05:47:43 am »

almost there. just a few ode link errors:

h:\new\CS\apps\tutorial\phystut\phystut.cpp(463): warning C4305: 'argument' : truncation from 'double' to 'float'
plgodedynam error LNK2019: unresolved external symbol _dWorldGetContactMaxCorrectingVel referenced in function "public: float __thiscall csODEDynamicSystem::GetContactMaxCorrectingVel(void)" (?GetContactMaxCorrectingVel@csODEDynamicSystem@@QAEMXZ)
plgodedynam error LNK2019: unresolved external symbol _dWorldGetContactSurfaceLayer referenced in function "public: float __thiscall csODEDynamicSystem::GetContactSurfaceLayer(void)" (?GetContactSurfaceLayer@csODEDynamicSystem@@QAEMXZ)
plgodedynam error LNK2019: unresolved external symbol _dWorldSetContactMaxCorrectingVel referenced in function "public: void __thiscall csODEDynamicSystem::SetContactMaxCorrectingVel(float)" (?SetContactMaxCorrectingVel@csODEDynamicSystem@@QAEXM@Z)
plgodedynam error LNK2019: unresolved external symbol _dWorldSetContactSurfaceLayer referenced in function "public: void __thiscall csODEDynamicSystem::SetContactSurfaceLayer(float)" (?SetContactSurfaceLayer@csODEDynamicSystem@@QAEXM@Z)
plgodedynam fatal error LNK1120: 4 unresolved externals
h:\new\CS\apps\tools\lighter\geometryextract.cpp(109): warning C4018: '<' : signed/unsigned mismatch
h:\new\CS\apps\tools\lighter\geometryextract.cpp(61): warning C4267: '=' : conversion from 'size_t' to 'uint', possible loss of data
h:\new\CS\apps\tools\lighter\geometryextract.cpp(107): warning C4267: '=' : conversion from 'size_t' to 'uint', possible loss of data
h:\new\CS\plugins\aws2\manager.cpp(120): warning C4305: '+=' : truncation from 'double' to 'float'
h:\new\CS\apps\tutorial\phystut\phystut.cpp(458): warning C4305: 'argument' : truncation from 'double' to 'float'
h:\new\CS\apps\tutorial\phystut\phystut.cpp(462): warning C4305: 'argument' : truncation from 'double' to 'float'



Hmm... that's strange? Exactly from what date is your download of CS? And you are using version 013 of the cs-winlibs?

Greetings,
Logged
erwin
Newbie
*
Posts: 7


View Profile Email
« Reply #6 on: July 24, 2005, 11:21:16 am »

>Hmm... that's strange? Exactly from what date is your download of CS? And you are using version 013 of the cs-winlibs?

the version.txt in crystal_extern tells:
0.99r0_011

So I might have an old version. The link error is just in that ode tutorial, one of the most interesting one for me, when I want to look into adding bullet support smiley
"as if the devil is playing with it" <- dutch saying
« Last Edit: July 24, 2005, 11:30:58 am by erwin » Logged
jorrit
Administrator
Hero Member
*****
Posts: 1706


View Profile
« Reply #7 on: July 27, 2005, 11:41:10 am »

>Hmm... that's strange? Exactly from what date is your download of CS? And you are using version 013 of the cs-winlibs?

the version.txt in crystal_extern tells:
0.99r0_011

So I might have an old version. The link error is just in that ode tutorial, one of the most interesting one for me, when I want to look into adding bullet support smiley
"as if the devil is playing with it" <- dutch saying


Ok, in that case you need the 013 version.

Greetings,
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.219 seconds with 16 queries.