I compiled it successfully on Ubuntu 9.1.
However, it always fail compiling on Ubuntu 10.04.
Anyone tried compiling this on Ubuntu 10.04 or above and succeed?
Thanks
using the command "mex pnet.c ws2_32.lib" generates an error, and I'm not well-versed enough to find the problem by myself (I'm an intern).
Would it be possible for anyone to upload an x64-version?
I compiled pnet.c with the Matlab 2011a mex compiler using the visual studio 10 c++ compiler on Windows 7 / 64-bit using the command:
"mex pnet.c ws2_32.lib"
Seems to work fine so far. I also changed line 64 from
#IFDEF WIN32
to
#IFDEF _WIN64
Comment only