Sean Meighan
Welcome => Do You Need Help? Post it here => Topic started by: arw01 on January 11, 2017, 07:26:35 PM
-
Ran into my code::blocks compiler path issues last night.
Started fresh this evening. Following the instructions on the Github readme.windows and making the changes in order down the line here.
I installed a new wxWidgets64-3.1.0 directory
cd'd down to the build\msw
edited the setup.h and the rtti.h files per instructions 4) and 4b)
running the command number 7 or 8 gives me:
C:\wxWidgets64-3.1.0\build\msw>mingw32-make -f makefile.gcc --debug MONOLITHIC=1 SHARED=1 UNICODE=1 CXXFLAGS="-std=gnu++14" BUILD=release -j 10
GNU Make 4.1
Built for x86_64-w64-mingw32
Copyright (C) 1988-2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Reading makefiles...
Updating goal targets....
File 'all' does not exist.
File 'gcc_mswudll' does not exist.
Must remake target 'gcc_mswudll'.
if not exist gcc_mswudll mkdir gcc_mswudll
File 'setup_h' does not exist.
File '..\..\lib\gcc_dll\mswu\wx' does not exist.
File '..\..\lib\gcc_dll\mswu' does not exist.
Must remake target '..\..\lib\gcc_dll\mswu'.
if not exist ..\..\lib\gcc_dll\mswu mkdir ..\..\lib\gcc_dll\mswu
File '..\..\lib\gcc_dll\mswu\wx\setup.h' does not exist.
Must remake target '..\..\lib\gcc_dll\mswu\wx\setup.h'.
if not exist ..\..\lib\gcc_dll\mswu\wx\setup.h copy ..\..\include\wx\msw\setup.h ..\..\lib\gcc_dll\mswu\wx\setup.h
File '..\..\lib\gcc_dll\mswu\wx\msw\rcdefs.h' does not exist.
File '..\..\lib\gcc_dll\mswu\wx\msw' does not exist.
File '..\..\lib\gcc_dll\libwxregexu.a' does not exist.
File 'gcc_mswudll\wxregex_regcomp.o' does not exist.
Must remake target 'gcc_mswudll\wxregex_regcomp.o'.
gcc -c -o gcc_mswudll\wxregex_regcomp.o -O2 -mthreads -DHAVE_W32API_H -DNDEBUG -I..\..\include -I..\..\lib\gcc_dll\mswu -D__WXMSW__ -D_UNICODE -MTgcc_mswudll\wxregex_regcomp.o -MFgcc_mswudll\wxregex_regcomp.o.d -MD -MP ../../src/regex/regcomp.c
File 'gcc_mswudll\wxregex_regexec.o' does not exist.
Must remake target 'gcc_mswudll\wxregex_regexec.o'.
gcc -c -o gcc_mswudll\wxregex_regexec.o -O2 -mthreads -DHAVE_W32API_H -DNDEBUG -I..\..\include -I..\..\lib\gcc_dll\mswu -D__WXMSW__ -D_UNICODE -MTgcc_mswudll\wxregex_regexec.o -MFgcc_mswudll\wxregex_regexec.o.d -MD -MP ../../src/regex/regexec.c
The system cannot find the path specified.
0 file(s) copied.
File 'gcc_mswudll\wxregex_regerror.o' does not exist.
Must remake target 'gcc_mswudll\wxregex_regerror.o'.
makefile.gcc:5728: recipe for target '..\..\lib\gcc_dll\mswu\wx\setup.h' failed
mingw32-make: *** [..\..\lib\gcc_dll\mswu\wx\setup.h] Error 1
mingw32-make: *** Waiting for unfinished jobs....
In file included from ..\..\include/wx/defs.h:20:0,
from ../../src/regex/regcustom.h:39,
from ../../src/regex/regguts.h:38,
from ../../src/regex/regcomp.c:33:
..\..\include/wx/platform.h:136:22: fatal error: wx/setup.h: No such file or directory
compilation terminated.
In file included from ..\..\include/wx/defs.h:20:0,
from ../../src/regex/regcustom.h:39,
from ../../src/regex/regguts.h:38,
from ../../src/regex/regexec.c:32:
..\..\include/wx/platform.h:136:22: fatal error: wx/setup.h: No such file or directory
compilation terminated.
makefile.gcc:5778: recipe for target 'gcc_mswudll\wxregex_regcomp.o' failed
mingw32-make: *** [gcc_mswudll\wxregex_regcomp.o] Error 1
makefile.gcc:5781: recipe for target 'gcc_mswudll\wxregex_regexec.o' failed
mingw32-make: *** [gcc_mswudll\wxregex_regexec.o] Error 1
I was thinking it was a path error, but the path is:
C:\ProgramData\Oracle\Java\javapath;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\xLights;C:\wxWidgets64-3.1.0\lib\gcc_dll;C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static;C:\Program Files\Git\cmd;C:\Program Files\mingw-w64\x86_64-5.3.0-posix-seh-rt_v4-rev0\mingw64\bin
and I don't see any issues with that.
-
I had a problem also and had to add something to the path that wasn't in the instructions and I wasn't sure why but it got me past the issue. First off I do the command from the instructions which sets a shorter path with only what you need but changing the compiler path to the right location. Then I added a path for wherever it said it was having trouble with setup.h. So I believe I added '..\..\lib\gcc_dll\mswu\wx' or '..\..\lib\gcc_dll\mswu' and can't remember if I full pathed it or used relative.
-
Looks like the \mswu is the ticket..
tossed the full path on the end of my long set PATH and off it went..
I guess I was thinking they would recurse their own directory, but apparently giving it too much credit! It's compiling now a wx 64 bit version into it's own directory.
Then off to the next issues..
-
the wxwidgets built, now I am still having this error when I try to actually compile:
"xLights 4.0 - 64bit MinGW_Release": The compiler's setup is invalid, so Code::Blocks cannot find/run the compiler.
Probably the toolchain path within the compiler options is not setup correctly?! (Do you have a compiler installed?)
Goto "Settings->Compiler...->Global compiler settings->unknown->Toolchain executables" and fix the compiler's setup.
Skipping...
My wxwidgets64-3.1.0 is c:\wxwidgets64-3.1.0
I am pretty sure this wx64 is set correctly:
-
My guess is the compiler profile name doesn't match the name you gave the new one you created.
Did you name the new compiler profile "gnu_gcc_64bit_compiler"?
<Target title="64bit MinGW_Release">
<Option compiler="gnu_gcc_64bit_compiler" />
-
Definitely did not mess with that yet, will go poking for it.
-
IM having trouble with 64 bit also installing QM Vam plug in maybe someone can give me some help installing it.
I can't seem to find self installer on release page maybe someone can post a link to it.
-
IM having trouble with 64 bit also installing QM Vam plug in maybe someone can give me some help installing it.
I can't seem to find self installer on release page maybe someone can post a link to it.
So you did get it built and running then? That's good. Thanks for pointing this out I hadn't even tried the QM plugins. Just looked and they don't show up for me either.
-
So I inspected the headers inside the qm-vamp-plugin.dll and they are listed as 32-bit so that's probably why they aren't loading. I can't find a 64-bit dll. The instructions say for 64-bit os the plugin goes in the "(x86)" area which also means it's 32 bit.
-
So there isn't one yet glad to see that I wasn't haven't a DA attack. I can't get beats to the song without it. Guess I'll what tell they fix it. But love the program so far, very new to the rgb world hope slights is my right choice. I may have lots of question in near future.
-
Gil got me going, a couple more if you don't do this much type of things you won't know you need to do that stuff, but compiled and I have it running. Bringing over a couple sequences to play on the lights outside to see how the output does.
-
So there isn't one yet glad to see that I wasn't haven't a DA attack. I can't get beats to the song without it. Guess I'll what tell they fix it. But love the program so far, very new to the rgb world hope slights is my right choice. I may have lots of question in near future.
So if you are new there is no reason to be building from our source code nor subjecting yourself to the possible bugs that may exist in the untested 64bit version. You do know releases are posted with everything already built correct?