-
-
Notifications
You must be signed in to change notification settings - Fork 52
Building
You can get some information here
Can't build go-sqlite3 on windows 64bit. Probably, you are using go 1.0, go1.0 has a problem when it comes to compiling/linking on windows 64bit. See: https://github.com/mattn/go-sqlite3/issues/27
You need install http://www.mingw.org first, it will bring you gcc compile environment to you.
-
If you got some issue like:
"openssl/rand.h: No such file or directory"
You may need install openssl first.
You can download openssl from here http://slproweb.com/products/Win32OpenSSL.html
Notice: You need download the full version
- Download the windows installer and install to somewhere you want, i put it in
c:\mingw\openssl
- Link the
.h
files.
cd /mingw/include ln -s ../openssl/include/openssl openssl
- Download the windows installer and install to somewhere you want, i put it in
-
If you got some some issue like:
c:/mingw/bin/../lib/gcc/mingw32/4.8.1/../../../../mingw32/bin/ld.exe: cannot find -lcrypto collect2.exe: error: ld returned 1 exit status
You may need link the
libcrypto
,Runcd /mingw/lib ln -s ../openssl/lib/MinGW/libeay32.a ../lib/libcrypto.a ln -s ../openssl/lib/MinGW/libeay32.def ../lib/libcrypto.def