Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ TheIDE » U++ TheIDE: Compiling, Linking, Debugging of your packages » missing library - linking error
Re: missing library - linking error [message #12442 is a reply to message #12437] Wed, 31 October 2007 18:11 Go to previous message
willysignori is currently offline  willysignori
Messages: 4
Registered: September 2007
Location: Italy
Junior Member
Hi PIPPO,

the "clock_gettime()" is inserted into the library LIBRT (Ubuntu 7.04).
Often it's used the function "gettimeofday" with less resolution (microsecond instead of nanosecond) but enough for most of applications.
Under U++ you have to add the library to your project; to do this you have to:
1) menu PROJECT -> Package organizer
2) on the right frame, click right mouse button and add new LIBRARY row
3) type "rt" (to link "librt" library, because suffix "lib" is "added" by default by GNU linker) and press OK


Bye.
 
Read Message
Read Message
Previous Topic: linking difficulties under msvc
Next Topic: Question about Memory Leak Detection
Goto Forum:
  


Current Time: Tue Jun 11 00:20:57 CEST 2024

Total time taken to generate the page: 0.02200 seconds