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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...