Compiling SQLCipher in AppVeyor VM


#1

Hello,
I want to test builds of our application RetroShare with AppVeyor as we do with travis-ci.
But I can’t compile SQLCipher.
Even with MSys2 nor like explains here:Win64 setup — Compiling SQLCipher.

Thanks in advance for your help.


#2

You can find my appveyor.yml test file.


#3

Hello @PhenomRetroShare

Thank you for your interest in SQLCipher, if you have a specific question regarding SQLCipher we would be glad to help.


#4

Hello, my question was:
Can you help me to get SQLCipher builds under AppVeyor?


#5

Hello @PhenomRetroShare

If you have a specific build error when attempting to compile SQLCipher, please feel free to post it below. Thanks!


#6

You can get log here:
https://ci.appveyor.com/project/PhenomRetroShare/retroshare/build/RetroShare%206.0.26-Add_BuildStatusInReadme.md_Test


#7

Other one with different configure:
https://ci.appveyor.com/project/PhenomRetroShare/retroshare/build/RetroShare%206.0.30-Add_BuildStatusInReadme.md_Test


#8

Hello,
Do you need more information?


#9

OK, we get it:


cd (BLD)/sqlcipher-(SQLCIPHER_VERSION) && LIBS="-Lpwd/…/…/libs/lib -lgdi32 $$LIBS" && export LIBS && ./configure --disable-shared --enable-static --enable-tempstore=yes CFLAGS="-DSQLITE_HAS_CODEC -Ipwd/…/…/libs/include" LDFLAGS="-Lpwd/…/…/libs/lib -lcrypto -lgdi32" && make install prefix="pwd/install"

Thanks for your help.


#10

Hi @PhenomRetroShare

It looks like you issue may be due to an issue with compiling with the msys toolchain. Since you are on Windows, you may have a better experience using the Windows SDK instead with nmake.