LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   P.A.L&Slackware (https://www.linuxquestions.org/questions/slackware-14/p-a-l-and-slackware-802214/)

rockslinux 04-15-2010 11:06 AM

P.A.L&Slackware
 
Good time!
Please forgive my bad English.
I am using Slackware 13.

I do not even know where to begin, and what logs / errors show: I am completely confused in the variables, etc.
I can not install PAL http://www.adrianboeing.com/pal/index.html
Like all successful, and the program to compile, but I can not verify this.
I tried premake and one Engine ODE - then I get an error segmentation, when you start paldemo.

If I use cmake, then get this:
Code:

...
[ 46%] Built target libpal
[ 52%] Built target libtest
Linking CXX executable ../bin/paldemo
CMakeFiles/paldemo.dir/test_collision.cpp.o: In function `Test_Collision::AdditionalRender()':
test_collision.cpp:(.text+0x1b77): undefined reference to `glPointSize'
test_collision.cpp:(.text+0x1b88): undefined reference to `glLineWidth'
test_collision.cpp:(.text+0x1ce2): undefined reference to `glColor3f'
test_collision.cpp:(.text+0x1cef): undefined reference to `glBegin'
test_collision.cpp:(.text+0x1d03): undefined reference to `glVertex3f'
test_collision.cpp:(.text+0x1d15): undefined reference to `glVertex3fv'
test_collision.cpp:(.text+0x1d1d): undefined reference to `glEnd'
test_collision.cpp:(.text+0x1d2a): undefined reference to `glDisable'
test_collision.cpp:(.text+0x1d37): undefined reference to `glBegin'
test_collision.cpp:(.text+0x1d4b): undefined reference to `glVertex3f'
test_collision.cpp:(.text+0x1d5d): undefined reference to `glVertex3fv'
test_collision.cpp:(.text+0x1d65): undefined reference to `glEnd'
test_collision.cpp:(.text+0x1d72): undefined reference to `glEnable'
test_collision.cpp:(.text+0x1d9a): undefined reference to `glColor3f'
test_collision.cpp:(.text+0x1da7): undefined reference to `glBegin'
test_collision.cpp:(.text+0x1db9): undefined reference to `glVertex3fv'
test_collision.cpp:(.text+0x1e03): undefined reference to `glVertex3fv'
test_collision.cpp:(.text+0x1e0b): undefined reference to `glEnd'
test_collision.cpp:(.text+0x1e3c): undefined reference to `glDisable'
test_collision.cpp:(.text+0x1ed9): undefined reference to `glColor3f'
test_collision.cpp:(.text+0x1ee6): undefined reference to `glBegin'
test_collision.cpp:(.text+0x1f08): undefined reference to `glVertex3fv'
test_collision.cpp:(.text+0x1f10): undefined reference to `glEnd'
test_collision.cpp:(.text+0x1fa4): undefined reference to `glEnable'
test_collision.cpp:(.text+0x1fb5): undefined reference to `glPointSize'
CMakeFiles/paldemo.dir/test_water.cpp.o: In function `render_water()':
test_water.cpp:(.text+0x15f8): undefined reference to `glColor3f'
test_water.cpp:(.text+0x1605): undefined reference to `glBegin'
test_water.cpp:(.text+0x1676): undefined reference to `glVertex3f'
test_water.cpp:(.text+0x16ad): undefined reference to `glEnd'
CMakeFiles/paldemo.dir/test_water.cpp.o: In function `Test_Water::AdditionalRender()':
test_water.cpp:(.text+0x1719): undefined reference to `glColor3f'
test_water.cpp:(.text+0x1726): undefined reference to `glBegin'
test_water.cpp:(.text+0x17a9): undefined reference to `glVertex3f'
test_water.cpp:(.text+0x1809): undefined reference to `glEnd'
CMakeFiles/paldemo.dir/testmain.cpp.o: In function `main':
testmain.cpp:(.text+0x67e): undefined reference to `SDL_PollEvent'
CMakeFiles/paldemo.dir/testmain.cpp.o: In function `SDLGLEngine::Wireframe(bool)':
testmain.cpp:(.text._ZN11SDLGLEngine9WireframeEb[SDLGLEngine::Wireframe(bool)]+0x20): undefined reference to `glPolygonMode'
testmain.cpp:(.text._ZN11SDLGLEngine9WireframeEb[SDLGLEngine::Wireframe(bool)]+0x37): undefined reference to `glPolygonMode'
CMakeFiles/paldemo.dir/testmain.cpp.o: In function `SDLGLEngine::Transparent(bool)':
testmain.cpp:(.text._ZN11SDLGLEngine11TransparentEb[SDLGLEngine::Transparent(bool)]+0x1a): undefined reference to `glBlendFunc'
testmain.cpp:(.text._ZN11SDLGLEngine11TransparentEb[SDLGLEngine::Transparent(bool)]+0x2a): undefined reference to `glDisable'
testmain.cpp:(.text._ZN11SDLGLEngine11TransparentEb[SDLGLEngine::Transparent(bool)]+0x3a): undefined reference to `glEnable'
testmain.cpp:(.text._ZN11SDLGLEngine11TransparentEb[SDLGLEngine::Transparent(bool)]+0x4c): undefined reference to `glDisable'
testmain.cpp:(.text._ZN11SDLGLEngine11TransparentEb[SDLGLEngine::Transparent(bool)]+0x5c): undefined reference to `glEnable'
../lib/liblibtest.a(sdlgl.cpp.o): In function `SDLGLTexture::SetActive(bool)':
sdlgl.cpp:(.text+0x5a9): undefined reference to `glEnable'
sdlgl.cpp:(.text+0x5bf): undefined reference to `glBindTexture'
sdlgl.cpp:(.text+0x5d1): undefined reference to `glDisable'
../lib/liblibtest.a(sdlgl.cpp.o): In function `SDLGLTexture::Load(char*)':
sdlgl.cpp:(.text+0x5ec): undefined reference to `SDL_RWFromFile'
sdlgl.cpp:(.text+0x5fa): undefined reference to `SDL_LoadBMP_RW'
sdlgl.cpp:(.text+0x61d): undefined reference to `glGenTextures'
sdlgl.cpp:(.text+0x625): undefined reference to `glGetError'
sdlgl.cpp:(.text+0x650): undefined reference to `glPixelStorei'
sdlgl.cpp:(.text+0x666): undefined reference to `glBindTexture'
sdlgl.cpp:(.text+0x66e): undefined reference to `glGetError'
sdlgl.cpp:(.text+0x6bc): undefined reference to `glTexImage2D'
sdlgl.cpp:(.text+0x6c4): undefined reference to `glGetError'
sdlgl.cpp:(.text+0x6f7): undefined reference to `glTexParameteri'
sdlgl.cpp:(.text+0x711): undefined reference to `glTexParameteri'
sdlgl.cpp:(.text+0x725): undefined reference to `SDL_FreeSurface'
../lib/liblibtest.a(sdlgl.cpp.o): In function `SDLGLPoints::Render()':
sdlgl.cpp:(.text+0x73e): undefined reference to `glMatrixMode'
sdlgl.cpp:(.text+0x746): undefined reference to `glPushMatrix'
sdlgl.cpp:(.text+0x755): undefined reference to `glMultMatrixf'
sdlgl.cpp:(.text+0x772): undefined reference to `glColor3f'
sdlgl.cpp:(.text+0x77f): undefined reference to `glBegin'
sdlgl.cpp:(.text+0x804): undefined reference to `glVertex3f'
sdlgl.cpp:(.text+0x81e): undefined reference to `glEnd'
sdlgl.cpp:(.text+0x823): undefined reference to `glPopMatrix'
../lib/liblibtest.a(sdlgl.cpp.o): In function `SDLGLObject::Render()':
sdlgl.cpp:(.text+0x2973): undefined reference to `glMatrixMode'
sdlgl.cpp:(.text+0x297b): undefined reference to `glPushMatrix'
sdlgl.cpp:(.text+0x298a): undefined reference to `glMultMatrixf'
sdlgl.cpp:(.text+0x29a5): undefined reference to `glInterleavedArrays'
sdlgl.cpp:(.text+0x29ad): undefined reference to `glGetError'
sdlgl.cpp:(.text+0x29cf): undefined reference to `glDrawElements'
sdlgl.cpp:(.text+0x29d7): undefined reference to `glGetError'
sdlgl.cpp:(.text+0x29df): undefined reference to `glPopMatrix'
../lib/liblibtest.a(sdlgl.cpp.o): In function `SDLGLEngine::SetViewProj2d(int, int)':
sdlgl.cpp:(.text+0x2c5b): undefined reference to `glMatrixMode'
sdlgl.cpp:(.text+0x2c63): undefined reference to `glLoadIdentity'
sdlgl.cpp:(.text+0x2c70): undefined reference to `glMatrixMode'
sdlgl.cpp:(.text+0x2c78): undefined reference to `glLoadIdentity'
sdlgl.cpp:(.text+0x2cac): undefined reference to `glScalef'
sdlgl.cpp:(.text+0x2ce3): undefined reference to `glTranslatef'
sdlgl.cpp:(.text+0x2cf5): undefined reference to `glViewport'
../lib/liblibtest.a(sdlgl.cpp.o): In function `SDLGLEngine::SetProjMatrix(float, float, float, float)':
sdlgl.cpp:(.text+0x2d0d): undefined reference to `glMatrixMode'
sdlgl.cpp:(.text+0x2d15): undefined reference to `glLoadIdentity'
sdlgl.cpp:(.text+0x2d4e): undefined reference to `gluPerspective'
../lib/liblibtest.a(sdlgl.cpp.o): In function `SDLGLEngine::Resize(int, int)':
sdlgl.cpp:(.text+0x2d69): undefined reference to `glViewport'
sdlgl.cpp:(.text+0x2d79): undefined reference to `glMatrixMode'
sdlgl.cpp:(.text+0x2d81): undefined reference to `glLoadIdentity'
sdlgl.cpp:(.text+0x2db9): undefined reference to `gluPerspective'
sdlgl.cpp:(.text+0x2dc9): undefined reference to `glMatrixMode'
sdlgl.cpp:(.text+0x2dd1): undefined reference to `glLoadIdentity'
../lib/liblibtest.a(sdlgl.cpp.o): In function `SDLGLEngine::SetViewMatrix(float, float, float, float, float, float, float, float, float)':
sdlgl.cpp:(.text+0x2de7): undefined reference to `glMatrixMode'
sdlgl.cpp:(.text+0x2def): undefined reference to `glLoadIdentity'
sdlgl.cpp:(.text+0x2e5b): undefined reference to `gluLookAt'
../lib/liblibtest.a(sdlgl.cpp.o): In function `SDLGLEngine::Flip()':
sdlgl.cpp:(.text+0x2e6b): undefined reference to `SDL_GL_SwapBuffers'
../lib/liblibtest.a(sdlgl.cpp.o): In function `SDLGLEngine::Init(int, int, int, bool)':
sdlgl.cpp:(.text+0x2e84): undefined reference to `SDL_Init'
sdlgl.cpp:(.text+0x2e9f): undefined reference to `SDL_Quit'
sdlgl.cpp:(.text+0x2ecd): undefined reference to `SDL_GL_SetAttribute'
sdlgl.cpp:(.text+0x2edc): undefined reference to `SDL_GL_SetAttribute'
sdlgl.cpp:(.text+0x2eeb): undefined reference to `SDL_GL_SetAttribute'
sdlgl.cpp:(.text+0x2efc): undefined reference to `SDL_GL_SetAttribute'
sdlgl.cpp:(.text+0x2f0b): undefined reference to `SDL_GL_SetAttribute'
../lib/liblibtest.a(sdlgl.cpp.o):sdlgl.cpp:(.text+0x2f1a): more undefined references to `SDL_GL_SetAttribute' follow
../lib/liblibtest.a(sdlgl.cpp.o): In function `SDLGLEngine::Init(int, int, int, bool)':
sdlgl.cpp:(.text+0x2f4c): undefined reference to `SDL_SetVideoMode'
sdlgl.cpp:(.text+0x2f86): undefined reference to `SDL_MapRGBA'
sdlgl.cpp:(.text+0x2f9c): undefined reference to `SDL_FillRect'
sdlgl.cpp:(.text+0x2fd0): undefined reference to `glClearColor'
sdlgl.cpp:(.text+0x2fe7): undefined reference to `glClearDepth'
sdlgl.cpp:(.text+0x2ff7): undefined reference to `glDepthFunc'
sdlgl.cpp:(.text+0x3007): undefined reference to `glEnable'
sdlgl.cpp:(.text+0x3017): undefined reference to `glShadeModel'
sdlgl.cpp:(.text+0x302c): undefined reference to `glHint'
sdlgl.cpp:(.text+0x3034): undefined reference to `glLoadIdentity'
../lib/liblibtest.a(sdlgl.cpp.o): In function `SDLGLEngine::SetTitle(char*)':
sdlgl.cpp:(.text+0x3051): undefined reference to `SDL_WM_SetCaption'
../lib/liblibtest.a(sdlgl.cpp.o): In function `SDLGLEngine::Clear()':
sdlgl.cpp:(.text+0x3069): undefined reference to `glClear'
collect2: выполнение ld завершилось с кодом возврата 1
make[2]: *** [bin/paldemo] Ошибка 1
make[1]: *** [paldemo/CMakeFiles/paldemo.dir/all] Ошибка 2
make: *** [all] Ошибка 2

the maximum that I can, to achieve this result:

Code:

../lib/liblibtest.a(sdlgl.cpp.o): In function `SDLGLEngine::SetProjMatrix(float, float, float, float)':
sdlgl.cpp:(.text+0x2d4e): undefined reference to `gluPerspective'
../lib/liblibtest.a(sdlgl.cpp.o): In function `SDLGLEngine::Resize(int, int)':
sdlgl.cpp:(.text+0x2db9): undefined reference to `gluPerspective'
../lib/liblibtest.a(sdlgl.cpp.o): In function `SDLGLEngine::SetViewMatrix(float, float, float, float, float, float, float, float, float)':
sdlgl.cpp:(.text+0x2e5b): undefined reference to `gluLookAt'
collect2: выполнение ld завершилось с кодом возврата 1

Thank you in advance for your attention and assistance!

XavierP 04-15-2010 01:41 PM

Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate.

Continue here: http://www.linuxquestions.org/questi...ckware-802216/


All times are GMT -5. The time now is 06:30 PM.