Jump to content

OpenGL, SDL compile problem


Recommended Posts


samgj@samgj:~/sdltest$ ld /usr/lib/libGL.so /usr/lib/libGLU.so /usr/lib/libSDL.so sdltest.o -o sdltest
ld: warning: cannot find entry symbol _start; defaulting to 00000000080484f8
samgj@samgj:~/sdltest$ ls
sdlinittest sdltest sdltest.c.save sdltest.sh
sdlinittest.cpp sdltest.c sdltest.o usr
samgj@samgj:~/sdltest$ ./sdltest
bash: ./sdltest: No such file or directory

Why is this happening, I imagine it has something to do with the linker warning but, I can't tell what that means.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...