Jump to content

building with scons errors


photo

Recommended Posts

these are some of the errors i get when i am trying to build from scons..... what is the problem and i get all these errors.....???

 

entifier 'ptr'

engine\math\MathLib.cpp(108) : error C2065: 'ptr' : undeclared identifier

engine\math\MathLib.cpp(108) : error C2065: 'edx' : undeclared identifier

engine\math\MathLib.cpp(109) : error C2143: syntax error : missing ';' before '}

'

ImageFile.cpp

c:\unigine source sdk\source\engine\math\MathLib.h(750) : error C4235: nonstanda

rd extension used : '__asm' keyword not supported on this architecture

c:\unigine source sdk\source\engine\math\MathLib.h(752) : error C2065: 'fld' : u

ndeclared identifier

c:\unigine source sdk\source\engine\math\MathLib.h(752) : error C2146: syntax er

ror : missing ';' before identifier 'v'

c:\unigine source sdk\source\engine\math\MathLib.h(752) : error C2146: syntax er

ror : missing ';' before identifier 'fistp'

c:\unigine source sdk\source\engine\math\MathLib.h(753) : error C2065: 'fistp' :

 undeclared identifier

c:\unigine source sdk\source\engine\math\MathLib.h(753) : error C2146: syntax er

ror : missing ';' before identifier 'i'

c:\unigine source sdk\source\engine\math\MathLib.h(753) : error C2143: syntax er

ror : missing ';' before '}'

Str.cpp

File.cpp

engine\math\MathLib.cpp(81) : error C4235: nonstandard extension used : '__asm'

keyword not supported on this architecture

engine\math\MathLib.cpp(83) : error C2065: 'fld' : undeclared identifier

engine\math\MathLib.cpp(83) : error C2146: syntax error : missing ';' before ide

ntifier 'angle'

engine\math\MathLib.cpp(84) : error C2146: syntax error : missing ';' before ide

ntifier 'fsincos'

engine\math\MathLib.cpp(84) : error C2065: 'fsincos' : undeclared identifier

engine\math\MathLib.cpp(84) : error C2146: syntax error : missing ';' before ide

ntifier 'mov'

engine\math\MathLib.cpp(84) : error C2065: 'mov' : undeclared identifier

engine\math\MathLib.cpp(84) : error C2146: syntax error : missing ';' before ide

ntifier 'edx'

engine\math\MathLib.cpp(84) : error C2065: 'edx' : undeclared identifier

engine\math\MathLib.cpp(85) : error C2146: syntax error : missing ';' before ide

ntifier 'mov'

engine\math\MathLib.cpp(85) : error C2065: 'mov' : undeclared identifier

engine\math\MathLib.cpp(85) : error C2146: syntax error : missing ';' before ide

ntifier 'ecx'

engine\math\MathLib.cpp(85) : error C2065: 'ecx' : undeclared identifier

engine\math\MathLib.cpp(86) : error C2146: syntax error : missing ';' before ide

ntifier 'fstp'

engine\math\MathLib.cpp(86) : error C2065: 'fstp' : undeclared identifier

engine\math\MathLib.cpp(86) : error C2146: syntax error : missing ';' before ide

ntifier 'dword'

engine\math\MathLib.cpp(86) : error C2065: 'dword' : undeclared identifier

engine\math\MathLib.cpp(86) : error C2146: syntax error : missing ';' before ide

ntifier 'ptr'

engine\math\MathLib.cpp(86) : error C2065: 'ptr' : undeclared identifier

engine\math\MathLib.cpp(86) : error C2065: 'ecx' : undeclared identifier

engine\math\MathLib.cpp(87) : error C2146: syntax error : missing ';' before ide

ntifier 'fstp'

engine\math\MathLib.cpp(87) : error C2065: 'fstp' : undeclared identifier

engine\math\MathLib.cpp(87) : error C2146: syntax error : missing ';' before ide

ntifier 'dword'

engine\math\MathLib.cpp(87) : error C2065: 'dword' : undeclared identifier

engine\math\MathLib.cpp(87) : error C2146: syntax error : missing ';' before ide

ntifier 'ptr'

engine\math\MathLib.cpp(87) : error C2065: 'ptr' : undeclared identifier

engine\math\MathLib.cpp(87) : error C2065: 'edx' : undeclared identifier

engine\math\MathLib.cpp(88) : error C2143: syntax error : missing ';' before '}'

 

engine\math\MathLib.cpp(102) : error C4235: nonstandard extension used : '__asm'

 keyword not supported on this architecture

engine\math\MathLib.cpp(104) : error C2065: 'fld' : undeclared identifier

engine\math\MathLib.cpp(104) : error C2146: syntax error : missing ';' before id

entifier 'angle'

engine\math\MathLib.cpp(105) : error C2146: syntax error : missing ';' before id

