Ivan Pechorin wrote:
> > LIBS = -L"C:/Dev-Cpp/lib" -L"C:/MyApps/libssh2-1.2.5/lib"
>
> Try adding the necessary libraries ("-lssh2 -lws2_32") to the end of LIBS:
>
> LIBS = -L"C:/Dev-Cpp/lib" -L"C:/MyApps/libssh2-1.2.5/lib" -lssh2 -lws2_32
>
> P.S. I didn't use gcc on Win32, so I'm not sure what's the proper way of
> linking against the WinSock2 (ws2_32.dll) here.
Exactly as you write.
//Peter
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2011-09-13