Dear all,
I did the below post some time ago, no replies came and now I am looking into that again, I definitely need gmsh as my top, user-friendly mesh-generator, could you be so kind to look into that, I guess there is a linking problem related to opengl libraries.
Best,
Umut


--- Begin Message ---
Dear all,

I tried to build gmsh on my brand new amd powered desktop, however the linking process ends with

~/externalPrograms/gmsh-2.4.2-source$ make
Linking CXX executable gmsh
CMakeFiles/gmsh.dir/Graphics/drawContext.cpp.o: In function `drawContext::world2Viewport(double*, double*)': /home/utab/externalPrograms/gmsh-2.4.2-source/Graphics/drawContext.cpp:645: undefined reference to `gluProject' CMakeFiles/gmsh.dir/Graphics/drawContext.cpp.o: In function `drawContext::viewport2World(double*, double*)': /home/utab/externalPrograms/gmsh-2.4.2-source/Graphics/drawContext.cpp:635: undefined reference to `gluUnProject' CMakeFiles/gmsh.dir/Graphics/drawContext.cpp.o: In function `drawContext::unproject(double, double, double*, double*)': /home/utab/externalPrograms/gmsh-2.4.2-source/Graphics/drawContext.cpp:611: undefined reference to `gluUnProject' /home/utab/externalPrograms/gmsh-2.4.2-source/Graphics/drawContext.cpp:613: undefined reference to `gluUnProject' CMakeFiles/gmsh.dir/Graphics/drawContext.cpp.o: In function `drawContext::createQuadricsAndDisplayLists()': /home/utab/externalPrograms/gmsh-2.4.2-source/Graphics/drawContext.cpp:81: undefined reference to `gluSphere' /home/utab/externalPrograms/gmsh-2.4.2-source/Graphics/drawContext.cpp:99: undefined reference to `gluDisk' /home/utab/externalPrograms/gmsh-2.4.2-source/Graphics/drawContext.cpp:91: undefined reference to `gluCylinder' /home/utab/externalPrograms/gmsh-2.4.2-source/Graphics/drawContext.cpp:106: undefined reference to `gluCylinder' /home/utab/externalPrograms/gmsh-2.4.2-source/Graphics/drawContext.cpp:108: undefined reference to `gluDisk' /home/utab/externalPrograms/gmsh-2.4.2-source/Graphics/drawContext.cpp:65: undefined reference to `gluNewQuadric'
CMakeFiles/gmsh.dir/Graphics/drawContext.cpp.o: In function `~drawContext':
/home/utab/externalPrograms/gmsh-2.4.2-source/Graphics/drawContext.cpp:53: undefined reference to `gluDeleteQuadric' CMakeFiles/gmsh.dir/Graphics/drawContext.cpp.o: In function `drawContext::initProjection(int, int, int, int)': /home/utab/externalPrograms/gmsh-2.4.2-source/Graphics/drawContext.cpp:344: undefined reference to `gluPickMatrix'
CMakeFiles/gmsh.dir/Graphics/drawContext.cpp.o: In function `~drawContext':
/home/utab/externalPrograms/gmsh-2.4.2-source/Graphics/drawContext.cpp:53: undefined reference to `gluDeleteQuadric' CMakeFiles/gmsh.dir/Graphics/drawGlyph.cpp.o: In function `drawContext::drawSphere(double, double, double, double, int, int, int)': /home/utab/externalPrograms/gmsh-2.4.2-source/Graphics/drawGlyph.cpp:126: undefined reference to `gluSphere' CMakeFiles/gmsh.dir/Graphics/drawGlyph.cpp.o: In function `drawContext::drawTaperedCylinder(double, double, double, double, double, double*, double*, double*, int)': /home/utab/externalPrograms/gmsh-2.4.2-source/Graphics/drawGlyph.cpp:172: undefined reference to `gluCylinder' CMakeFiles/gmsh.dir/Graphics/drawGlyph.cpp.o: In function `drawContext::drawCylinder(double, double*, double*, double*, int)': /home/utab/externalPrograms/gmsh-2.4.2-source/Graphics/drawGlyph.cpp:202: undefined reference to `gluCylinder'
collect2: ld returned 1 exit status
make[2]: *** [gmsh] Error 1
make[1]: *** [CMakeFiles/gmsh.dir/all] Error 2
make: *** [all] Error 2

any ideas on why i fail linking the binary? It can not find some functions to link apparently but I could not solve that myself for the moment.

Best,
Umut


--- End Message ---
_______________________________________________
gmsh mailing list
[email protected]
http://www.geuz.org/mailman/listinfo/gmsh

Reply via email to