Solved QT-Creator 4.9 remote development in C: How to link the runtime library for raspberry
-
Hello,
I'm going to make a simple programm to use intervall timer.
The programm can be compiled and linked but the timer does not work.
I saw in the internet that I have to link -lrt (=runtime library?).
How can I do this?
Thanks a lot in advance.
Kurt -
Hi,
If the application did compile then you don't need any additional library.
So you likely have an error in your code.
-
@SGaist thanks for your answer. I will check it. What about the linker?
-
@k-str said in QT-Creator 4.9 remote development in C: How to link the runtime library for raspberry:
What about the linker?
What's wrong with the linker?
Your problem is not the linker, you're doing something wrong in your code if your timer is not working... -
@jsulm ,
Thanks for your information.
Kurt -
@sgaist Hi I checked it today.
There was something wrong in my code. -
Glad you found out !
What was the error ?
-
@SGaist I think the problem was that I didn't do something else like while(x) (= do nothing) after starting the timer