Code: Select all
mingw32-make -f makefile.gcc SHARED=1 UNICODE=1 BUILD=release
Code: Select all
mingw32-make -f makefile.gcc SHARED=1 UNICODE=1 BUILD=release
I wouldn't bother using DLLs. The chances are extremely small that there's is another application on the system that uses exactly the same wxwidgets version + the same compiler + same options.HansLjy wrote: ↑Sat Jul 10, 2021 9:52 am I use cmake and I have already linked wxwidgets using libs. However I found that the application generated was very big. So I hope I can link the dll version of it. I have also built the dlls using the following command from the wiki.
Now I have a gcc_dll directory. What to do next?Code: Select all
mingw32-make -f makefile.gcc SHARED=1 UNICODE=1 BUILD=release
I see, but the linking time is really killing me, I suppose it would be much shorter if I use the dll version?jpo234 wrote: ↑Sat Jul 10, 2021 10:17 amI wouldn't bother using DLLs. The chances are extremely small that there's is another application on the system that uses exactly the same wxwidgets version + the same compiler + same options.HansLjy wrote: ↑Sat Jul 10, 2021 9:52 am I use cmake and I have already linked wxwidgets using libs. However I found that the application generated was very big. So I hope I can link the dll version of it. I have also built the dlls using the following command from the wiki.
Now I have a gcc_dll directory. What to do next?Code: Select all
mingw32-make -f makefile.gcc SHARED=1 UNICODE=1 BUILD=release
Follow the instructions for the build system / IDE you are using. This should be a good start: