I want to use event in a c++ project on netbeans. I use "apt-get install libevent-dev" and now compiler know event.h, but when I use a function of event.h (such as event_init()) the linker give the message "undefined reference to `event_init'". how can I solve this problem?

link|improve this question
Go and re-ask this on Stack Overflow. I'm not migrating it for you because it lacks clarity, so please elaborate on you question when you ask it on SO. – DMA57361 Jul 10 '11 at 10:47
feedback

closed as off topic by DMA57361 Jul 10 '11 at 10:47

Questions on Super User are expected to generally relate to computer software or computer hardware, within the scope defined in the faq.

Browse other questions tagged or ask your own question.