|Compile using pthread [message #989863]
||Sat, 08 December 2012 18:01
| HAL 9000
Registered: December 2012
finally I decided to turn to Eclipse to programming in C++ under Linux. The impression is positive, however I cannot compile my simple project. I used the g++ -pthread option and I added the pthread library in the linker. I also #included <pthread.h> and <stdlib.h> and also <stdio.h> and <unistd.h>
Howver I get the following error messages:
"Function malloc could not be resolved"
"Function pthread_cond_signal could not be resolved"
"Function pthread_mutex_lock could not be resolved"
"Function pthread_mutex_unlock could not be resolved"
Can someone help me, please?
Powered by FUDForum
. Page generated in 0.10791 seconds