mingw

Segmentation fault when compiling mysql2 with mingw

混江龙づ霸主 提交于 2020-01-02 09:31:34
问题 When I try to create a Rails server this is what I get. It instantly runs over 500+ lines of code and comes back with this message. This is my first Ruby on Rails project. I am pretty new to coding as well. Would love some help if possible. Thank you! C:/Ruby200-x64/lib/ruby/gems/2.0.0/extensions/x64-mingw32/2.0.0/mysql2-0.3.15/my sql2/mysql2.so: [BUG] Segmentation fault ruby 2.0.0p451 (2014-02-24) [x64-mingw32] 0 enumerator.so 1 C:/Ruby200-x64/lib/ruby/2.0.0/x64-mingw32/enc/encdb.so 2 C:

Why isn't the gcc 4.x.x series compilers installed by MinGW by default?

时光毁灭记忆、已成空白 提交于 2020-01-02 08:03:22
问题 Currently, MinGW's only installs the 3.x.x series of the gcc compiler by default. However, it looks like the 4.x.x series of compilers have been out for some time, and as others have mentioned, it seems to work just fine. Is there any reason why it hasn't moved to the 4.x.x versions yet, and any reason why I shouldn't use the newer versions of gcc? 回答1: GCC4's C++ ABI has changed from GCC3, and it includes a lot of new features (like its tree vectorization) that a lot of people still consider

Why isn't the gcc 4.x.x series compilers installed by MinGW by default?

戏子无情 提交于 2020-01-02 08:03:20
问题 Currently, MinGW's only installs the 3.x.x series of the gcc compiler by default. However, it looks like the 4.x.x series of compilers have been out for some time, and as others have mentioned, it seems to work just fine. Is there any reason why it hasn't moved to the 4.x.x versions yet, and any reason why I shouldn't use the newer versions of gcc? 回答1: GCC4's C++ ABI has changed from GCC3, and it includes a lot of new features (like its tree vectorization) that a lot of people still consider

C++ application exit error code 62097 - What does that mean?

落花浮王杯 提交于 2020-01-02 07:18:10
问题 My program is exitting with code '62097' (or in hex 0xF291). I know which DLL library is causing it, and I'm trying to figure out why it is messing up. What does 62097 mean? How can I find out? I checked online, and as far as I can tell, generic Windows error codes don't go up to 62097. Any other suggestions how I can go about debugging this problem? I use Dependency Walker on the DLL that's causing trouble, but everything is fine except missing IESHIMS.dll, IEFRAME.dll, and SHLWAPI.dll

Build Boost 1.45 using MinGW

空扰寡人 提交于 2020-01-02 06:34:51
问题 Try to compile Boost 1.45 on Windows XP using MinGW. I did it a year ago and almost forgot how to repeat it. %PATH% contains MinGW path. user-config.jam contains using gcc ; bjam (the ntx86 one) from here. Output: <path> > bjam --build-dir="E:\Boost" --build-type=complete toolset=gcc stage <path>/tools/build/v2/build\configure.jam:145: in builds-raw *** argument error * rule UPDATE_NOW ( targets * : log ? : ignore-minus-n ? ) * called with: ( <pbin.v2\libs\regex\build\gcc-mingw-4.4.1\debug

Build Boost 1.45 using MinGW

我怕爱的太早我们不能终老 提交于 2020-01-02 06:34:02
问题 Try to compile Boost 1.45 on Windows XP using MinGW. I did it a year ago and almost forgot how to repeat it. %PATH% contains MinGW path. user-config.jam contains using gcc ; bjam (the ntx86 one) from here. Output: <path> > bjam --build-dir="E:\Boost" --build-type=complete toolset=gcc stage <path>/tools/build/v2/build\configure.jam:145: in builds-raw *** argument error * rule UPDATE_NOW ( targets * : log ? : ignore-minus-n ? ) * called with: ( <pbin.v2\libs\regex\build\gcc-mingw-4.4.1\debug

Building ffmpeg for Windows with MSYS and MinGW

佐手、 提交于 2020-01-02 05:32:47
问题 I am trying to build ffmpeg for windows (Xp - SP2) as given here. ./configure -–extra-cflags=”-mno-cygwin -mms-bitfields” -–extra-ldflags=”-Wl, -add-stdcall-alias” -–enable-memalign-hack -–enable-shared -–disable-static -–target-os=mingw32 The above command is placed in a myconfig file as instructed and when i run ./myconfig , the following error is displayed: Broken Shell detected. Trying alternatives. Trying Shell bash Unknown option "-–extra-cflags=-mno-cygwin". As suggested in the link i

Why doesn't MinGW show up in the list of Eclipse/Indigo CDT Toolchains?

只愿长相守 提交于 2020-01-02 04:04:35
问题 I am trying to set up a C/C++ development environment on Eclipse (Indigo) running on my Windows 7 desktop. I have installed MinGW onto my C drive per the instructions at eclipse.org, and added the environment variable *MINGW_HOME* set to C:\MinGW and added C:\MinGW\bin to my path. When I run eclipse and try to create a new C or C++ project, I should be seeing MinGW as one of the available Toolchains in the project creation wizard dialog. Instead, all I see in the list of available toolchains

GCC/LD cannot find link library

女生的网名这么多〃 提交于 2020-01-02 03:34:51
问题 OS: Windows 7 Enterprise x64 IDE: Eclipse Juno/CDT Compiler: MinGW 4.6.2 (C:\MinGW) Like user697111, I cannot get ld.exe to find an external library. Simple programs compile and link fine, but when I try to add SQL funcionality with the supplied library, I get this error message in Eclipse: "c:/mingw/bin/../lib/gcc/mingw32/4.6.2/../../../../mingw32/bin/ld.exe: cannot find -lC:\MinGW\lib\libodbc32.a". I specified C:\MinGW\lib as the Project Library Path. I specified C:\MinGW\lib\libodbc32.a as

How to use CoCreateInstance() to get a com object?

岁酱吖の 提交于 2020-01-02 03:17:26
问题 I had registered a COM component.And I want to call it. CLSID clsid; RIID iid; HRESULT hr = CLSIDFromProgID(OLESTR("se.mysoft"),&clsid); LPVOID *pRet; HRESULT hr1 = CoCreateInstance(clsid, NULL, CLSCTX_INPROC_SERVER, iid, pRet); I can get the clsid successful, but where can I get the iid ? I used OLE VIEWER find interface: [ odl, uuid(F3F54BC2-D6D1-4A85-B943-16287ECEA64C), helpstring("Isesoft Interface"), dual, oleautomation ] interface Isesoft : IDispatch { Then I changed my code: CLSID