Details
-
Bug
-
Status: Open (View Workflow)
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
-
None
-
indows 7, Visual studio 2010, cmake 2.8.11.2
Description
I tried compiling mariadb c client from source with openssl. I am using revision 199.
Revision:
199 revid:georg@mariadb.com-20150128172527-4a83lq3kj135ss1j
Parents:
198: Generate files for exported symbols, so we don't have to ke…
Date:
1/28/2015 10:55:27 PM
Committer:
Georg Richter <georg@mariadb.com>
Branch:
mnc_final
Tags:
2.1.0
Updated ignore file list
It fails to compile.
Output of Cmake-
E:\test\Documents\maraidb_1132015_32>cmake . -G "Visual Studio 10" -DWITH_OPEN
SSL=yes -DOPENSSL_ROOT_DIR=E:\test\Documents\maraidb_1132015_32\openssl -DOPEN
SSL_LIBRARIES=E:\test\Documents\maraidb_1132015_32\openssl -DOPENSSL_INCLUDE_D
IR=E:\test\Documents\maraidb_1132015_32\include\openssl
– The C compiler identification is MSVC 16.0.40219.1
– Check for working C compiler using: Visual Studio 10
– Check for working C compiler using: Visual Studio 10 – works
– Detecting C compiler ABI info
– Detecting C compiler ABI info - done
– CMAKE_C_FLAGS_DEBUG= /D_DEBUG /MTd /Zi /Ob0 /Od /RTC1
– CMAKE_C_FLAGS_RELEASE= /MT /O2 /Ob2 /D NDEBUG
– CMAKE_C_FLAGS_RELWITHDEBINFO= /MT /Zi /O2 /Ob1 /D NDEBUG
– Looking for include file signal.h
– Looking for include file signal.h - found
– Check size of u_int32_t
– Check size of u_int32_t - failed
– Found OpenSSL: E:/test/Documents/maraidb_1132015_32/openssl/ssleay32.lib;E:
/test/Documents/maraidb_1132015_32/openssl/libeay32.lib
– MariaDB Connector/c configuration:
– CPack generation: ZIP
– SSL support: yes
– Experimental Sqlite support: OFF
– Zlib support: yes (using bundled zlib)
– Installation layout: DEFAULT
– Include files will be installed in /include/mariadb
– Libraries will be installed in /lib/mariadb
– Binaries will be installed in /bin
– Required:
– Configuring done
– Generating done
– Build files have been written to: E:/test/Documents/maraidb_1132015_32
Output of visual studio-
1>------ Build started: Project: mariadbclient, Configuration: Debug Win32 ------
1> Building Custom Rule E:/test/Documents/maraidb_1132015_32/libmariadb/CMakeLists.txt
1> CMake does not need to re-run because E:\test\Documents\maraidb_1132015_32\libmariadb\CMakeFiles\generate.stamp is up-to-date.
1>LINK : fatal error LNK1181: cannot open input file 'E:\test\Documents\maraidb_1132015_32\libmariadb\mariadb_obj.dir\Debug\array.obj'
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
Please let me know if more details are needed.