Home » U++ TheIDE » U++ TheIDE: Compiling, Linking, Debugging of your packages » missing library - linking error
missing library - linking error [message #12437] |
Tue, 30 October 2007 17:26 |
pippo
Messages: 17 Registered: October 2007 Location: Italy
|
Promising Member |
|
|
I'm compiling a simple program and I'm using a time variable.
I'm including <time.h> because I want to use the clock_gettime() function to retrieve the system time clock.
The only think I get back it's a linking error reported below:
Linking...
/home/user/upp/out/CodaArtigianale/GCC.Debug.Gui.Main.Mt.Shared/CodaArtigianale.o: In function `MS_CodaArtig::funzione_suo()':
CodaArtigianale.cpp:(.text+0x49): undefined reference to `clock_gettime'
collect2: ld returned 1 exit status
There were errors. (0:04.00)
Can someone say to me which library I have to include in my project?
10aa3a8774daeb994a88cc07572e2b6c
|
|
|
Goto Forum:
Current Time: Thu May 16 01:06:25 CEST 2024
Total time taken to generate the page: 0.03147 seconds
|