How to include a library

Olaf Hartig OleBowle at gmx.de
Fri May 18 18:52:04 BST 2001


Am Freitag 18 Mai 2001 18:23 schrieb Willy Gardiol:
> Yes i did it!
> but now why it says:
>
> /opt/kde2/lib/libSDL.so: undefined reference to `pthread_create'
> /opt/kde2/lib/libSDL.so: undefined reference to `pthread_cancel'
[...]

Seems you have to link against the pthread library additionally. Try to add 
	-lpthread
to "Project Options"->"Linker Options"->"additional libraries"

Ole

-
to unsubscribe from this list send an email to kdevelop-request at kdevelop.org with the following body:
unsubscribe »your-email-address«



More information about the KDevelop mailing list