Sean Meighan
Welcome => Latest xLights/Nutcracker software => Topic started by: MikeKrebs on January 31, 2016, 11:56:09 PM
-
I am following the updated README.windows on github.
Downloaded and installed CodeBlocks. I did download and install latest version (16.01).
Downloaded and installed wxWidgets 3.0.2.
I am at this step:
Edit the wxWidgets-3.0.2\include\wx\msw\setup.h, wxWidgets-3.0.2\lib\gcc_dll\mswu\wx\setup.h and wxWidgets-3.0.2\lib\gcc_dll\mswud\wx\setup.h files to enable GDI+
and do not have either of the second or third files.
The only setup.h files I have are:
Directory of C:\wxWidgets-3.0.2\include\msvc\wx
10/05/2014 11:19 AM 9,127 setup.h
Directory of C:\wxWidgets-3.0.2\include\wx\android
10/05/2014 11:19 AM 57,032 setup.h
Directory of C:\wxWidgets-3.0.2\include\wx\msw
02/01/2016 12:13 AM 58,135 setup.h
Directory of C:\wxWidgets-3.0.2\include\wx\msw\wince
10/05/2014 11:19 AM 55,675 setup.h
Directory of C:\wxWidgets-3.0.2\include\wx\univ
10/05/2014 11:19 AM 58,532 setup.h
Did I miss something?
-
Hi Mike,
As I recall, you need to actually perform steps 6 & 7 to get the last two header files mentioned in step 4. Check your path and make sure that C:\Program Files (x86)\CodeBlocks\MinGW\bin is in there. If not then add it. That path is where mingw32-make is located. Make sure that you run mingw32-make from C:\wxWidgets-3.0.2\build\msw as that is where the makefile.gcc is that it will make for steps 6 & 7.
-
I haven't looked at the updated readme but based on the comments here I would say it may not be fully updated unless Sean didn't do the same steps as Dan and I. We aren't using the mingw that comes with CodeBlocks. We downloaded and installed version 5.3 of gcc and had to point CodeBlocks there instead of where it installed mingw. I followed these instructions from Dan to get going:
To do so:
Download the ming-w64-install.exe from http://mingw-w64.org/doku.php/download
Run it and select the “i686” architecture, i used posix threads, and dwarf exceptions. Let it install.
You need to rebuild wxWidgets. Set the mingw environment with the bat file in the place that ming installed. The build as per our readme except:
mingw32-make -f makefile.gcc --debug MONOLITHIC=1 SHARED=1 UNICODE=1 CXXFLAGS="-std=gnu++14" BUILD=debug
Replace the DLLs.
In Code:Blocks, setup the GCC location to the new mingw as well as the gdb location.
Then completely clean and rebuild xLights.
-
Thanks for the update Gil. I'll be sure to update my build environment accordingly.