c++ connector source compilation
Hello!
I want to compile c++ connector from source.
I use nevest wersion of MinGW.
I want to use this connector in BlockCode.
Could you please help :)
Below are info from CMakeError:
"
Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.
Compiler: C:/Program Files (x86)/mingw-w64/i686-8.1.0-posix-dwarf-rt_v6-rev0/mingw32/bin/g++.exe
Build flags: -std=c++11;;/wd4702;/bigobj;-std=c++11
Id flags:
The output was:
1
g++.exe: error: /wd4702: No such file or directory
g++.exe: error: /bigobj: No such file or directory
Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.
Compiler: C:/Program Files (x86)/mingw-w64/i686-8.1.0-posix-dwarf-rt_v6-rev0/mingw32/bin/g++.exe
Build flags: -std=c++11;;/wd4702;/bigobj;-std=c++11
Id flags: -c
The output was:
1
g++.exe: error: /wd4702: No such file or directory
g++.exe: error: /bigobj: No such file or directory
Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.
Compiler: C:/Program Files (x86)/mingw-w64/i686-8.1.0-posix-dwarf-rt_v6-rev0/mingw32/bin/g++.exe
Build flags: -std=c++11;;/wd4702;/bigobj;-std=c++11
Id flags: --c++
The output was:
1
g++.exe: error: /wd4702: No such file or directory
g++.exe: error: /bigobj: No such file or directory
g++.exe: error: unrecognized command line option '--c++'
Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.
Compiler: C:/Program Files (x86)/mingw-w64/i686-8.1.0-posix-dwarf-rt_v6-rev0/mingw32/bin/g++.exe
Build flags: -std=c++11;;/wd4702;/bigobj;-std=c++11
Id flags: --ec++
The output was:
1
g++.exe: error: /wd4702: No such file or directory
g++.exe: error: /bigobj: No such file or directory
g++.exe: error: unrecognized command line option '--ec++'; did you mean '-Weffc++'?
Determining if the CXX compiler works failed with the following output:
Change Dir: D:/_cpp/connector_cpp_8_0_13_CodeBlocks/mysql-connector-c++-8.0.13-src/cdk/protobuf/CMakeFiles/CMakeTmp
Run Build Command:"C:/PROGRA~2/MINGW-~1/I686-8~1.0-P/mingw32/bin/mingw32-make.exe" "cmTC_3a88f/fast"
C:/PROGRA~2/MINGW-~1/I686-8~1.0-P/mingw32/bin/mingw32-make.exe -f CMakeFiles\cmTC_3a88f.dir\build.make CMakeFiles/cmTC_3a88f.dir/build
mingw32-make.exe[1]: Entering directory 'D:/_cpp/connector_cpp_8_0_13_CodeBlocks/mysql-connector-c++-8.0.13-src/cdk/protobuf/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_3a88f.dir/testCXXCompiler.cxx.obj
C:\PROGRA~2\MINGW-~1\I686-8~1.0-P\mingw32\bin\G__~1.EXE -std=c++11 /wd4702 /bigobj -std=c++11 -o CMakeFiles\cmTC_3a88f.dir\testCXXCompiler.cxx.obj -c D:\_cpp\connector_cpp_8_0_13_CodeBlocks\mysql-connector-c++-8.0.13-src\cdk\protobuf\CMakeFiles\CMakeTmp\testCXXCompiler.cxx
G__~1.EXE: error: /wd4702: No such file or directory
G__~1.EXE: error: /bigobj: No such file or directory
mingw32-make.exe[1]: *** [CMakeFiles\cmTC_3a88f.dir\build.make:65: CMakeFiles/cmTC_3a88f.dir/testCXXCompiler.cxx.obj] Error 1
mingw32-make.exe[1]: Leaving directory 'D:/_cpp/connector_cpp_8_0_13_CodeBlocks/mysql-connector-c++-8.0.13-src/cdk/protobuf/CMakeFiles/CMakeTmp'
mingw32-make.exe: *** [Makefile:120: cmTC_3a88f/fast] Error 2
"
Subject
Views
Written By
Posted
c++ connector source compilation
1813
December 19, 2018 01:29AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.