Reputation: 742
Anyone successfully compiled liboauth for Windows?
Any help here much appreciated.
Upvotes: 7
Views: 2115
Reputation: 61
You need at least 0.9.3 to compile as you have tried.
version 0.9.3
- yet more build-system fixes:
- allow to override HASH_LIBS and CURL_LIBS using envoronment variables
- include them in .pc and tests/Makefile.am
I use the following steps to make it work:
To do this you need MSYS/MINGW installed
from msys shell, run:
env PKG_CONFIG=/bin/true ./configure --disable-static --disable-curl \
CURL_LIBS=/mingw/bin/libcurl.dll HASH_LIBS="/mingw/bin/libeay32.dll \
/mingw/bin/libssl32.dll" --prefix=/mingw
then:
mingw32-make && mingw32-make check
Fingers crossed, it all compiles as it should.
mingw32-make install
Upvotes: 6
Reputation: 614
You can use Visual Studio if you want. It works without modifications. You will also need libcurl or external cUrl executable.
You can build the libcurl as lib or incorporate it directly in your project.
Upvotes: 1