entifier 'fsincos'

engine\math\MathLib.cpp(105) : error C2065: 'fsincos' : undeclared identifier

engine\math\MathLib.cpp(105) : error C2146: syntax error : missing ';' before id

entifier 'mov'

engine\math\MathLib.cpp(105) : error C2065: 'mov' : undeclared identifier

engine\math\MathLib.cpp(105) : error C2146: syntax error : missing ';' before id

entifier 'edx'

engine\math\MathLib.cpp(105) : error C2065: 'edx' : undeclared identifier

engine\math\MathLib.cpp(106) : error C2146: syntax error : missing ';' before id

entifier 'mov'

engine\math\MathLib.cpp(106) : error C2065: 'mov' : undeclared identifier

engine\math\MathLib.cpp(106) : error C2146: syntax error : missing ';' before id

entifier 'ecx'

engine\math\MathLib.cpp(106) : error C2065: 'ecx' : undeclared identifier

engine\math\MathLib.cpp(107) : error C2146: syntax error : missing ';' before id

entifier 'fstp'

SimdLib.cpp

engine\framework\ImageFile.cpp(375) : fatal error C1083: Cannot open include fil

e: 'jpeglib.h': No such file or directoryengine\math\MathLib.cpp(107) : error C2

065: 'fstp' : undeclared identifier

 

engine\math\MathLib.cpp(107) : error C2146: syntax error : missing ';' before id

entifier 'qword'

engine\math\MathLib.cpp(107) : error C2065: 'qword' : undeclared identifier

ImageFormat.cpp

engine\math\MathLib.cpp(107) : error C2146: syntax error : missing ';' before id

entifier 'ptr'

engine\math\MathLib.cpp(107) : error C2065: 'ptr' : undeclared identifier

engine\math\MathLib.cpp(107) : error C2065: 'ecx' : undeclared identifier

engine\math\MathLib.cpp(108) : error C2146: syntax error : missing ';' before id

entifier 'fstp'

engine\math\MathLib.cpp(108) : error C2065: 'fstp' : undeclared identifier

Generating Code...

engine\math\MathLib.cpp(108) : error C2146: syntax error : missing ';' before id

entifier 'qword'

engine\math\MathLib.cpp(108) : error C2065: 'qword' : undeclared identifier

engine\math\MathLib.cpp(108) : error C2146: syntax error : missing ';' before id

entifier 'ptr'

engine\math\MathLib.cpp(108) : error C2065: 'ptr' : undeclared identifier

engine\math\MathLib.cpp(108) : error C2065: 'edx' : undeclared identifier

engine\math\MathLib.cpp(109) : error C2143: syntax error : missing ';' before '}

'

ImageFile.cpp

File.cpp

c:\unigine source sdk\source\engine\math\MathLib.h(750) : error C4235: nonstanda

rd extension used : '__asm' keyword not supported on this architecture

c:\unigine source sdk\source\engine\math\MathLib.h(752) : error C2065: 'fld' : u

ndeclared identifier

c:\unigine source sdk\source\engine\math\MathLib.h(752) : error C2146: syntax er

ror : missing ';' before identifier 'v'engine\framework\ImageFile.cpp(375) : fat

al error C1083: Cannot open include file: 'jpeglib.h': No such file or directory

 

 

Mesh.cpp

ImageFormat.cpp

c:\unigine source sdk\source\engine\math\MathLib.h(752) : error C2146: syntax er

ror : missing ';' before identifier 'fistp'

c:\unigine source sdk\source\engine\math\MathLib.h(753) : error C2065: 'fistp' :

 undeclared identifier

c:\unigine source sdk\source\engine\math\MathLib.h(753) : error C2146: syntax er

ror : missing ';' before identifier 'i'

c:\unigine source sdk\source\engine\math\MathLib.h(753) : error C2143: syntax er

ror : missing ';' before '}'

SimdLib.cpp

Terrain.cpp

Geometry.cpp

c:\unigine source sdk\source\engine\math\MathLib.h(750) : error C4235: nonstanda

rd extension used : '__asm' keyword not supported on this architecture

c:\unigine source sdk\source\engine\math\MathLib.h(752) : error C2065: 'fld' : u

ndeclared identifier

c:\unigine source sdk\source\engine\math\MathLib.h(752) : error C2146: syntax er

ror : missing ';' before identifier 'v'

c:\unigine source sdk\source\engine\math\MathLib.h(752) : error C2146: syntax er

ror : missing ';' before identifier 'fistp'

c:\unigine source sdk\source\engine\math\MathLib.h(753) : error C2065: 'fistp' :

 undeclared identifier

c:\unigine source sdk\source\engine\math\MathLib.h(753) : error C2146: syntax er

ror : missing ';' before identifier 'i'

c:\unigine source sdk\source\engine\math\MathLib.h(753) : error C2143: syntax er

