Code: Select all
BUILD=release SHARED=0
Is the problem build configuration of cmake?
Code: Select all
BUILD=release SHARED=0
I understand it is a typo but I could not figure out what "exited" was supposed to be.Reactionic wrote: ↑Sat Dec 04, 2021 7:54 pm Later I use cmake to build minimal sample with exited CMakeLists file.
The error is very odd, why would the OS looked for an .exe file inside a .DLL? You built wxWidgets as static but the compiler DLLs are still needed: Are those available? Are you running the sample from the command line or from Explorer?Reactionic wrote: ↑Sat Dec 04, 2021 7:54 pm I can build it without any error or warning. However when I try to run it, I got an error like "Entry Point Not Found - minimal.exe is not found in dynamic link library."
1. I have only one that comes with Qt
Yes, looking for the 'exe' itself is weird. Running it from command line or from Explorer gives the same result.PB wrote: ↑Tue Dec 07, 2021 5:28 pmI understand it is a typo but I could not figure out what "exited" was supposed to be.Reactionic wrote: ↑Sat Dec 04, 2021 7:54 pm Later I use cmake to build minimal sample with exited CMakeLists file.
The error is very odd, why would the OS looked for an .exe file inside a .DLL? You built wxWidgets as static but the compiler DLLs are still needed: Are those available? Are you running the sample from the command line or from Explorer?Reactionic wrote: ↑Sat Dec 04, 2021 7:54 pm I can build it without any error or warning. However when I try to run it, I got an error like "Entry Point Not Found - minimal.exe is not found in dynamic link library."
I have experienced some odd DLL issues when I built the executable with one GCC distro but the DLLs that were found was from another one, see what oneeyman wrote.
Code: Select all
mingw32-make -f makefile.gcc BUILD=release SHARED=0 RUNTIME_LIBS=static -j8
AFAIK, RUNTIME_LIBS is MSVC only, for GCC a compiler switch must be used, see for example chapter 3.6.7 my guide. So, compiler DLLs are still needed at runtime. Regardless, the error is still odd .Reactionic wrote: ↑Wed Dec 08, 2021 9:32 pm For example, I built the library again with command below.Code: Select all
mingw32-make -f makefile.gcc BUILD=release SHARED=0 RUNTIME_LIBS=static -j8