0

Step-by-step guide to build Qt-SQL-driver-plugin for SQLite-DB with SQLCipher-extension

On Step-5 running ./configure I get this error message

Codes@Codes-PC /c/temp/sqlcipher-master $ ./configure --prefix=$(pwd)/dist --with-crypto-lib=none --disable-tcl CFLAGS= "-DSQLITE_HAS_CODEC -DSQLCIPHER_CRYPTO_OPENSSL -I/c/openssl-win32/include /c/te mp/sqlcipher-master/libeay32.dll -L/c/temp/sqlcipher-master/ -static-libgcc" LD FLAGS="-leay32"

checking build system type... i686-pc-mingw32

checking host system type... i686-pc-mingw32

checking for gcc... no

checking for cc... no

checking for cl.exe... no

configure: error: in /c/temp/sqlcipher-master': configure: error: no acceptable C compiler found in $PATH Seeconfig.log' for more details

Community
  • 1
  • 1
ajith
  • 41
  • 2
  • 8
  • Which OS are you working on? – Marco Jul 23 '15 at 09:57
  • I'm assuming you have visual studio installed? If so did you use the command prompt that came with visual studio? ("Visual Studio Command Prompt", found in the tools section of Visual Studio start menu folder). IF you are not using visual studio, what compiler are you using? If you are using mingw, type gcc at the command prompt and see what happens. I'm guessing that you will get something link "gcc is not recognized as an internal or external command, operable program or batch file" – thurizas Jul 23 '15 at 15:06
  • I am using mingw, you are right I get the message "gcc is not recognized as an internal or external command, operable program or batch file – ajith Jul 23 '15 at 15:18
  • I suggest to reinstall MinGW from scratch following this page: https://wiki.qt.io/MinGW – Marco Jul 23 '15 at 15:49
  • Reinstalled but no luck – ajith Jul 23 '15 at 17:56
  • Try to find where gcc.exe is and thta folder to the system path – Marco Jul 23 '15 at 22:35
  • sorry it's my bad, there is a space in the file path – ajith Jul 24 '15 at 00:50

0 Answers0