realtime task
Tarjei Knapstad
tarjeik at chemcon.no
Wed Sep 12 19:34:16 BST 2001
On Wed, 12 Sep 2001, Muriel Thomas wrote:
> Hi everybody,
>
> I would like to know if it is possible to launch a real-time task
> from kdevelop 1.3,
Not sure what you mean by "launching a real-time task", but anyhowz:
KDevelop 2.0 is the latest version and 1.3 is _highly_ outdated, so first
of all upgrade.
> I am trying to create a thread using
> pthread_create in the constructor of my class and it did not seem to
> work (got the following error message: /usr/lib/qt/inlcue/qevent.h:
> undefined reference to pthread_create).
> Anybody has an idea?
>
Well, I don't know too much about threads, but it sounds like you're not
linking with the pthreads library (POSIX threads). Try adding -lpthread
in Project -> Options... -> Linker options -> Additional libraries.
(At least that's how it goes in 1.4 and 2.0 - I never used 1.3)
Good luck.
--
Tarjei Knapstad
-
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