Recompiling blender now gives error.

Compiling, libraries, modules, coding guidelines and porting

Moderators: jesterKing, stiv

Post Reply
Napoleon
Posts: 0
Joined: Tue Jan 27, 2004 6:08 pm

Recompiling blender now gives error.

Post by Napoleon » Fri Jan 06, 2006 9:09 pm

I just reinstall linux and decided to recompile blender which i have always been able to do. However i get this error down the line:

Code: Select all

intern/decimation/intern/LOD_QSDecimator.h:111: warning: 'LOD_QSDecimator::m_extern_editor' will be initialized after
intern/decimation/intern/LOD_QSDecimator.h:104: warning:   'bool LOD_QSDecimator::m_is_armed'
intern/decimation/intern/LOD_QSDecimator.cpp:96: warning:   when initialized here
g++ -pipe -funsigned-char -O2 -Wall -W -DGAMEBLENDER=1 -DUSE_BULLET -DUSE_SUMO_SOLID -DNDEBUG -I/home/napoleon/blenderdev/build/linux2/intern/decimation/intern -Iintern/decimation/intern -Iintern/decimation/intern -I/home/napoleon/blenderdev/build/linux2/intern/decimation/extern -Iintern/decimation/extern -Iintern/decimation/extern -I/home/napoleon/blenderdev/build/linux2/intern/moto/include -Iintern/moto/include -Iintern/moto/include -I/home/napoleon/blenderdev/build/linux2/intern/container -Iintern/container -Iintern/container -I/home/napoleon/blenderdev/build/linux2/intern/memutil -Iintern/memutil -Iintern/memutil -c -o /home/napoleon/blenderdev/build/linux2/intern/decimation/intern/LOD_QuadricEditor.o intern/decimation/intern/LOD_QuadricEditor.cpp
g++ -pipe -funsigned-char -O2 -Wall -W -DGAMEBLENDER=1 -DUSE_BULLET -DUSE_SUMO_SOLID -DNDEBUG -I/home/napoleon/blenderdev/build/linux2/intern/decimation/intern -Iintern/decimation/intern -Iintern/decimation/intern -I/home/napoleon/blenderdev/build/linux2/intern/decimation/extern -Iintern/decimation/extern -Iintern/decimation/extern -I/home/napoleon/blenderdev/build/linux2/intern/moto/include -Iintern/moto/include -Iintern/moto/include -I/home/napoleon/blenderdev/build/linux2/intern/container -Iintern/container -Iintern/container -I/home/napoleon/blenderdev/build/linux2/intern/memutil -Iintern/memutil -Iintern/memutil -c -o /home/napoleon/blenderdev/build/linux2/intern/decimation/intern/LOD_decimation.o intern/decimation/intern/LOD_decimation.cpp
g++ -pipe -funsigned-char -O2 -Wall -W -DGAMEBLENDER=1 -DUSE_BULLET -DUSE_SUMO_SOLID -DNDEBUG -I/home/napoleon/blenderdev/build/linux2/intern/iksolver/intern -Iintern/iksolver/intern -Iintern/iksolver/intern -I/home/napoleon/blenderdev/build/linux2/intern/moto/include -Iintern/moto/include -Iintern/moto/include -I/home/napoleon/blenderdev/build/linux2/intern/memutil -Iintern/memutil -Iintern/memutil -c -o /home/napoleon/blenderdev/build/linux2/intern/iksolver/intern/IK_QTask.o intern/iksolver/intern/IK_QTask.cpp
In file included from intern/iksolver/intern/IK_QTask.h:39,
                 from intern/iksolver/intern/IK_QTask.cpp:33:
intern/iksolver/intern/IK_QJacobian.h:38:22: error: TNT/cmat.h: No such file or directory
intern/iksolver/intern/IK_QJacobian.h:45: error: 'TNT' has not been declared
intern/iksolver/intern/IK_QJacobian.h:45: error: ISO C++ forbids declaration of 'Matrix' with no type
intern/iksolver/intern/IK_QJacobian.h:45: error: expected ';' before '<' token
intern/iksolver/intern/IK_QJacobian.h:46: error: 'TNT' has not been declared
intern/iksolver/intern/IK_QJacobian.h:46: error: ISO C++ forbids declaration of 'Vector' with no type
intern/iksolver/intern/IK_QJacobian.h:46: error: expected ';' before '<' token
intern/iksolver/intern/IK_QJacobian.h:70: error: 'TVector' has not been declared
intern/iksolver/intern/IK_QJacobian.h:70: error: 'TMatrix' has not been declared
intern/iksolver/intern/IK_QJacobian.h:82: error: 'TMatrix' does not name a type
intern/iksolver/intern/IK_QJacobian.h:83: error: 'TMatrix' does not name a type
intern/iksolver/intern/IK_QJacobian.h:86: error: 'TVector' does not name a type
intern/iksolver/intern/IK_QJacobian.h:89: error: 'TVector' does not name a type
intern/iksolver/intern/IK_QJacobian.h:93: error: 'TVector' does not name a type
intern/iksolver/intern/IK_QJacobian.h:94: error: 'TMatrix' does not name a type
intern/iksolver/intern/IK_QJacobian.h:95: error: 'TMatrix' does not name a type
intern/iksolver/intern/IK_QJacobian.h:96: error: 'TVector' does not name a type
intern/iksolver/intern/IK_QJacobian.h:97: error: 'TVector' does not name a type
intern/iksolver/intern/IK_QJacobian.h:99: error: 'TMatrix' does not name a type
intern/iksolver/intern/IK_QJacobian.h:100: error: 'TVector' does not name a type
intern/iksolver/intern/IK_QJacobian.h:105: error: 'TVector' does not name a type
intern/iksolver/intern/IK_QJacobian.h:106: error: 'TVector' does not name a type
intern/iksolver/intern/IK_QJacobian.h:110: error: 'TVector' does not name a type
intern/iksolver/intern/IK_QJacobian.h:113: error: 'TVector' does not name a type
intern/iksolver/intern/IK_QJacobian.h:114: error: 'TVector' does not name a type
scons: *** [/home/napoleon/blenderdev/build/linux2/intern/iksolver/intern/IK_QTask.o] Error 1
scons: building terminated because of errors.
[napoleon@archlinux blender]$ scons -j 2 re               
BTW i just compiled yafray :)

Thnx

jesterKing
Site Admin
Posts: 207
Joined: Fri Oct 18, 2002 12:48 pm
Location: Finland

Post by jesterKing » Sat Jan 07, 2006 11:13 am

Currently you have to disable the gameengine and blenderplayer on any other platform than win32. It is being worked on, but for now you'll just have to do without.

/Nathan

Napoleon
Posts: 0
Joined: Tue Jan 27, 2004 6:08 pm

Post by Napoleon » Mon Jan 09, 2006 8:08 pm

I have just updated my blender sources and tried to compile. Game engine has been enabled BTW. Anyway i had some errors which is below:

Code: Select all

source/gameengine/Ketsji/KX_BlenderMaterial.h:84: warning: 'KX_BlenderMaterial::
mScene' will be initialized after
source/gameengine/Ketsji/KX_BlenderMaterial.h:82: warning:   'BL_Shader* KX_Blen
derMaterial::mShader'
source/gameengine/Ketsji/KX_BlenderMaterial.cpp:60: warning:   when initialized
here
source/gameengine/Ketsji/KX_BlenderMaterial.cpp: At global scope:
source/gameengine/Ketsji/KX_BlenderMaterial.cpp:60: warning: unused parameter 's
kin'
source/gameengine/Ketsji/KX_BlenderMaterial.cpp: In member function 'virtual voi
d KX_BlenderMaterial::OnConstruction()':
source/gameengine/Ketsji/KX_BlenderMaterial.cpp:142: error: use of 'glActiveText
ureARB' is ambiguous
/usr/include/GL/gl.h:2065: error:   first declared as 'void glActiveTextureARB(G
Lenum)' here
source/gameengine/Rasterizer/RAS_OpenGLRasterizer/RAS_GLExtensionManager.h:405:
error:   also declared as 'void (* bgl::glActiveTextureARB)(GLenum)' here
source/gameengine/Ketsji/KX_BlenderMaterial.cpp:142: error: 'glActiveTextureARB'
 was not declared in this scope
