Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cmake failed #149

Closed
Tortes opened this issue Jan 16, 2019 · 0 comments
Closed

Cmake failed #149

Tortes opened this issue Jan 16, 2019 · 0 comments

Comments

@Tortes
Copy link

Tortes commented Jan 16, 2019

Hi
I'm using Ubuntu16.04 to build the graspit, and i have installed the Qt4.7, Coin and SoQt
The package in #70 is also installed.

The error message is as below:

-- soqt_config failed? 0
-- Looking for sgemm_
-- Looking for sgemm_ - found
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE  
-- A library with BLAS API found.
-- A library with BLAS API found.
-- Looking for cheev_
-- Looking for cheev_ - found
-- A library with LAPACK API found.
-- Found Eigen3: /usr/include/eigen3 (Required is at least version "2.91.0") 
-- Looking for Q_WS_X11
-- Looking for Q_WS_X11 - found
-- Looking for Q_WS_WIN
-- Looking for Q_WS_WIN - not found
-- Looking for Q_WS_QWS
-- Looking for Q_WS_QWS - not found
-- Looking for Q_WS_MAC
-- Looking for Q_WS_MAC - not found
-- Found Qt4: /usr/local/Trolltech/Qt-4.7.4/bin/qmake (found version "4.7.4") 
-- Configuring done
-- Generating done
-- Build files have been written to: /home/tortes/Desktop/graspit/build

And the error message in make is as below:

/home/tortes/Desktop/graspit/src/ivmgr.cpp: In member function ‘void IVmgr::transRot(DraggerInfo*)’:
/home/tortes/Desktop/graspit/src/ivmgr.cpp:673:60: error: no match for ‘operator[]’ (operand types are ‘const SbRotation’ and ‘int’)
     desiredRotation.x() = myCenterball->rotation.getValue()[0];
                                                            ^
/home/tortes/Desktop/graspit/src/ivmgr.cpp:674:60: error: no match for ‘operator[]’ (operand types are ‘const SbRotation’ and ‘int’)
     desiredRotation.y() = myCenterball->rotation.getValue()[1];
                                                            ^
/home/tortes/Desktop/graspit/src/ivmgr.cpp:675:60: error: no match for ‘operator[]’ (operand types are ‘const SbRotation’ and ‘int’)
     desiredRotation.z() = myCenterball->rotation.getValue()[2];
                                                            ^
/home/tortes/Desktop/graspit/src/ivmgr.cpp:676:60: error: no match for ‘operator[]’ (operand types are ‘const SbRotation’ and ‘int’)
     desiredRotation.w() = myCenterball->rotation.getValue()[3];

Thanks for any help

@Tortes Tortes closed this as completed Jan 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant