Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
I am trying to install a program and it spews out an error about the .obj/matrix.o file.
The output is quoted here:
Code:
[root@robot007 Graspit]# make
g++ -c -m64 -pipe -g -Wall -W -D_REENTRANT -DGRASPIT_COLLISION -DQT_QT3SUPPORT_LIB -DQT3_SUPPORT -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I/usr/lib64/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/QtCore -I/usr/include/QtNetwork -I/usr/include/QtGui -I/usr/include/Qt3Support -I/usr/include -I/usr/include/QtAssistantClient -I/usr/include/QtAssistant -I/usr/lib64/qt4/include -I/usr/local/Coin/include -Iqhull -Isrc -Isrc/Collision -Iinclude -Iinclude/math -Iinclude/Planner -Iinclude/EGPlanner -Iui -Iui/Planner -Iui/EGPlanner -Isrc/Collision/Graspit -Iui -Iui/Planner -Iui/EGPlanner -Itinyxml -I.moc -Iui -o .obj/matrix.o src/math/matrix.cpp
In file included from src/math/matrix.cpp:26:
include/math/matrix.h:114: error: ‘stderr’ was not declared in this scope
src/math/matrix.cpp: In member function ‘int Matrix::rank() const’:
src/math/matrix.cpp:349: warning: deprecated conversion from string constant to ‘char*’
src/math/matrix.cpp:349: warning: deprecated conversion from string constant to ‘char*’
src/math/matrix.cpp: In function ‘int underDeterminedSolveSVD(Matrix&, Matrix&, Matrix&)’:
src/math/matrix.cpp:667: warning: deprecated conversion from string constant to ‘char*’
src/math/matrix.cpp:667: warning: deprecated conversion from string constant to ‘char*’
src/math/matrix.cpp: In function ‘int underDeterminedSolveQR(Matrix&, Matrix&, Matrix&)’:
src/math/matrix.cpp:764: warning: deprecated co
nversion from string constant to ‘char*’
src/math/matrix.cpp:764: warning: deprecated conversion from string constant to ‘char*’
src/math/matrix.cpp:764: warning: deprecated conversion from string constant to ‘char*’
src/math/matrix.cpp: At global scope:
src/math/matrix.cpp:849: warning: unused parameter ‘objVal’
src/math/matrix.cpp: In function ‘void testQP()’:
src/math/matrix.cpp:964: warning: unused variable ‘objVal’
src/math/matrix.cpp: At global scope:
src/math/matrix.cpp:985: warning: unused parameter ‘objVal’
make: *** [.obj/matrix.o] Error 1
To be more specific, here lists more information:
OS: RHEL 6 /64bit
Kernel: 2.6.32-71.el6.x86_64
Qt: Qt4
The program I was trying to install is a robot simulator which performs lots of matrix manipulation and linear system solving. I followed every step in the installation guide, except for this one:
Quote:
On Ubuntu, all you need to do is install the following packages from the package manager:
libblas-dev
liblapack-dev
As shown above, I am using RHEL 6, which has different libraries with Ubuntu. I tried "yum search" and installed these libraries instead:
lapack.x86_64 : Numerical linear algebra package libraries
blas.x86_64 : The Basic Linear Algebra Subprograms library
For the last step, I typed make and got those errors. I searched online but found no related topics. Hope someone here would have some idea and give me some suggestions.
So I'm actually trying to install the same program and got the same error (that's what led me to this page). I fixed the initial error but now I'm getting this one.
Code:
ui/mainWindow.cpp:38: fatal error: QAssistantClient: No such file or directory
compilation terminated.
Did you encounter this error? If so, how did you fix it?
I read somewhere on the Internet that the newest versions of Qt don't use QAssistant client anymore. Could that be the problem?
The weird thing is that I was able to get this program up and running last week on a different computer (same hardware, same OS, using the same procedure).
I downloaded it from this website (the Linux version). http://www.cs.columbia.edu/~cmatei/g...oad/getit.html So I guess it's graspit-2.1.0. I feel like there was something I did in the installation of the prerequisite programs even though all I did was follow the instructions in the manual.
(Also, sorry to ifonly for hijacking your thread.)
I made one workaround : cd /usr/include/
# ln -s Coin2/Inventor
Build requirements used :
Coin2-2.5.0-10.el6.x86_64.rpm Coin2-devel-2.5.0-10.el6.x86_64.rpm
SoQt-1.5.0-1.el6.x86_64.rpm SoQt-devel-1.5.0-1.el6.x86_64.rpm
( Created from the Fedora 14 SRC RPMS.)
I read somewhere on the Internet that the newest versions of Qt don't use QAssistant client anymore. Could that be the problem?
The weird thing is that I was able to get this program up and running last week on a different computer (same hardware, same OS, using the same procedure).
Did you set the environment variable QTDIR and PATH properly?
Graspit2.1.0 runs well on my RHEL6 x64, with Qt 4.6.2, SoQt 1.5.0, and Coin 2.5.0.
The QTDIR on my computer is /usr/lib64/qt4
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.