|Message: Re: Error: undefined reference to 'gluErrorString'||Not Logged In (login)|
Click on the Forum title, e.g. on the "Forums by Category" page, to read a sequence of postings to the Forum and its threads all in one page. If you are only interested in one thread or the thread following a specific posting, click the thread or the posting, which takes you to a smaller page, which contains only the part you are interested in and may be easier to navigate.
Messages are "chained" if there are only replies at the first level, i.e. 1/1.html, 1/1/1.html etc. In case of "chained" messages the message number is replaced by the icon and there is no indentation.
Inline: Display the subject line only or also the text of the posting(s); for the choice "All" the "Outline" choices are switched off.
|1||0||1||no text / full text of posting|
|2||1||All||text for level 1 only / text for All postings|
Outline: Choose the depth of the posting thread, successive toggle controls provide increasing detail.
|1||2||1||2 levels / 1 level (original posting)|
|2||3||2||3 levels / 2 levels|
|3||3||All||3 levels / all levels (all postings)|
On Wed, 18 Jun 2014 16:34:54 GMT, Laurel Stothers wrote: > > ... > > Next, I moved on to building example B1. Following the installation > guide, I used: > $ cd $HOME/B1-build > $ cmake -DGeant4_DIR=/home/you/geant4-install/lib64/Geant4-10.0.0 > $HOME/B1 > > which did indeed generate the anticipated Makefiles. I see the same > ouput as outlined in the manual, with zero errors. > > Problems arise when I build the example by running: > $ make -j4 > > This command produces the following output: > > $ make -j4 > Scanning dependencies of target exampleB1 > [ 25%] [ 25%] [ 37%] [ 50%] Building CXX object > CMakeFiles/exampleB1.dir/exampleB1.cc.o > Building CXX object CMakeFiles/exampleB1.dir/src/B1SteppingAction.cc.o > Building CXX object > CMakeFiles/exampleB1.dir/src/B1PrimaryGeneratorAction.cc.o > Building CXX object > CMakeFiles/exampleB1.dir/src/B1DetectorConstruction.cc.o > [ 62%] Building CXX object CMakeFiles/exampleB1.dir/src/B1Run.cc.o > [ 75%] Building CXX object CMakeFiles/exampleB1.dir/src/B1RunAction.cc.o > [ 87%] Building CXX object > CMakeFiles/exampleB1.dir/src/B1EventAction.cc.o > [100%] Building CXX object > CMakeFiles/exampleB1.dir/src/B1ActionInitialization.cc.o > Linking CXX executable exampleB1 > /media/e2f0ca0b-23a6-4896-b1ca-ef81c8fd541c/geant4.10.0-install/lib/libG4OpenGL.so: > error: undefined reference to 'gluPickMatrix' > /media/e2f0ca0b-23a6-4896-b1ca-ef81c8fd541c/geant4.10.0-install/lib/libG4OpenGL.so: > error: undefined reference to 'gluLookAt' > /media/e2f0ca0b-23a6-4896-b1ca-ef81c8fd541c/geant4.10.0-install/lib/libG4OpenGL.so: > error: undefined reference to 'gluErrorString' > collect2: ld returned 1 exit status > make: *** [exampleB1] Error 1 > make: *** [CMakeFiles/exampleB1.dir/all] Error 2 > make: *** [all] Error 2 > > > How should I proceed? I have tried setting manual links to the glu > headers, running -jN with different N's, changing libraries to static > etc. I can't seem to find the solution. > Thanks! > > Laurel >
All I can spot in the above is that there's an apparent mismatch in the path you supply as