[mapeditor] build errors

gedimaster

12-10-2005 06:46:04

i've downloaded the cvs snapshot of the ogreaddons. when i tried compiling mapeditor, there are many complains coming from noiseutils.cpp, libnoisewindow.h... all the noise-related files.

i'm using the latest libnoise files from sourceforge and i'm building ogre1.0.5 on .net 2003.


d:\OGRENEW\Samples\MapEditor\include\LibnoiseWindow.h(39) : error C2653: 'Libnoise' : is not a class or namespace name
d:\OGRENEW\Samples\MapEditor\include\LibnoiseWindow.h(39) : error C2146: syntax error : missing ';' before identifier 'heightMap'
d:\OGRENEW\Samples\MapEditor\include\LibnoiseWindow.h(39) : error C2501: 'LibnoiseWindow::NoiseMap' : missing storage-class or type specifiers
d:\OGRENEW\Samples\MapEditor\include\LibnoiseWindow.h(39) : error C2501: 'LibnoiseWindow::heightMap' : missing storage-class or type specifiers
d:\OGRENEW\Samples\MapEditor\include\LibnoiseWindow.h(40) : error C2653: 'Libnoise' : is not a class or namespace name
d:\OGRENEW\Samples\MapEditor\include\LibnoiseWindow.h(40) : error C2146: syntax error : missing ';' before identifier 'heightMapBuilder'
d:\OGRENEW\Samples\MapEditor\include\LibnoiseWindow.h(40) : error C2501: 'LibnoiseWindow::NoiseMapBuilderPlane' : missing storage-class or type specifiers
d:\OGRENEW\Samples\MapEditor\include\LibnoiseWindow.h(40) : error C2501: 'LibnoiseWindow::heightMapBuilder' : missing storage-class or type specifiers
LibnoiseWindow.cpp
d:\OGRENEW\Samples\MapEditor\include\noiseutils.h(635) : warning C4267: 'argument' : conversion from 'size_t' to 'int', possible loss of data
d:\OGRENEW\Samples\MapEditor\include\noiseutils.h(1028) : warning C4267: 'argument' : conversion from 'size_t' to 'int', possible loss of data
d:\OGRENEW\Samples\MapEditor\include\LibnoiseWindow.h(39) : error C2653: 'Libnoise' : is not a class or namespace name
d:\OGRENEW\Samples\MapEditor\include\LibnoiseWindow.h(39) : error C2146: syntax error : missing ';' before identifier 'heightMap'
d:\OGRENEW\Samples\MapEditor\include\LibnoiseWindow.h(39) : error C2501: 'LibnoiseWindow::NoiseMap' : missing storage-class or type specifiers
d:\OGRENEW\Samples\MapEditor\include\LibnoiseWindow.h(39) : error C2501: 'LibnoiseWindow::heightMap' : missing storage-class or type specifiers
d:\OGRENEW\Samples\MapEditor\include\LibnoiseWindow.h(40) : error C2653: 'Libnoise' : is not a class or namespace name
d:\OGRENEW\Samples\MapEditor\include\LibnoiseWindow.h(40) : error C2146: syntax error : missing ';' before identifier 'heightMapBuilder'
d:\OGRENEW\Samples\MapEditor\include\LibnoiseWindow.h(40) : error C2501: 'LibnoiseWindow::NoiseMapBuilderPlane' : missing storage-class or type specifiers
d:\OGRENEW\Samples\MapEditor\include\LibnoiseWindow.h(40) : error C2501: 'LibnoiseWindow::heightMapBuilder' : missing storage-class or type specifiers
d:\OGRENEW\Samples\MapEditor\src\LibnoiseWindow.cpp(87) : error C2065: 'heightMapBuilder' : undeclared identifier
d:\OGRENEW\Samples\MapEditor\src\LibnoiseWindow.cpp(87) : error C2228: left of '.SetSourceModule' must have class/struct/union type
type is ''unknown-type''
d:\OGRENEW\Samples\MapEditor\src\LibnoiseWindow.cpp(95) : error C2228: left of '.SetSourceModule' must have class/struct/union type
type is ''unknown-type''
d:\OGRENEW\Samples\MapEditor\src\LibnoiseWindow.cpp(95) : error C3861: 'heightMapBuilder': identifier not found, even with argument-dependent lookup
d:\OGRENEW\Samples\MapEditor\src\LibnoiseWindow.cpp(99) : error C2228: left of '.SetSourceModule' must have class/struct/union type
type is ''unknown-type''
d:\OGRENEW\Samples\MapEditor\src\LibnoiseWindow.cpp(99) : error C3861: 'heightMapBuilder': identifier not found, even with argument-dependent lookup
d:\OGRENEW\Samples\MapEditor\src\LibnoiseWindow.cpp(107) : error C2228: left of '.SetSourceModule' must have class/struct/union type
type is ''unknown-type''
d:\OGRENEW\Samples\MapEditor\src\LibnoiseWindow.cpp(107) : error C3861: 'heightMapBuilder': identifier not found, even with argument-dependent lookup
d:\OGRENEW\Samples\MapEditor\src\LibnoiseWindow.cpp(115) : error C2228: left of '.SetSourceModule' must have class/struct/union type
type is ''unknown-type''
d:\OGRENEW\Samples\MapEditor\src\LibnoiseWindow.cpp(115) : error C3861: 'heightMapBuilder': identifier not found, even with argument-dependent lookup
d:\OGRENEW\Samples\MapEditor\src\LibnoiseWindow.cpp(120) : error C2228: left of '.SetDestNoiseMap' must have class/struct/union type
type is ''unknown-type''
d:\OGRENEW\Samples\MapEditor\src\LibnoiseWindow.cpp(120) : error C2065: 'heightMap' : undeclared identifier
d:\OGRENEW\Samples\MapEditor\src\LibnoiseWindow.cpp(120) : error C3861: 'heightMapBuilder': identifier not found, even with argument-dependent lookup
d:\OGRENEW\Samples\MapEditor\src\LibnoiseWindow.cpp(122) : error C2228: left of '.SetDestSize' must have class/struct/union type
type is ''unknown-type''
d:\OGRENEW\Samples\MapEditor\src\LibnoiseWindow.cpp(122) : error C3861: 'heightMapBuilder': identifier not found, even with argument-dependent lookup
d:\OGRENEW\Samples\MapEditor\src\LibnoiseWindow.cpp(124) : error C2228: left of '.SetBounds' must have class/struct/union type
type is ''unknown-type''



does the mapeditor's development currently tie with ogre1.0.5? i'd really like to see it in action after reading much of it from the forum.

please help.

tuan kuranes

12-10-2005 08:27:20

luckyluciano did ship its own version of libnoise that you should get in the previous ogre main forum thread. (if you find the link please post it here.)

MadLion

12-10-2005 12:52:21

Here it is and here the forum post of Lucky_Luciano.