Forum » Programiranje » msys2, mingw64 compiling
msys2, mingw64 compiling
detroit ::
Hello
kot prvo sem totalen noob kar se tiče tega compilanja v msys/mingw64.
Poizkušam zbuildat s pomočjo cmake nekaj pa dobim error
-- The CXX compiler identification is unknown
-- Check for working CXX compiler: C:/MinGW/bin/c++.exe
-- Check for working CXX compiler: C:/MinGW/bin/c++.exe -- broken
CMake Error at C:/msys64/mingw64/share/cmake-3.12/Modules/CMakeTestCXXCompiler.cmake:45 (message):
The C++ compiler
"C:/MinGW/bin/c++.exe"
is not able to compile a simple test program.
It fails with the following output:
Change Dir: D:/git/app/build/release/translations/CMakeFiles/CMakeTmp
Run Build Command:"C:/msys64/usr/bin/make.exe" "cmTC_ee200/fast"
make[4]: Entering directory '/d/git/app/build/release/translations/CMakeFiles/CMakeTmp'
/usr/bin/make -f CMakeFiles/cmTC_ee200.dir/build.make CMakeFiles/cmTC_ee200.dir/build
make[5]: Entering directory '/d/git/app/build/release/translations/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_ee200.dir/testCXXCompiler.cxx.obj
/C/MinGW/bin/c++.exe -o CMakeFiles/cmTC_ee200.dir/testCXXCompiler.cxx.obj -c /D/git/app/build/release/translations/CMakeFiles/CMakeTmp/testCXXCompiler.cxx
make[5]: *** [CMakeFiles/cmTC_ee200.dir/build.make:66: CMakeFiles/cmTC_ee200.dir/testCXXCompiler.cxx.obj] Error 1
make[5]: Leaving directory '/d/git/app/build/release/translations/CMakeFiles/CMakeTmp'
make[4]: *** [Makefile:121: cmTC_ee200/fast] Error 2
make[4]: Leaving directory '/d/git/app/build/release/translations/CMakeFiles/CMakeTmp'
Google ni nič pomagal ali bodo strici s slo-tech? :)
kot prvo sem totalen noob kar se tiče tega compilanja v msys/mingw64.
Poizkušam zbuildat s pomočjo cmake nekaj pa dobim error
-- The CXX compiler identification is unknown
-- Check for working CXX compiler: C:/MinGW/bin/c++.exe
-- Check for working CXX compiler: C:/MinGW/bin/c++.exe -- broken
CMake Error at C:/msys64/mingw64/share/cmake-3.12/Modules/CMakeTestCXXCompiler.cmake:45 (message):
The C++ compiler
"C:/MinGW/bin/c++.exe"
is not able to compile a simple test program.
It fails with the following output:
Change Dir: D:/git/app/build/release/translations/CMakeFiles/CMakeTmp
Run Build Command:"C:/msys64/usr/bin/make.exe" "cmTC_ee200/fast"
make[4]: Entering directory '/d/git/app/build/release/translations/CMakeFiles/CMakeTmp'
/usr/bin/make -f CMakeFiles/cmTC_ee200.dir/build.make CMakeFiles/cmTC_ee200.dir/build
make[5]: Entering directory '/d/git/app/build/release/translations/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_ee200.dir/testCXXCompiler.cxx.obj
/C/MinGW/bin/c++.exe -o CMakeFiles/cmTC_ee200.dir/testCXXCompiler.cxx.obj -c /D/git/app/build/release/translations/CMakeFiles/CMakeTmp/testCXXCompiler.cxx
make[5]: *** [CMakeFiles/cmTC_ee200.dir/build.make:66: CMakeFiles/cmTC_ee200.dir/testCXXCompiler.cxx.obj] Error 1
make[5]: Leaving directory '/d/git/app/build/release/translations/CMakeFiles/CMakeTmp'
make[4]: *** [Makefile:121: cmTC_ee200/fast] Error 2
make[4]: Leaving directory '/d/git/app/build/release/translations/CMakeFiles/CMakeTmp'
Google ni nič pomagal ali bodo strici s slo-tech? :)
Skero
Mavrik ::
Če ročno poženeš ukaz, ki je crknil:
Kaj dobiš?
/C/MinGW/bin/c++.exe -o CMakeFiles/cmTC_ee200.dir/testCXXCompiler.cxx.obj -c /D/git/app/build/release/translations/CMakeFiles/CMakeTmp/testCXXCompiler.cxx
Kaj dobiš?
The truth is rarely pure and never simple.
detroit ::
sec trying:)
c++.exe: error: D:/git/app/build/release/translations/CMakeFiles/CMakeTmp/testCXXCompiler.cxx: No such file or directory
c++.exe: fatal error: no input files
compilation terminated.
c++.exe: error: D:/git/app/build/release/translations/CMakeFiles/CMakeTmp/testCXXCompiler.cxx: No such file or directory
c++.exe: fatal error: no input files
compilation terminated.
Skero
Zgodovina sprememb…
- spremenil: detroit ()
Randomness ::
Preskop oz. premalo natančen si z opisom problema, zato ti ljudje težko pomagajo. IMHO se boš moral bolj potruditi.
Je pa sicer to na nek način res Catch-22 situacija. Tisti, ki zna problem dobro razložiti, ga ponavadi zna tudi sam rešiti ...
Je pa sicer to na nek način res Catch-22 situacija. Tisti, ki zna problem dobro razložiti, ga ponavadi zna tudi sam rešiti ...
MrStein ::
Saj, pri poskusu bolje opisat problem bo morebiti že našel tudi rešitev. ;)
Motiti se je človeško.
Motiti se pogosto je neumno.
Vztrajati pri zmoti je... oh, pozdravljen!
Motiti se pogosto je neumno.
Vztrajati pri zmoti je... oh, pozdravljen!
Zgodovina sprememb…
- spremenil: MrStein ()
detroit ::
v bistu ima randomness prav če bi znal opisat problem točno bi ga že znal rešit ...halo we're all indexers for google:) Javim ko kaj novega pogruntam...če:)
to je to ko se MS guy loti linux solutions
to je to ko se MS guy loti linux solutions
Skero
Vredno ogleda ...
Tema | Ogledi | Zadnje sporočilo | |
---|---|---|---|
Tema | Ogledi | Zadnje sporočilo | |
» | Crosscompiling Gnuradia za RPiOddelek: Operacijski sistemi | 1569 (1415) | poweroff |
» | Pomoč EEGOddelek: Pomoč in nasveti | 1125 (1015) | ducttape |
» | siol iptv na vlcOddelek: Omrežja in internet | 4016 (2856) | šernk |
» | OpenCV začetekOddelek: Programiranje | 1246 (884) | Icematxyz |
» | [Windows]Qt 4.3.0 Open SourceOddelek: Programska oprema | 1456 (1169) | BigWhale |