[gameprogrammer] Re: install NET2

Net2 is written in C, not C++. You need to compile it with C and then you
can link it to your C++ program. The .h files work with both C and C++, I
use it in C++ all the time.

How do you do that on your particular setup? I don't know. You'll have ask
people who use your setup.

Net2 works fine with Windows and Linux.

Bob Pendleton

On 2/12/08, nicolas rannou <nrannou@xxxxxxxxx> wrote:
>
> Hi
>
> I'm creating a game using sdl_net and I would like to use NET2 which seems
> easier but I don't achieve to install it.
>
> I program in c++.
>
> I include all .h and .h in the folder, I renamed #include <SDL\SDL_net>
> and all whiwh needs
>
> I change iostream.h to iostream
>
> Still have a problems to compil : a lot of "invalid conversion from
> 'void*' to 'int*'"
>
> I think that it's because it 's write in language C and not C++.
>
> How could I install it and do that I works on dev c++ or visual c++? Or
> does it work with linux?
>
> Thank you!
>

Other related posts: