Hi, I need to build dcmtk-3.6.1_20150217 snapshot (I need this version because a library I've built some time ago need this specific version) using Mingw32-w64 for 32bits, but after configuring with CMAKE using CMAKE-GUI on Windows 7 and executing mingw32-make I get undefined reference to WinMain@16 when the build process reach 77% and tries to link dcmprscu.exe
How can I fix this?.
Mig32-w64 32bit - Undefined reference to winmain
Moderator: Moderator Team
-
- Posts: 347
- Joined: Mon, 2009-02-23, 19:57
-
- Posts: 347
- Joined: Mon, 2009-02-23, 19:57
Re: Mig32-w64 32bit - Undefined reference to winmain
Btw, I'm using gcc version 4.9.1 (i686-posix-dwarf-rev3, Built by MinGW-W64 project).
-
- OFFIS DICOM Team
- Posts: 318
- Joined: Mon, 2014-03-03, 09:51
- Location: Oldenburg, Germany
Re: Mig32-w64 32bit - Undefined reference to winmain
Weird, our MinGW-GCC 8.2.1 posix x86_64-w64-mingw32 in our Nightlybuilds still works fine. Maybe a problem with the fancy new GCC?
-
- Posts: 347
- Joined: Mon, 2009-02-23, 19:57
[SOLVED] Re: Mig32-w64 32bit - Undefined reference to winmain
Well, I deleted my mingw and also that dcmtk version, downloaded everything again, compiled and it worked without a glitch.
Who is online
Users browsing this forum: Bing [Bot] and 1 guest