For some reason mingw32-make -f makefile.gcc BUILD=release SHARED=1 MONOLITHIC=1 UNICODE=1 doesnt work in command prompt... Can someone please hlpe me out?? It says that mingw32-make isn't a command.
As for mingw shell, it came with my mingw installation I believe. Actually, I think it comes with MSYS. I access it under the mingw entry in Programs menu.
The link you provided me will make me re-install MinGW. Currently, i have MinGW working perfectly with the boost library, and I would like it to stay that way.
Thank you for your help. If you cvould provide me with the link to installation of MSYS independently, I would appreciate it. I will do some searching though.
Well, adding "$(#wx.lib)\gcc_dll\mswu" to the compiler search direstories didnt help. (under the first tab)
I've tried as many different program "configuratoons as i can think of, and I still get that same damn error.
EDIT1 - I've tried adding "$(#wx.lib)\gcc_dll\mswu" under a lot of build options and none of it seems to help. The project is set for monolithic, dll, and unicode. I dont know what that is supposed to mean, but apparently it has to be set up that way for "$(#wx.lib)\gcc_dll\mswu" to work, which it doesn't anyway. wxWidgets, Y U NO WORK?!?!
Any help is greatly appreciated. I have done some searches and most of what I get is about VISUAL, not MinGW, but none about my problem specifically.
After a bit more un-conclusive searching, I am wondering what the problem is...
I've read some stuff about 'compiling the wxWidgets library wrong', if that's even possible..., and other stuff that refers to the same link in my first post. I can not figure out how to get widgets to work!!
If someone could provide step by step instructions so that they can 'diagnose' what's wrong with it, i would be very grateful. I'm about to abandon my attempts to make GUIs all together if I can't get this to simply work.
I would also like to note that attempts at building the wxWidgets using the instructions provided in the link of my first post, didn't seem to do anything. I put in the command and almost as fast as I pressed enter it showed me the input ">", and nothing more. No buils statistics/directories, etc, nothing. It was as if it didn't even try to build the library, so I'm going to take that as a confirmation that the wxWidgets library is properly built, until someone tells me otherwise.
I'm learning this on my own, this is not part of a school project, or otherwise. Any help you give is greatly appreciated.
When building you will see the compiler output, it also takes some time (I think about 45 mins for me). I'm thinking either you aren't entering the command correctly, your PATH doesn't have necessary directories or there is an issue with your mingw installation. Where you able to find the mingw shell I mentioned? If so try this command that worked for me
make -f makefile.gcc BUILD=release SHARED=1 MONOLITHIC=1 UNICODE=1
You can also try a more recent version of wxwidgets, the version I compiled was 2.9.4, but I doubt that is the issue.
Edit: Don't give up, while it can be a pain in the ass to build/link/use external libs it is necessary skill you will need to learn to be productive as a programmer.
make -f makefile.gcc BUILD=release SHARED=1 MONOLITHIC=1 UNICODE=1
That was the exact code i used, except i used
mingw32-make
instead of
make
. It didnt give me "not a command" or nothing. It just simply acted as though i didnt enter anything at all... I will try make instead though.
Also, I followed the instructions and changed the directory (C:\Program Files\CodeBlocks\wxWidgets-2.8.12\build\msw) if that changes anything.
Well, the entire FREAKING folder that contains All my prograsmming tools, wtc... is READ-ONLY! that must be half of my problem right there. Why in hell would my computer do this?? It wont let me change this from read only!!!!