• 15
• 15
• 11
• 9
• 10

# Need help setting up enet

This topic is 2672 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

## Recommended Posts

Hello!

I'm trying to set up enet, but I seem to fail. I'm running ubuntu 10.10 and using NetBeans as IDE. I installed enet,linked it to the IDE, but it displays some strange errors:

/home/dreamcycle/Desktop/enet/main.cpp:6: undefined reference to enet_initialize'
/home/dreamcycle/Desktop/enet/main.cpp:11: undefined reference to enet_deinitialize'
/home/dreamcycle/Desktop/enet/main.cpp:28: undefined reference to enet_host_create'
/home/dreamcycle/Desktop/enet/main.cpp:37: undefined reference to enet_host_destroy'

I've seen these errors before and they were from the SDL (I forgot to add -lSDL_image and -lSDL_ttf to hmm... I don't know how its called ... g++ command) .

Any ideas?

Or maybe suggestions for another net library? (I'll use it for my backgammon - I'll try to make it a multiplayer server-client type)

Yours,
Ivelin Penchev

[Edited by - DreamCycle on November 29, 2010 12:44:05 PM]