LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 09-06-2009, 05:09 PM   #1
joesc
LQ Newbie
 
Registered: Sep 2009
Posts: 4

Rep: Reputation: 1
Polyworld


hello i need help with a build error. when going to my polyworld directory and typing "make" i get only this and it does not build

HELP

---------------------------------
--- BUILDING: Polyworld Project
---------------------------------
</polyworld/.bld/app/Makefile: polyworld.pro>
mkdir -p /polyworld/.bld/app
mkdir -p /polyworld/.bld/PwMoviePlayer
mkdir -p /polyworld/.bld/CalcComplexity
mkdir -p /polyworld/.bld/pwtxt
mkdir -p /polyworld/bin
qmake polyworld.pro -o /polyworld/.bld/app/Makefile "TARGET=Polyworld"
Project MESSAGE: compiling for Linux
cd /polyworld/.bld/app/ && make --file Makefile
make[1]: Entering directory `/polyworld/.bld/app'
gcc -c -pipe -Wno-deprecated -fopenmp -g -D_GLIBCXX_DEBUG_PEDANTIC -Wno-deprecated -fopenmp -Wall -W -D_REENTRANT -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I/polyworld -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4 -I/polyworld -I../../agent -I../../app -I../../complexity -I../../environment -I../../graphics -I../../motion -I../../ui -I../../utils -I/usr/include/GL -I/usr/X11R6/include -I/polyworld -I/polyworld -I. -o debug.o /polyworld/app/debug.cp
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
make[1]: *** [debug.o] Error 1
make[1]: Leaving directory `/polyworld/.bld/app'
make: *** [app] Error 2
 
Old 09-06-2009, 06:47 PM   #2
kbp
Senior Member
 
Registered: Aug 2009
Posts: 3,790

Rep: Reputation: 650Reputation: 650Reputation: 650Reputation: 650Reputation: 650Reputation: 650
Hi joesc,

Do you have g++ installed ?

cheers
 
Old 09-06-2009, 06:58 PM   #3
joesc
LQ Newbie
 
Registered: Sep 2009
Posts: 4

Original Poster
Rep: Reputation: 1
now i get this

