Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
You will need Autodesk Maya.?
And if you have the dependencies ( aqsis ) installed, try
using g++ to compile .... change g++-4.1 to g++ in the file
commondefs.mk, line 28.
.....
Thanks that seems to have worked with the g++ error thank you!!
But now I get this massive list of errors:
Quote:
[root@silver src]# make release
../commonrules.mk:40: warning: overriding commands for target `../bin/fedora/debug/aqsis/2009'
../commonrules.mk:32: warning: ignoring old commands for target `../bin/fedora/debug/aqsis/2009'
../commonrules.mk:49: warning: overriding commands for target `clean'
Makefile:260: warning: ignoring old commands for target `clean'
../commonrules.mk:53: warning: overriding commands for target `cleandist'
Makefile:264: warning: ignoring old commands for target `cleandist'
../bin/fedora/debug/aqsis/2009/liquidPlug.o
g++ -c -I. -I.. -I/usr/autodesk/maya2008-x64/include -I${AQSIS_BASE_PATH:=/usr/local/aqsis}/include -I../include -DLIQUIDVERSION=\"" "2.3.5" "for" "aqsis," "29." "Apr." "2009" ":" "17:34" "\" -fmessage-length=0 -Os -pthread -fno-gnu-keywords --fast-math -fPIC -DLINUX -D__USER__=DEV_USER -D__HOST__=DEV_HOST -DDELIGHT -D__PROJECTNAME__=DEV_PROJECT -D__BUILDVERSION__=DEV_VERSION -DNDEBUG -DREQUIRE_IOSTREAM -D_BOOL -DAQSIS -Wall -W -Wno-comment -Wpointer-arith -Wno-inline -Woverloaded-virtual -Wno-sign-compare -Wno-parentheses -Wno-deprecated -DREQUIRE_IOSTREAM -o ../bin/fedora/debug/aqsis/2009/liquidPlug.o liquidPlug.cpp
liquidPlug.cpp:48:16: error: ri.h: No such file or directory
In file included from ../include/liquid.h:64,
from liquidPlug.cpp:57:
/usr/autodesk/maya2008-x64/include/maya/M3dView.h:93:20: error: GL/glx.h: No such file or directory
/usr/autodesk/maya2008-x64/include/maya/M3dView.h:94:27: error: X11/Intrinsic.h: No such file or directory
In file included from ../include/liquid.h:64,
from liquidPlug.cpp:57:
/usr/autodesk/maya2008-x64/include/maya/M3dView.h:95: error: ‘Widget’ does not name a type
/usr/autodesk/maya2008-x64/include/maya/M3dView.h:125: error: ‘Window’ does not name a type
/usr/autodesk/maya2008-x64/include/maya/M3dView.h:313: error: ISO C++ forbids declaration of ‘Display’ with no type
/usr/autodesk/maya2008-x64/include/maya/M3dView.h:313: error: expected ‘;’ before ‘*’ token
/usr/autodesk/maya2008-x64/include/maya/M3dView.h:315: error: ‘GLXContext’ does not name a type
/usr/autodesk/maya2008-x64/include/maya/M3dView.h:326: error: ‘MWindow’ does not name a type
/usr/autodesk/maya2008-x64/include/maya/M3dView.h:329: error: ‘M3dWindow’ does not name a type
/usr/autodesk/maya2008-x64/include/maya/M3dView.h:353: error: ‘GLuint’ has not been declared
/usr/autodesk/maya2008-x64/include/maya/M3dView.h:353: error: ‘GLsizei’ has not been declared
/usr/autodesk/maya2008-x64/include/maya/M3dView.h:355: error: ‘GLint’ does not name a type
/usr/autodesk/maya2008-x64/include/maya/M3dView.h:361: error: ‘GLuint’ has not been declared
/usr/autodesk/maya2008-x64/include/maya/M3dView.h:363: error: ‘GLuint’ has not been declared
/usr/autodesk/maya2008-x64/include/maya/M3dView.h:440: error: ‘TRUE’ was not declared in this scope
In file included from ../include/liqRibData.h:47,
from ../include/liqRibNode.h:52,
from ../include/liqRibHT.h:40,
from ../include/liqRibTranslator.h:40,
from liquidPlug.cpp:58:
../include/liqTokenPointer.h:78: error: ‘RtFloat’ has not been declared
../include/liqTokenPointer.h:79: error: ‘RtFloat’ has not been declared
../include/liqTokenPointer.h:80: error: ‘RtFloat’ has not been declared
../include/liqTokenPointer.h:80: error: ‘RtFloat’ has not been declared
../include/liqTokenPointer.h:80: error: ‘RtFloat’ has not been declared
../include/liqTokenPointer.h:81: error: ‘RtFloat’ has not been declared
../include/liqTokenPointer.h:81: error: ‘RtFloat’ has not been declared
../include/liqTokenPointer.h:81: error: ‘RtFloat’ has not been declared
../include/liqTokenPointer.h:81: error: ‘RtFloat’ has not been declared
../include/liqTokenPointer.h:82: error: ‘RtFloat’ was not declared in this scope
../include/liqTokenPointer.h:82: error: template argument 1 is invalid
../include/liqTokenPointer.h:83: error: expected ‘,’ or ‘...’ before ‘*’ token
../include/liqTokenPointer.h:83: error: ISO C++ forbids declaration of ‘RtFloat’ with no type
../include/liqTokenPointer.h:83: error: ‘void liqTokenPointer::setTokenFloats(int)’ cannot be overloaded
../include/liqTokenPointer.h:82: error: with ‘void liqTokenPointer::setTokenFloats(int)’
../include/liqTokenPointer.h:88: error: ISO C++ forbids declaration of ‘RtFloat’ with no type
../include/liqTokenPointer.h:88: error: expected ‘;’ before ‘*’ token
../include/liqTokenPointer.h:89: error: ‘RtFloat’ was not declared in this scope
../include/liqTokenPointer.h:89: error: template argument 1 is invalid
../include/liqTokenPointer.h:89: warning: type qualifiers ignored on function return type
../include/liqTokenPointer.h:92: error: ‘RtPointer’ does not name a type
../include/liqTokenPointer.h:102: error: ‘RtFloat’ was not declared in this scope
../include/liqTokenPointer.h:102: error: template argument 1 is invalid
../include/liqTokenPointer.h:104: error: ‘RtString’ was not declared in this scope
../include/liqTokenPointer.h:104: error: template argument 1 is invalid
In file included from ../include/liqRibNode.h:53,
from ../include/liqRibHT.h:40,
from ../include/liqRibTranslator.h:40,
from liquidPlug.cpp:58:
../include/liqRibObj.h:68: error: ‘RtObjectHandle’ has not been declared
../include/liqRibObj.h:70: error: ‘RtObjectHandle’ does not name a type
../include/liqRibObj.h:71: error: ‘RtLightHandle’ does not name a type
../include/liqRibObj.h:76: error: ‘RtObjectHandle’ does not name a type
In file included from ../include/liqRibHT.h:40,
from ../include/liqRibTranslator.h:40,
from liquidPlug.cpp:58:
../include/liqRibNode.h:115: error: ‘RtBound’ does not name a type
../include/liqRibNode.h:116: error: ‘RtBound’ does not name a type
In file included from ../include/liqRibTranslator.h:41,
from liquidPlug.cpp:58:
../include/liqShader.h:59: error: ‘RtColor’ does not name a type
../include/liqShader.h:60: error: ‘RtColor’ does not name a type
../include/liqShader.h:62: error: ‘RtFloat’ does not name a type
../include/liqShader.h:64: error: ‘RtFloat’ does not name a type
In file included from ../include/liqRibTranslator.h:43,
from liquidPlug.cpp:58:
../include/liqRibLightData.h:49: error: ‘RtLightHandle’ does not name a type
../include/liqRibLightData.h:60: error: ‘RtFloat’ does not name a type
../include/liqRibLightData.h:61: error: ‘RtFloat’ does not name a type
../include/liqRibLightData.h:62: error: ‘RtFloat’ does not name a type
../include/liqRibLightData.h:65: error: ‘RtFloat’ does not name a type
../include/liqRibLightData.h:66: error: ‘RtFloat’ does not name a type
../include/liqRibLightData.h:67: error: ‘RtFloat’ does not name a type
../include/liqRibLightData.h:68: error: ‘RtFloat’ does not name a type
../include/liqRibLightData.h:69: error: ‘RtFloat’ does not name a type
../include/liqRibLightData.h:71: error: ‘RtFloat’ does not name a type
../include/liqRibLightData.h:72: error: ‘RtFloat’ does not name a type
../include/liqRibLightData.h:73: error: ‘RtFloat’ does not name a type
../include/liqRibLightData.h:74: error: ‘RtFloat’ does not name a type
../include/liqRibLightData.h:75: error: ‘RtFloat’ does not name a type
../include/liqRibLightData.h:76: error: ‘RtFloat’ does not name a type
../include/liqRibLightData.h:77: error: ‘RtFloat’ does not name a type
../include/liqRibLightData.h:78: error: ‘RtFloat’ does not name a type
../include/liqRibLightData.h:79: error: ‘RtFloat’ does not name a type
../include/liqRibLightData.h:80: error: ‘RtFloat’ does not name a type
../include/liqRibLightData.h:81: error: ‘RtFloat’ does not name a type
../include/liqRibLightData.h:82: error: ‘RtFloat’ does not name a type
../include/liqRibLightData.h:83: error: ‘RtFloat’ does not name a type
../include/liqRibLightData.h:87: error: ‘RtFloat’ does not name a type
../include/liqRibLightData.h:89: error: ‘RtFloat’ does not name a type
../include/liqRibLightData.h:90: error: ‘RtFloat’ does not name a type
../include/liqRibLightData.h:92: error: ‘RtMatrix’ does not name a type
../include/liqRibLightData.h:94: error: ‘RtLightHandle’ does not name a type
../include/liqRibLightData.h:98: error: ‘RtInt’ does not name a type
../include/liqRibLightData.h:99: error: ‘RtFloat’ does not name a type
../include/liqRibLightData.h:101: error: ‘RtFloat’ does not name a type
../include/liqRibLightData.h:120: error: ‘RtFloat’ does not name a type
../include/liqRibLightData.h:121: error: ‘RtFloat’ does not name a type
../include/liqRibLightData.h:122: error: ‘RtFloat’ does not name a type
../include/liqRibLightData.h:123: error: ‘RtColor’ does not name a type
../include/liqRibLightData.h:125: error: ‘RtFloat’ does not name a type
In file included from liquidPlug.cpp:72:
../include/liqGlobalHelpers.h:78: error: ‘RtToken’ has not been declared
../include/liqGlobalHelpers.h:78: error: ‘RtPointer’ has not been declared
../include/liqGlobalHelpers.h:79: error: ‘RtToken’ has not been declared
../include/liqGlobalHelpers.h:79: error: ‘RtPointer’ has not been declared
../include/liqGlobalHelpers.h:105: error: expected constructor, destructor, or type conversion before ‘&’ token
make: *** [../bin/fedora/debug/aqsis/2009/liquidPlug.o] Error 1
I'm a complete noob at this but it looks pretty bad... Am I wrong?
Distribution: PCLinuxOS2023 CentOS7.9 + 50+ other Linux OS, for test only.
Posts: 17,486
Rep:
liquidPlug.cpp:48:16: error: ri.h: No such file or directory
'ri.h' : should be in 'aqsis-devel', /usr/include/aqsis/ri.h
X11/Intrinsic.h: No such file or directory
'libXt-devel' : /usr/include/X11/Intrinsic.h
................
If the packages are installed, you may have to edit some programs,
but I can't find a good reference for the two files :
( I tried ' grep -R Intrinsic ./* ' and ' grep -R "\ri.h\ " ./* ' )
So the alternative can be
# ln -s /usr/include/aqsis/ri.h /usr/local/include/ri.h
and similar for Intrinsic.h .
.....
Here's an update... I realised the version I was compiling for was for Maya 2009... The animalia trunk from the liquidmaya svn. I tried all other branches and they failed to compile because they refused on x86-64. Animalia was the only one with 64 bit instruction.
Edited the commondefs.mk file as per knudfl's instructions..(Thankyou!!)
So I upgraded to Maya 09 64 bit PLE. And now when I try and compile I get this:
Distribution: PCLinuxOS2023 CentOS7.9 + 50+ other Linux OS, for test only.
Posts: 17,486
Rep:
It is mostly one long command ending with
-L/usr/lib -o .cpp
I.e.: -o : no object specified.
.cpp : No file with that name.
So that is a very poor 'Makefile'.
( Have a look at one of the other Makefile's
to see the difference.)
And which Makefile caused this ? root@silver src ?
.....
Another thing : don't run make as root. Keep the
source code in /home/"user". Much safer and also
much more convenient.
.....
Distribution: PCLinuxOS2023 CentOS7.9 + 50+ other Linux OS, for test only.
Posts: 17,486
Rep:
Sorry, I can't see what is wrong with the Makefile.
You can try this in liquidmaya/branches/animalia/trunk/src
make lib
make liquidPlug
make liqRibTranslator
Or : cd liquidmaya/branches/animalia/trunk/scripts
# sh installLiquidMaya.sh
.....
And read 'commondefs.mk' line for line, and edit it to
fit your system and extra stuff like 'pixie' etc.
.....
I give up... Its so frustrating... But I would like to thank knudfl for all the great advice...
copied ri.h into the aqsis install folder... but still no luck
Here's where I'm stuck now... I've posted directly in the liquidmaya forum... Lets see if I get any reply...
Code:
[giodoc@silver src]$ make release
../commonrules.mk:40: warning: overriding commands for target `../bin/fedora/debug/aqsis/2009'
../commonrules.mk:32: warning: ignoring old commands for target `../bin/fedora/debug/aqsis/2009'
../commonrules.mk:49: warning: overriding commands for target `clean'
Makefile:260: warning: ignoring old commands for target `clean'
../commonrules.mk:53: warning: overriding commands for target `cleandist'
Makefile:264: warning: ignoring old commands for target `cleandist'
../bin/fedora/debug/aqsis/2009/liquidPlug.o
g++ -c -I. -I.. -I/usr/autodesk/maya2008-x64/include -I${AQSIS_BASE_PATH:=/usr/share/aqsis}/include -I../include -DLIQUIDVERSION=\"" "2.3.5" "for" "aqsis," "13." "May." "2009" ":" "12:07" "\" -fmessage-length=0 -Os -pthread -fno-gnu-keywords --fast-math -fPIC -DLINUX -D__USER__=DEV_USER -D__HOST__=DEV_HOST -DDELIGHT -D__PROJECTNAME__=DEV_PROJECT -D__BUILDVERSION__=DEV_VERSION -DNDEBUG -DREQUIRE_IOSTREAM -D_BOOL -DAQSIS -Wall -W -Wno-comment -Wpointer-arith -Wno-inline -Woverloaded-virtual -Wno-sign-compare -Wno-parentheses -Wno-deprecated -DREQUIRE_IOSTREAM -o ../bin/fedora/debug/aqsis/2009/liquidPlug.o liquidPlug.cpp
liquidPlug.cpp:48:16: error: ri.h: No such file or directory
In file included from ../include/liqRibData.h:47,
from ../include/liqRibNode.h:52,
from ../include/liqRibHT.h:40,
from ../include/liqRibTranslator.h:40,
from liquidPlug.cpp:58:
../include/liqTokenPointer.h:78: error: ‘RtFloat’ has not been declared
../include/liqTokenPointer.h:79: error: ‘RtFloat’ has not been declared
../include/liqTokenPointer.h:80: error: ‘RtFloat’ has not been declared
../include/liqTokenPointer.h:80: error: ‘RtFloat’ has not been declared
../include/liqTokenPointer.h:80: error: ‘RtFloat’ has not been declared
../include/liqTokenPointer.h:81: error: ‘RtFloat’ has not been declared
../include/liqTokenPointer.h:81: error: ‘RtFloat’ has not been declared
../include/liqTokenPointer.h:81: error: ‘RtFloat’ has not been declared
../include/liqTokenPointer.h:81: error: ‘RtFloat’ has not been declared
../include/liqTokenPointer.h:82: error: ‘RtFloat’ was not declared in this scope
../include/liqTokenPointer.h:82: error: template argument 1 is invalid
../include/liqTokenPointer.h:83: error: expected ‘,’ or ‘...’ before ‘*’ token
../include/liqTokenPointer.h:83: error: ISO C++ forbids declaration of ‘RtFloat’ with no type
../include/liqTokenPointer.h:83: error: ‘void liqTokenPointer::setTokenFloats(int)’ cannot be overloaded
../include/liqTokenPointer.h:82: error: with ‘void liqTokenPointer::setTokenFloats(int)’
../include/liqTokenPointer.h:88: error: ISO C++ forbids declaration of ‘RtFloat’ with no type
../include/liqTokenPointer.h:88: error: expected ‘;’ before ‘*’ token
../include/liqTokenPointer.h:89: error: ‘RtFloat’ was not declared in this scope
../include/liqTokenPointer.h:89: error: template argument 1 is invalid
../include/liqTokenPointer.h:89: warning: type qualifiers ignored on function return type
../include/liqTokenPointer.h:92: error: ‘RtPointer’ does not name a type
../include/liqTokenPointer.h:102: error: ‘RtFloat’ was not declared in this scope
../include/liqTokenPointer.h:102: error: template argument 1 is invalid
../include/liqTokenPointer.h:104: error: ‘RtString’ was not declared in this scope
../include/liqTokenPointer.h:104: error: template argument 1 is invalid
In file included from ../include/liqRibNode.h:53,
from ../include/liqRibHT.h:40,
from ../include/liqRibTranslator.h:40,
from liquidPlug.cpp:58:
../include/liqRibObj.h:68: error: ‘RtObjectHandle’ has not been declared
../include/liqRibObj.h:70: error: ‘RtObjectHandle’ does not name a type
../include/liqRibObj.h:71: error: ‘RtLightHandle’ does not name a type
../include/liqRibObj.h:76: error: ‘RtObjectHandle’ does not name a type
In file included from ../include/liqRibHT.h:40,
from ../include/liqRibTranslator.h:40,
from liquidPlug.cpp:58:
../include/liqRibNode.h:115: error: ‘RtBound’ does not name a type
../include/liqRibNode.h:116: error: ‘RtBound’ does not name a type
In file included from ../include/liqRibTranslator.h:41,
from liquidPlug.cpp:58:
../include/liqShader.h:59: error: ‘RtColor’ does not name a type
../include/liqShader.h:60: error: ‘RtColor’ does not name a type
../include/liqShader.h:62: error: ‘RtFloat’ does not name a type
../include/liqShader.h:64: error: ‘RtFloat’ does not name a type
In file included from ../include/liqRibTranslator.h:43,
from liquidPlug.cpp:58:
../include/liqRibLightData.h:49: error: ‘RtLightHandle’ does not name a type
../include/liqRibLightData.h:60: error: ‘RtFloat’ does not name a type
../include/liqRibLightData.h:61: error: ‘RtFloat’ does not name a type
../include/liqRibLightData.h:62: error: ‘RtFloat’ does not name a type
../include/liqRibLightData.h:65: error: ‘RtFloat’ does not name a type
../include/liqRibLightData.h:66: error: ‘RtFloat’ does not name a type
../include/liqRibLightData.h:67: error: ‘RtFloat’ does not name a type
../include/liqRibLightData.h:68: error: ‘RtFloat’ does not name a type
../include/liqRibLightData.h:69: error: ‘RtFloat’ does not name a type
../include/liqRibLightData.h:71: error: ‘RtFloat’ does not name a type
../include/liqRibLightData.h:72: error: ‘RtFloat’ does not name a type
../include/liqRibLightData.h:73: error: ‘RtFloat’ does not name a type
../include/liqRibLightData.h:74: error: ‘RtFloat’ does not name a type
../include/liqRibLightData.h:75: error: ‘RtFloat’ does not name a type
../include/liqRibLightData.h:76: error: ‘RtFloat’ does not name a type
../include/liqRibLightData.h:77: error: ‘RtFloat’ does not name a type
../include/liqRibLightData.h:78: error: ‘RtFloat’ does not name a type
../include/liqRibLightData.h:79: error: ‘RtFloat’ does not name a type
../include/liqRibLightData.h:80: error: ‘RtFloat’ does not name a type
../include/liqRibLightData.h:81: error: ‘RtFloat’ does not name a type
../include/liqRibLightData.h:82: error: ‘RtFloat’ does not name a type
../include/liqRibLightData.h:83: error: ‘RtFloat’ does not name a type
../include/liqRibLightData.h:87: error: ‘RtFloat’ does not name a type
../include/liqRibLightData.h:89: error: ‘RtFloat’ does not name a type
../include/liqRibLightData.h:90: error: ‘RtFloat’ does not name a type
../include/liqRibLightData.h:92: error: ‘RtMatrix’ does not name a type
../include/liqRibLightData.h:94: error: ‘RtLightHandle’ does not name a type
../include/liqRibLightData.h:98: error: ‘RtInt’ does not name a type
../include/liqRibLightData.h:99: error: ‘RtFloat’ does not name a type
../include/liqRibLightData.h:101: error: ‘RtFloat’ does not name a type
../include/liqRibLightData.h:120: error: ‘RtFloat’ does not name a type
../include/liqRibLightData.h:121: error: ‘RtFloat’ does not name a type
../include/liqRibLightData.h:122: error: ‘RtFloat’ does not name a type
../include/liqRibLightData.h:123: error: ‘RtColor’ does not name a type
../include/liqRibLightData.h:125: error: ‘RtFloat’ does not name a type
In file included from liquidPlug.cpp:72:
../include/liqGlobalHelpers.h:78: error: ‘RtToken’ has not been declared
../include/liqGlobalHelpers.h:78: error: ‘RtPointer’ has not been declared
../include/liqGlobalHelpers.h:79: error: ‘RtToken’ has not been declared
../include/liqGlobalHelpers.h:79: error: ‘RtPointer’ has not been declared
../include/liqGlobalHelpers.h:105: error: expected constructor, destructor, or type conversion before ‘&’ token
make: *** [../bin/fedora/debug/aqsis/2009/liquidPlug.o] Error 1
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.