ror : missing ';' before '}'

c:\unigine source sdk\source\engine\math\MathLib.h(750) : error C4235: nonstanda

rd extension used : '__asm' keyword not supported on this architecturec:\unigine

 source sdk\source\engine\math\MathLib.h(750) : error C4235: nonstandard extensi

on used : '__asm' keyword not supported on this architecture

 

c:\unigine source sdk\source\engine\math\MathLib.h(752) : error C2065: 'fld' : u

ndeclared identifierc:\unigine source sdk\source\engine\math\MathLib.h(752) : er

ror C2065: 'fld' : undeclared identifier

c:\unigine source sdk\source\engine\math\MathLib.h(752) : error C2146: syntax er

ror : missing ';' before identifier 'v'

 

c:\unigine source sdk\source\engine\math\MathLib.h(752) : error C2146: syntax er

ror : missing ';' before identifier 'fistp'c:\unigine source sdk\source\engine\m

ath\MathLib.h(752) : error C2146: syntax error : missing ';' before identifier '

v'

 

c:\unigine source sdk\source\engine\math\MathLib.h(752) : error C2146: syntax er

ror : missing ';' before identifier 'fistp'c:\unigine source sdk\source\engine\m

ath\MathLib.h(753) : error C2065: 'fistp' : undeclared identifier

c:\unigine source sdk\source\engine\math\MathLib.h(753) : error C2065: 'fistp' :

 undeclared identifier

 

c:\unigine source sdk\source\engine\math\MathLib.h(753) : error C2146: syntax er

ror : missing ';' before identifier 'i'c:\unigine source sdk\source\engine\math\

MathLib.h(753) : error C2146: syntax error : missing ';' before identifier 'i'

c:\unigine source sdk\source\engine\math\MathLib.h(753) : error C2143: syntax er

ror : missing ';' before '}'

 

c:\unigine source sdk\source\engine\math\MathLib.h(753) : error C2143: syntax er

ror : missing ';' before '}'

Bounds.cpp

Geometry.cpp

c:\unigine source sdk\source\engine\math\MathLib.h(750) : error C4235: nonstanda

rd extension used : '__asm' keyword not supported on this architecture

c:\unigine source sdk\source\engine\math\MathLib.h(752) : error C2065: 'fld' : u

ndeclared identifier

c:\unigine source sdk\source\engine\math\MathLib.h(752) : error C2146: syntax er

ror : missing ';' before identifier 'v'

c:\unigine source sdk\source\engine\math\MathLib.h(752) : error C2146: syntax er

ror : missing ';' before identifier 'fistp'

c:\unigine source sdk\source\engine\math\MathLib.h(753) : error C2065: 'fistp' :

 undeclared identifier

c:\unigine source sdk\source\engine\math\MathLib.h(753) : error C2146: syntax er

ror : missing ';' before identifier 'i'

c:\unigine source sdk\source\engine\math\MathLib.h(753) : error C2143: syntax er

ror : missing ';' before '}'

c:\unigine source sdk\source\engine\math\MathLib.h(750) : error C4235: nonstanda

rd extension used : '__asm' keyword not supported on this architecture

c:\unigine source sdk\source\engine\math\MathLib.h(752) : error C2065: 'fld' : u

ndeclared identifier

Stream.cpp

c:\unigine source sdk\source\engine\math\MathLib.h(752) : error C2146: syntax er

ror : missing ';' before identifier 'v'

c:\unigine source sdk\source\engine\math\MathLib.h(752) : error C2146: syntax er

ror : missing ';' before identifier 'fistp'

c:\unigine source sdk\source\engine\math\MathLib.h(753) : error C2065: 'fistp' :

 undeclared identifier

c:\unigine source sdk\source\engine\math\MathLib.h(753) : error C2146: syntax er

ror : missing ';' before identifier 'i'

c:\unigine source sdk\source\engine\math\MathLib.h(753) : error C2143: syntax er

ror : missing ';' before '}'

Bounds.cpp

Compress.cpp

c:\unigine source sdk\source\engine\math\MathLib.h(750) : error C4235: nonstanda

rd extension used : '__asm' keyword not supported on this architecture

c:\unigine source sdk\source\engine\math\MathLib.h(752) : error C2065: 'fld' : u

ndeclared identifier

Generating Code...

c:\unigine source sdk\source\engine\math\MathLib.h(752) : error C2146: syntax er

ror : missing ';' before identifier 'v'

c:\unigine source sdk\source\engine\math\MathLib.h(752) : error C2146: syntax er

ror : missing ';' before identifier 'fistp'

engine\utils\Compress.cpp(19) : fatal error C1083: Cannot open include file: 'zl

ib.h': No such file or directoryc:\unigine source sdk\source\engine\math\MathLib

.h(753) : error C2065: 'fistp' : undeclared identifier

 

