Mingw32 undefined reference
-
wrote on 21 Feb 2019, 08:31 last edited by
Hello,
Im pretty new to Qt and i have encountered problem. I've made my project using MinGW 64-bit and recently it looks like i will aim for 32-bit platform so i tried to build my project using 32-bit MinGW, instaled with maintanance tool, but it turned out to be not working at all . It throws a lot of undefined refernce errors , i mean a lot of them , so i tried to run a simple example(from qt creator inside examples) using this configuration and it throws same "package" of errors.Any idea what i might did wrong ?Made ss of my configuration and errors and put in links below
Kind regard
Simon -
Hello,
Im pretty new to Qt and i have encountered problem. I've made my project using MinGW 64-bit and recently it looks like i will aim for 32-bit platform so i tried to build my project using 32-bit MinGW, instaled with maintanance tool, but it turned out to be not working at all . It throws a lot of undefined refernce errors , i mean a lot of them , so i tried to run a simple example(from qt creator inside examples) using this configuration and it throws same "package" of errors.Any idea what i might did wrong ?Made ss of my configuration and errors and put in links below
Kind regard
Simon -
wrote on 21 Feb 2019, 09:09 last edited by Dre4m
-
wrote on 21 Feb 2019, 09:20 last edited by Dre4m
-
wrote on 21 Feb 2019, 09:22 last edited by
@Ratzz said in Mingw32 undefined reference:
Also can you create a small sample and try?
Can you try ?
-
@Ratzz said in Mingw32 undefined reference:
Also can you create a small sample and try?
Can you try ?
-
@Ratzz
I would love to but i dont understand what sample should i make or how to be specific. -
wrote on 21 Feb 2019, 09:47 last edited by Dre4m
-
and its perfectly working while using MinGW 64-bit, is it possible that during installation of mingw 32 something went wrong, or i dont know linker is using mingw64 or something like that ?wrote on 21 Feb 2019, 10:00 last edited by Ratzz@Dre4m
How did you install Qt? And what version and configuration did you select?@Dre4m said in Mingw32 undefined reference:
instaled with maintanance tool,
And what does this mean?
-
wrote on 21 Feb 2019, 10:10 last edited by
-
wrote on 21 Feb 2019, 10:48 last edited by
-
wrote on 25 Feb 2019, 07:58 last edited by
any idea?
-
@Dre4m What I can see is that your 32bit compiler is 5.3.0 and the 64bit one is 7.3.0
Can you try to install 32bit 7.3.0 compiler? -
wrote on 27 Feb 2019, 06:19 last edited by
-
For this setting of MinGW32 bit :
i get those error while trying to build :
any idea what can be wrong ?
64bit version is working perfectly.@Dre4m Can you copy paste the error messages instead of posting a screen shot? And it should contain the first error.
Also please post your pro file. -
For this setting of MinGW32 bit :
i get those error while trying to build :
any idea what can be wrong ?
64bit version is working perfectly.@Dre4m One more note: when switching to another Kit (or modifying existing one) please delete build directory, run qmake and build.
4/41