Do you have a question about makefiles, a compiler or IDE you are using and need to know how to set it up for wxWidgets or why it doesn't compile but other IDE's do ? Post your questions here.
I am SO afraid to ask this again, i was thinking i were starting to know wxWidgets better than this.
Also searched the forum for the error, but i did'nt found useful solutions)
On a fresh Windows 10 PC, i am following this guide with some of my past experience put in the mix.
I've unzipped the windows sources in C:\_SVILUPPO_\_TOOLCHAINS_\wxWidgets-3.1.7-win, which is set as the value of the WXWIN environment variable.
from the %WXWIN%\build\msw folder, i've opened a CMD session, and fired this previously made batch file:
To verify your build, change the directory to samples\minimal and run the same mingw32-make command (with the same parameters there), this should create a working minimal wxWidgets sample.
Call mingw32-make with the same parameters you used for building the wx libs.
doublemax@work wrote: ↑Wed Nov 23, 2022 9:54 am
From the page you quoted:
To verify your build, change the directory to samples\minimal and run the same mingw32-make command (with the same parameters there), this should create a working minimal wxWidgets sample.
Call mingw32-make with the same parameters you used for building the wx libs.
Parduz wrote: ↑Thu Nov 24, 2022 8:29 am
Out of couriosity, what makefile was executed with my wrong line?
When you do not pass a makefile to GNU make (with -f), make has a set of rules what to do in this case. You can display the rules with adding "-d" to the command line.
In your case, it ended attempting to compile a file your passed it, i.e., minimal.cpp, as you can see in the make output you pasted in the OP.
PB wrote: ↑Thu Nov 24, 2022 9:00 am
In your case, it ended attempting to compile a file your passed it, i.e., minimal.cpp, as you can see in the make output you pasted in the OP.
Thanks.
I thought it had found a rule in one of the makefile.*, not that it was .... how can i say .... autonomously compiling it.