---------------------------------
--- BUILDING: Polyworld Project
---------------------------------
</polyworld/.bld/app/Makefile: polyworld.pro>
mkdir -p /polyworld/.bld/app
mkdir -p /polyworld/.bld/PwMoviePlayer
mkdir -p /polyworld/.bld/CalcComplexity
mkdir -p /polyworld/.bld/pwtxt
mkdir -p /polyworld/bin
cd /polyworld/.bld/app/ && make --file Makefile
make[1]: Entering directory `/polyworld/.bld/app'
gcc -c -pipe -Wno-deprecated -fopenmp -g -D_GLIBCXX_DEBUG_PEDANTIC -Wno-deprecated -fopenmp -Wall -W -D_REENTRANT -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I/polyworld -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4 -I/polyworld -I../../agent -I../../app -I../../complexity -I../../environment -I../../graphics -I../../motion -I../../ui -I../../utils -I/usr/include/GL -I/usr/X11R6/include -I/polyworld -I/polyworld -I. -o debug.o /polyworld/app/debug.cp
gcc -c -pipe -Wno-deprecated -fopenmp -g -D_GLIBCXX_DEBUG_PEDANTIC -Wno-deprecated -fopenmp -Wall -W -D_REENTRANT -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I/polyworld -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4 -I/polyworld -I../../agent -I../../app -I../../complexity -I../../environment -I../../graphics -I../../motion -I../../ui -I../../utils -I/usr/include/GL -I/usr/X11R6/include -I/polyworld -I/polyworld -I. -o globals.o /polyworld/app/globals.cp
gcc -c -pipe -Wno-deprecated -fopenmp -g -D_GLIBCXX_DEBUG_PEDANTIC -Wno-deprecated -fopenmp -Wall -W -D_REENTRANT -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I/polyworld -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4 -I/polyworld -I../../agent -I../../app -I../../complexity -I../../environment -I../../graphics -I../../motion -I../../ui -I../../utils -I/usr/include/GL -I/usr/X11R6/include -I/polyworld -I/polyworld -I. -o PWApp.o /polyworld/app/PWApp.cp
/polyworld/app/PWApp.cp:337: warning: ignoring #pragma mark
/polyworld/app/PWApp.cp:633: warning: ignoring #pragma mark
/polyworld/app/PWApp.cp:651: warning: ignoring #pragma mark
gcc -c -pipe -Wno-deprecated -fopenmp -g -D_GLIBCXX_DEBUG_PEDANTIC -Wno-deprecated -fopenmp -Wall -W -D_REENTRANT -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I/polyworld -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4 -I/polyworld -I../../agent -I../../app -I../../complexity -I../../environment -I../../graphics -I../../motion -I../../ui -I../../utils -I/usr/include/GL -I/usr/X11R6/include -I/polyworld -I/polyworld -I. -o Simulation.o /polyworld/app/Simulation.cp
In file included from ../../complexity/complexity.h:3,
from /polyworld/app/Simulation.cp:57:
../../complexity/complexity_algorithm.h:4:26: error: gsl/gsl_blas.h: No such file or directory
../../complexity/complexity_algorithm.h:5:28: error: gsl/gsl_matrix.h: No such file or directory
../../complexity/complexity_algorithm.h:6:28: error: gsl/gsl_vector.h: No such file or directory
../../complexity/complexity_algorithm.h:7:28: error: gsl/gsl_linalg.h: No such file or directory
../../complexity/complexity_algorithm.h:12:39: error: gsl/gsl_statistics_double.h: No such file or directory
../../complexity/complexity_algorithm.h:13:25: error: gsl/gsl_rng.h: No such file or directory
../../complexity/complexity_algorithm.h:14:29: error: gsl/gsl_randist.h: No such file or directory
In file included from ../../complexity/complexity.h:3,
from /polyworld/app/Simulation.cp:57:
../../complexity/complexity_algorithm.h:19: error: expected constructor, destructor, or type conversion before ‘*’ token
../../complexity/complexity_algorithm.h:20: error: variable or field ‘dispose_rng’ declared void
../../complexity/complexity_algorithm.h:20: error: ‘gsl_rng’ was not declared in this scope
../../complexity/complexity_algorithm.h:20: error: ‘rng’ was not declared in this scope
../../complexity/complexity_algorithm.h:22: error: ‘gsl_matrix’ was not declared in this scope
../../complexity/complexity_algorithm.h:22: error: expected primary-expression before ‘)’ token
../../complexity/complexity_algorithm.h:23: error: expected constructor, destructor, or type conversion before ‘*’ token
../../complexity/complexity_algorithm.h:24: error: variable or field ‘print_matrix’ declared void
../../complexity/complexity_algorithm.h:24: error: ‘gsl_matrix’ was not declared in this scope
../../complexity/complexity_algorithm.h:24: error: expected primary-expression before ‘)’ token
../../complexity/complexity_algorithm.h:25: error: ‘gsl_matrix’ was not declared in this scope
../../complexity/complexity_algorithm.h:25: error: expected primary-expression before ‘)’ token
../../complexity/complexity_algorithm.h:26: error: ‘gsl_matrix’ was not declared in this scope
../../complexity/complexity_algorithm.h:26: error: ‘foreignCOR’ was not declared in this scope
../../complexity/complexity_algorithm.h:27: error: expected constructor, destructor, or type conversion before ‘*’ token
../../complexity/complexity_algorithm.h:28: error: variable or field ‘print_matrix_row’ declared void
../../complexity/complexity_algorithm.h:28: error: ‘gsl_matrix’ was not declared in this scope
../../complexity/complexity_algorithm.h:28: error: expected primary-expression before ‘,’ token
../../complexity/complexity_algorithm.h:28: error: expected primary-expression before ‘int’
../../complexity/complexity_algorithm.h:29: error: variable or field ‘print_matrix_column’ declared void
../../complexity/complexity_algorithm.h:29: error: ‘gsl_matrix’ was not declared in this scope
../../complexity/complexity_algorithm.h:29: error: expected primary-expression before ‘,’ token
../../complexity/complexity_algorithm.h:29: error: expected primary-expression before ‘int’
../../complexity/complexity_algorithm.h:30: error: expected constructor, destructor, or type conversion before ‘*’ token
../../complexity/complexity_algorithm.h:32: error: expected constructor, destructor, or type conversion before ‘*’ token
../../complexity/complexity_algorithm.h:33: error: expected constructor, destructor, or type conversion before ‘*’ token
../../complexity/complexity_algorithm.h:34: error: expected constructor, destructor, or type conversion before ‘*’ token
../../complexity/complexity_algorithm.h:35: error: ‘gsl_matrix’ was not declared in this scope
../../complexity/complexity_algorithm.h:35: error: expected primary-expression before ‘)’ token
../../complexity/complexity_algorithm.h:36: error: expected constructor, destructor, or type conversion before ‘*’ token
../../complexity/complexity_algorithm.h:38: error: expected constructor, destructor, or type conversion before ‘*’ token
In file included from ../../complexity/complexity.h:4,
from /polyworld/app/Simulation.cp:57:
../../complexity/complexity_brain.h:69: error: ‘gsl_matrix’ was not declared in this scope
../../complexity/complexity_brain.h:69: error: ‘matrix’ was not declared in this scope
../../complexity/complexity_brain.h:70: error: expected primary-expression before ‘const’
../../complexity/complexity_brain.h:71: error: expected primary-expression before ‘long’
../../complexity/complexity_brain.h:71: error: initializer expression list treated as compound expression
../../complexity/complexity_brain.h:76: error: expected constructor, destructor, or type conversion before ‘*’ token
../../complexity/complexity_brain.h:77: error: expected constructor, destructor, or type conversion before ‘*’ token
../../complexity/complexity_brain.h:83: error: expected constructor, destructor, or type conversion before ‘*’ token
make[1]: *** [Simulation.o] Error 1
make[1]: Leaving directory `/polyworld/.bld/app'
make: *** [app] Error 2
 
Old 09-06-2009, 07:02 PM   #4
paulsm4
LQ Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
Uh - so I guess g++ wasn't installed

It sounds like you need to install GSL, too.

SUGGESTION:
I'm not familiar with "polyworld" ...
... but most packages have some kind of "README" file that explains what the prerequisites are.

Does Polyworld have such a file? Did you read the README?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing Polyworld Nicholasw22 Linux - Software 1 06-10-2008 11:20 AM


All times are GMT -5. The time now is 07:24 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration