Installation appears to have completed failed



  • I've always been a die hard user of Visual Studio, but I'm beginning to get tired of the new versions becoming less and less about functionality and more and more about convenience for newbies. I decided to install Qt for MinGW, as I already had it, and take a stab at the Qt IDE.

    I went through the installation and it worked fine, so I decided to knock up a very basic application, slapped a label and button on a form, and pressed Ctrl + R (also tried all the compile / build / run options in the bottom left). At this point I got an error which was converted from hexidecimal into decimal, which caused a headache because it wasn't until about 2 days of googling that I realised it was actually a windows error meaning a library was not found. I then ran the "program" which compiled successfully from it's directory using command line, at which point some more detailed errors told me that I'm missing 5 libraries. I fixed this and pasted them into the debug and release directory.

    Now, the problem I'm stuck with. I've got past that, now I'm getting the error:

    The procedure entry point __gxx_personality_v0 could not be located in the dynamic link library libstdc++-6.dll.

    This error is harder to trace via google so I'm hoping one of the regulars here can shed some light.

    Thanks


  • Moderators

    This looks like somehow your application is picking up the wrong library. Make sure that only the mingw version you used to build the project is in your PATH when running your application.


  • Lifetime Qt Champion

    Hi,

    Do you have only one MinGW installed ? If yes, is it the same that was used to compile Qt ?

    By the way, you can also use the VS version of Qt with QtCreator, works like a charm.



  • [quote author="SGaist" date="1362745908"]Hi,

    Do you have only one MinGW installed ? If yes, is it the same that was used to compile Qt ?

    By the way, you can also use the VS version of Qt with QtCreator, works like a charm.[/quote]

    I have only one version of MinGW, to the best of my knowledge, version 4.6.2. Can't find anything to indicate that it's installed twice. I did, however, set an environment variable to allow me to use MinGW from any directory... Not sure if that changes anything?

    [quote author="Tobias Hunger" date="1362745679"]This looks like somehow your application is picking up the wrong library. Make sure that only the mingw version you used to build the project is in your PATH when running your application.[/quote]

    Where am I changing the PATH, in my environment variables or within the IDE?


  • Moderators

    The mingw Qt packages have their own copy of mingw, so if you had one before, then you have two now.



  • [quote author="Tobias Hunger" date="1362751062"]The mingw Qt packages have their own copy of mingw, so if you had one before, then you have two now.[/quote]

    Aha, so I should remove the old version before installing Qt? Will uninstalling everything repair this or have I made some monumental registry screwing cockup?

    Thanks


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.