[ENet-discuss] Using enet with C++
Bjørn Lindeijer
bjorn at lindeijer.nl
Wed Jul 30 11:59:10 PDT 2008
On 7/30/08, ingmar wirths <ingmania at googlemail.com> wrote:
> Hello,
>
> i was trying to use enet with c++ and ran into trouble.
> My code is as simple as possible:
>
> #include <iostream>
> #include <enet.h>
>
> int main()
> {
> std::cout << "enet-test" << std::endl;
> }
Probably your errors will be gone once you include ENet as follows:
#include <enet/enet.h>
And make sure the enet/ directory is not in your compiler's search path.
I think the tutorial might be missing this... you're at least the
third I've seen doing that and having problems.
Regards,
Bjørn
More information about the ENet-discuss
mailing list