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?
feedback
|