c:\unigine source sdk\source\engine\math\MathLib.h(753) : error C2146: syntax er

ror : missing ';' before identifier 'i'

c:\unigine source sdk\source\engine\math\MathLib.h(753) : error C2143: syntax er

ror : missing ';' before '}'

Generating Code...

scons: *** [tools\TerrainMesh\build\engine\math\MathLib.obj] Error 2

Stream.cpp

Occluder.cpp

scons: *** [tools\TerrainRelax\build\engine\utils\Log.obj] Error 2

Stream.cpp

c:\unigine source sdk\source\engine\math\MathLib.h(750) : error C4235: nonstanda

rd extension used : '__asm' keyword not supported on this architecture

c:\unigine source sdk\source\engine\math\MathLib.h(752) : error C2065: 'fld' : u

ndeclared identifier

c:\unigine source sdk\source\engine\math\MathLib.h(752) : error C2146: syntax er

ror : missing ';' before identifier 'v'

c:\unigine source sdk\source\engine\math\MathLib.h(752) : error C2146: syntax er

ror : missing ';' before identifier 'fistp'

c:\unigine source sdk\source\engine\math\MathLib.h(753) : error C2065: 'fistp' :

 undeclared identifier

c:\unigine source sdk\source\engine\math\MathLib.h(753) : error C2146: syntax er

ror : missing ';' before identifier 'i'

c:\unigine source sdk\source\engine\math\MathLib.h(753) : error C2143: syntax er

ror : missing ';' before '}'

Compress.cpp

Compress.cpp

c:\unigine source sdk\source\engine\math\MathLib.h(750) : error C4235: nonstanda

rd extension used : '__asm' keyword not supported on this architecture

c:\unigine source sdk\source\engine\math\MathLib.h(752) : error C2065: 'fld' : u

ndeclared identifierengine\utils\Compress.cpp(19) : fatal error C1083: Cannot op

en include file: 'zlib.h': No such file or directory

c:\unigine source sdk\source\engine\math\MathLib.h(752) : error C2146: syntax er

ror : missing ';' before identifier 'v'

c:\unigine source sdk\source\engine\math\MathLib.h(752) : error C2146: syntax er

ror : missing ';' before identifier 'fistp'

c:\unigine source sdk\source\engine\math\MathLib.h(753) : error C2065: 'fistp' :

 undeclared identifier

c:\unigine source sdk\source\engine\math\MathLib.h(753) : error C2146: syntax er

ror : missing ';' before identifier 'i'

c:\unigine source sdk\source\engine\math\MathLib.h(753) : error C2143: syntax er

ror : missing ';' before '}'

engine\utils\Compress.cpp(19) : fatal error C1083: Cannot open include file: 'zl

ib.h': No such file or directory

Timer.cpp

 

Generating Code...

Generating Code...

MeshFile.cpp

scons: *** [tools\Terrain\build\engine\math\MathLib.obj] Error 2

Generating Code...

scons: *** [tools\TerrainMesh\build\engine\utils\Log.obj] Error 2

scons: *** [tools\TerrainRelax\build\engine\framework\Image.obj] Error 2

Generating Code...

c:\unigine source sdk\source\engine\math\MathLib.h(750) : error C4235: nonstanda

rd extension used : '__asm' keyword not supported on this architecture

c:\unigine source sdk\source\engine\math\MathLib.h(752) : error C2065: 'fld' : u

ndeclared identifier

c:\unigine source sdk\source\engine\math\MathLib.h(752) : error C2146: syntax er

ror : missing ';' before identifier 'v'

c:\unigine source sdk\source\engine\math\MathLib.h(752) : error C2146: syntax er

ror : missing ';' before identifier 'fistp'

c:\unigine source sdk\source\engine\math\MathLib.h(753) : error C2065: 'fistp' :

 undeclared identifier

c:\unigine source sdk\source\engine\math\MathLib.h(753) : error C2146: syntax er

ror : missing ';' before identifier 'i'

c:\unigine source sdk\source\engine\math\MathLib.h(753) : error C2143: syntax er

ror : missing ';' before '}'

scons: *** [tools\Terrain\build\engine\utils\Log.obj] Error 2

Generating Code...

scons: *** [tools\Terrain\build\engine\framework\Image.obj] Error 2

scons: *** [tools\TerrainMesh\build\engine\framework\Image.obj] Error 2

scons: building terminated because of errors.

 

C:\Unigine source SDK\source>

Link to comment

Oh....this is for Unigine1 sdk.... I have had that issue for a while but now I need to figure out what the problem is....

Link to comment

the build.py seems to be working, can i have the arguments in order to build the engine with cuda, opencl capability with the script....? cause in two different systems i can t get scons to work... always gives me these errors that i posted above........

Link to comment
×
×
  • Create New...