source/gameengine/Ketsji/KX_BlenderMaterial.cpp: In member function 'void KX_Ble
nderMaterial::OnExit()':
source/gameengine/Ketsji/KX_BlenderMaterial.cpp:285: error: use of 'glActiveText
ureARB' is ambiguous
/usr/include/GL/gl.h:2065: error:   first declared as 'void glActiveTextureARB(G
Lenum)' here
source/gameengine/Rasterizer/RAS_OpenGLRasterizer/RAS_GLExtensionManager.h:405:
error:   also declared as 'void (* bgl::glActiveTextureARB)(GLenum)' here
source/gameengine/Ketsji/KX_BlenderMaterial.cpp:355: error: 'glActiveTextureARB'
 was not declared in this scope
source/gameengine/Expressions/PyObjectPlus.h:67: warning: unused parameter 'M'
source/gameengine/Expressions/PyObjectPlus.h:179: warning: unused parameter 'kwd
'
source/gameengine/Ketsji/KX_BlenderMaterial.cpp: At global scope:
source/gameengine/Ketsji/KX_BlenderMaterial.cpp:865: warning: unused parameter '
ref'
source/gameengine/Ketsji/KX_BlenderMaterial.cpp:890: warning: missing initialize
r for member 'PyMethodDef::ml_flags'
source/gameengine/Ketsji/KX_BlenderMaterial.cpp:890: warning: missing initialize
r for member 'PyMethodDef::ml_doc'
source/gameengine/Ketsji/KX_BlenderMaterial.cpp:906: warning: missing initialize
r for member '_typeobject::tp_as_sequence'
source/gameengine/Ketsji/KX_BlenderMaterial.cpp:906: warning: missing initialize
r for member '_typeobject::tp_as_mapping'
source/gameengine/Ketsji/KX_BlenderMaterial.cpp:971: warning: unused parameter '                                                                           args'
source/gameengine/Ketsji/KX_MaterialIpoController.cpp:10: warning: unused parame                                                                           ter 'currentTime'
source/gameengine/Ketsji/KX_MaterialIpoController.cpp:60: warning: unused parame                                                                           ter 'destnode'
scons: *** [/home/napoleon/blenderdev/build/linux2/source/gameengine/Ketsji/KX_B                                                                           lenderMaterial.o] Error 1
scons: building terminated because of errors.
[napoleon@archlinux blender]

Napoleon
Posts: 0
Joined: Tue Jan 27, 2004 6:08 pm

Post by Napoleon » Tue Jan 10, 2006 12:23 am

Hello, just to comfirm the error, i deleted all of my cvs sources and downloaded fresh ones. Then i compiled and had the same errors. I hope someone is checking it out.

Thnx. :D

madman
Posts: 0
Joined: Sat Jun 19, 2004 3:06 am

Post by madman » Tue Jan 10, 2006 5:02 pm

I have the same problem.

HELP US! :?

Napoleon
Posts: 0
Joined: Tue Jan 27, 2004 6:08 pm

Post by Napoleon » Tue Jan 10, 2006 7:28 pm

Just came back from work and noticed some activity in the cvs so i updated my sources and compiled but alas the error still persist. :(

LetterRip
Posts: 0
Joined: Thu Mar 25, 2004 7:03 am

Post by LetterRip » Tue Jan 10, 2006 7:59 pm

scons and makefiles are fixed on windows and linux, not sure about os x yet.

LetterRip

Napoleon
Posts: 0
Joined: Tue Jan 27, 2004 6:08 pm

Post by Napoleon » Tue Jan 10, 2006 8:54 pm

LetterRip,

When was it fixed ples because i just updated from CVS a about 3 hours ago and it still gave the same error. Have a good evening. :D

Napoleon
Posts: 0
Joined: Tue Jan 27, 2004 6:08 pm

Post by Napoleon » Wed Jan 11, 2006 6:37 pm

Any news on this error please?

Napoleon
Posts: 0
Joined: Tue Jan 27, 2004 6:08 pm

Post by Napoleon » Thu Jan 12, 2006 1:55 am

i once again deleted my local build sources and downloaded fresh once and it compiled okay. What i dont understand though is i checked the dated for all the files in the directory in question and they were all the same so how came i was getting errors before.

Anyway after one has downloaded the cvs sources once, what is the best command to use for subsequest updates of the blender and lib sources.

LetterRip
Posts: 0
Joined: Thu Mar 25, 2004 7:03 am

Post by LetterRip » Thu Jan 12, 2006 5:14 am

frequently what happens is that a make clean doesn't remove every thing, I usually just completely delete the obj folder, and all of the .o and .a files from the libs folder if I am having compile problems.

LetterRip

Post Reply