mingw-w64

Can't run python in git terminal?

跟風遠走 提交于 2019-12-17 21:16:08
问题 I have python 3.6 installed on my Win7 system and am trying to get it working in the git bash (MINGW64), so far to no avail. I've added the install directory (NOT the .exe, of course) to PATH, with no results. Even if I directly cd to the install directory, it doesn't see it. $ python bash: python: command not found $ echo $PATH /c/Users/Aerovistae/bin:/mingw64/bin:/usr/local/bin:/usr/bin:/bin:/mingw64/bin:/usr/bin:/c/Users/Aerovistae/bin:/c/Windows/system32:/c/Windows:/c/Windows/System32

How to use MinGW-64 with Qt Creator

旧街凉风 提交于 2019-12-17 15:29:20
问题 I am aware that there are many post about this, but I honestly didn't understood any of it. So, how do I install a kit for my Qt Creator (open source 5.7)? I already downloaded and installed MSYS2.... don't know what to do with it. I already downloaded and installed Qt64 - NG.... no clue what to do next. I just want to be able to develop in Qt and chose betwen MinGW 32 and MinGW 64. Thanks in advance! EDIT: I also checked the wiki page. Most of the commands didn't worked. And I was told that

MinGW-w64 compilation errors in libraries

谁说胖子不能爱 提交于 2019-12-14 02:50:30
问题 I'm getting the following errors after changing from MinGW to MinGW-w64: In file included from C:/MinGW/i686-w64-mingw32/include/stddef.h:7:0, from C:/MinGW/lib/gcc/i686-w64-mingw32/4.9.2/include/stddef.h:1, from C:\MinGW\include/stdint.h:24, from C:\MinGW\include/inttypes.h:7, from C:\MinGW\include/GL/glew.h:299, from ..\main.cpp:1: C:/MinGW/i686-w64-mingw32/include/crtdefs.h:26:9: error: 'size_t' does not name a type typedef size_t rsize_t; ^ In file included from C:/MinGW/lib/gcc/i686-w64

undefined reference to `std::errc::operation_canceled` when compiling websocketpp example code with mingw

不打扰是莪最后的温柔 提交于 2019-12-14 02:48:38
问题 I'm trying to use websocketpp to write a cross-platform program that communicates using websockets. I would like to use the asio -based transport layer. My understanding was that if I am using C++11, I can configure asio to stand-alone from boost and use std::thread , and that websocketpp is similarly header-only under such circumstances. However, when I actually try to compile any of the websocketpp tutorials this way, such as the tutorials/utility_client , it works fine on g++ and clang,

porting std::wstring from visual studio to mingw gcc

孤街醉人 提交于 2019-12-14 02:04:26
问题 I am in the process of porting some code from Visual studio to mingw gcc. I came across this statement if ( mnode.GetTag() == _T( "val" ) ) return true; this is the definition of GetTag() method const std::wstring &GetTag() const; I am getting the error error: no matching function for call to 'std::basic_string<wchar_t>::basic_string(const char [6])'| Now after reading this I am still not sure how to resolve this issue. Any suggestions on why this error is being shown up ? is it because of

How to get rid of “inline function used but never defined” warning in g++

一笑奈何 提交于 2019-12-14 01:11:54
问题 I'm using mingw-w64. I'm including strsafe.h and getting the following warning: warning: inline function 'HRESULT StringCchPrintfA(STRSAFE_LPSTR, size_t, STRS AFE_LPCSTR, ...)' used but never defined [enabled by default] The only flags flags I used are -Wall -DDEBUG -g . I know that you have to define inline functions in the same header and I looked at strsafe.h and I clearly can see that StringCchPrintfA in the header, so I don't know why its giving me this error. Also, here is a link to

CMake and MinGW w64 and windows system libraries

瘦欲@ 提交于 2019-12-14 00:41:52
问题 I start to learn CMake. I want to build my application with SDL2 library using MinGW w64. I generate Makefiles and use mingw32-make for building my app. But my app doesn't execute without any messages (my OS is Windows 10). First about I thought that my app doesn't see it dependecies. I try to use DependencyWalker and figure out next. My app doesn't see libriries like API-MS-WIN-CORE-APIQUERY-L1-1-0.DLL API-MS-WIN-CORE-APPCOMPAT-L1-1-0.DLL API-MS-WIN-CORE-APPCOMPAT-L1-1-1.DLL API-MS-WIN-CORE

How do you build OpenLDAP libraries on Windows using Msys2 and MinGW?

雨燕双飞 提交于 2019-12-13 17:16:52
问题 I'm trying to build OpenLDAP on Windows. I'm having extreme difficulty doing so. I started to follow the directions outlined here, but quickly realized that it was out of date. I then found this, and realized it wasn't quite right either. I finally found this, and experienced the exact bug that this guy is experiencing. However, when I try his work around (commenting out line 1116 in portable.h) I ran into more issues. Is there a canonical source for building this library? I'm using: Windows

python27.def “Symbol table not found” when trying weave

隐身守侯 提交于 2019-12-13 04:17:00
问题 I'm trying to use weave with Python ANACONDA 64 bit. As weave requires Python 2.7 i created a new env to be able to import it, during code execution it turned out that libpython27.a is missing. So I created this library i.e. 1st created def file and later library with dll tool C:\ProgramData\Anaconda3\envs\Python27>gendef python27.dll C:\ProgramData\Anaconda3\envs\Python27>C:\MinGW64\bin\dlltool -v --dllname python27.dll --def python27.def --output-lib libpython27.a library creation went OK

Build MinGW Console application without CRT?

时光总嘲笑我的痴心妄想 提交于 2019-12-13 01:56:06
问题 I can build apps with MSVC without the CRT as directed here: http://www.mvps.org/user32/nocrt.html But how can this be done with MinGW? It seems to always pull in the CRT (msvcrt.dll) by default. Edit: To be clear I'm trying to NOT link the CRT at ALL, not statically link it which I know isn't possible due to copyright issues. 来源: https://stackoverflow.com/questions/23218931/build-mingw-console-application-without-crt