User forums > Help

CB build wiki page

<< < (2/3) > >>

Wkerry:
I setup $(wx32_64), but I cannot build CodeBlocks as I get the error below. I am using the latest MSYS2 MingW64 compiler, GCC 13.2.0.

The global variable dialog has changed allot and the existing one in the page is probably from a very old version of CodeBlocks as it has wxwidgets 2.8.12 in the base.

Any ideas on this error? From google it seems like somehow CodeBlocks or my setup is using a 32 bit compiler some how, but I have no idea how.



--- Code: ----------------- Build: tinyXML in Code::Blocks wx3.2.x (64 bit) (compiler: GNU GCC Compiler)---------------

g++.exe -Wall -std=gnu++11 -m64 -g -pipe -mthreads -fmessage-length=0 -fexceptions -Winvalid-pch -DHAVE_W32API_H -D__WXMSW__ -DWXUSINGDLL -DcbDEBUG -DCB_PRECOMP -DwxUSE_UNICODE -D_WIN64 -DEXPORT_LIB -iquote.objs32_64\include -I.objs32_64\include -I. -ID:\Temp\wxWidgets-3.2.4\include -ID:\Temp\wxWidgets-3.2.4\lib\gcc_dll\mswu -Isdk\wxscintilla\include -Iinclude\tinyxml -Iinclude\tinyxml -c D:\Temp\codeblocks-code-r13422-trunk\src\base\tinyxml\tinystr.cpp -o .objs32_64\base\tinyxml\tinystr.o
g++.exe -Wall -std=gnu++11 -m64 -g -pipe -mthreads -fmessage-length=0 -fexceptions -Winvalid-pch -DHAVE_W32API_H -D__WXMSW__ -DWXUSINGDLL -DcbDEBUG -DCB_PRECOMP -DwxUSE_UNICODE -D_WIN64 -DEXPORT_LIB -iquote.objs32_64\include -I.objs32_64\include -I. -ID:\Temp\wxWidgets-3.2.4\include -ID:\Temp\wxWidgets-3.2.4\lib\gcc_dll\mswu -Isdk\wxscintilla\include -Iinclude\tinyxml -Iinclude\tinyxml -c D:\Temp\codeblocks-code-r13422-trunk\src\base\tinyxml\tinyxml.cpp -o .objs32_64\base\tinyxml\tinyxml.o
g++.exe -Wall -std=gnu++11 -m64 -g -pipe -mthreads -fmessage-length=0 -fexceptions -Winvalid-pch -DHAVE_W32API_H -D__WXMSW__ -DWXUSINGDLL -DcbDEBUG -DCB_PRECOMP -DwxUSE_UNICODE -D_WIN64 -DEXPORT_LIB -iquote.objs32_64\include -I.objs32_64\include -I. -ID:\Temp\wxWidgets-3.2.4\include -ID:\Temp\wxWidgets-3.2.4\lib\gcc_dll\mswu -Isdk\wxscintilla\include -Iinclude\tinyxml -Iinclude\tinyxml -c D:\Temp\codeblocks-code-r13422-trunk\src\base\tinyxml\tinyxmlerror.cpp -o .objs32_64\base\tinyxml\tinyxmlerror.o
g++.exe -Wall -std=gnu++11 -m64 -g -pipe -mthreads -fmessage-length=0 -fexceptions -Winvalid-pch -DHAVE_W32API_H -D__WXMSW__ -DWXUSINGDLL -DcbDEBUG -DCB_PRECOMP -DwxUSE_UNICODE -D_WIN64 -DEXPORT_LIB -iquote.objs32_64\include -I.objs32_64\include -I. -ID:\Temp\wxWidgets-3.2.4\include -ID:\Temp\wxWidgets-3.2.4\lib\gcc_dll\mswu -Isdk\wxscintilla\include -Iinclude\tinyxml -Iinclude\tinyxml -c D:\Temp\codeblocks-code-r13422-trunk\src\base\tinyxml\tinyxmlparser.cpp -o .objs32_64\base\tinyxml\tinyxmlparser.o
cmd /c if exist devel32_64\libtxml.a del devel32_64\libtxml.a
ar.exe -r -s devel32_64\libtxml.a .objs32_64\base\tinyxml\tinystr.o .objs32_64\base\tinyxml\tinyxml.o .objs32_64\base\tinyxml\tinyxmlerror.o .objs32_64\base\tinyxml\tinyxmlparser.o
cc1plus.exe: sorry, unimplemented: 64-bit mode not compiled in
Assembler messages:
Fatal error: no compiled in support for x86_64
Process terminated with status 1 (0 minute(s), 0 second(s))
 
cc1plus.exe: sorry, unimplemented: 64-bit mode not compiled in
Assembler messages:
Fatal error: no compiled in support for x86_64
Process terminated with status 1 (0 minute(s), 0 second(s))
2 error(s), 0 warning(s) (0 minute(s), 0 second(s))
 
cc1plus.exe: sorry, unimplemented: 64-bit mode not compiled in
Assembler messages:
Fatal error: no compiled in support for x86_64
Process terminated with status 1 (0 minute(s), 0 second(s))
3 error(s), 0 warning(s) (0 minute(s), 0 second(s))
 
cc1plus.exe: sorry, unimplemented: 64-bit mode not compiled in
Assembler messages:
Fatal error: no compiled in support for x86_64
Process terminated with status 1 (0 minute(s), 0 second(s))
4 error(s), 0 warning(s) (0 minute(s), 0 second(s))
 

--- End code ---

Wkerry:
I did a quick hack of my MSYS2 setup and renamed C:\msys64\mingw32 to C:\msys64\mingw32.old and got a very strange (crazy) reference as follows when I did a rebuild workspace as I do not have  the mingw32 directory anymore and the CodeBlcoks setup is to use mingw64.


--- Code: ---Tried to run compiler executable 'C:\msys64\mingw32/bin/gcc.exe', but failed!
--- End code ---


The Compiler settings have the following:
install directory set to C:\msys64\mingw64[/li][/list]
C++ compiler is set to g++.exe

stahta01:

--- Quote from: Wkerry on January 03, 2024, 07:33:18 am ---I did a quick hack of my MSYS2 setup and renamed C:\msys64\mingw32 to C:\msys64\mingw32.old and got a very strange (crazy) reference as follows when I did a rebuild workspace as I do not have  the mingw32 directory anymore and the CodeBlcoks setup is to use mingw64.


--- Code: ---Tried to run compiler executable 'C:\msys64\mingw32/bin/gcc.exe', but failed!
--- End code ---
The Compiler settings have the following:
install directory set to C:\msys64\mingw64[/li]
--- End quote ---
C++ compiler is set to g++.exe
[/quote]

Is the project using the compiler you think you are using?

Tim S.

ollydbg:
I use msys2's 64bit gcc(mingw64) everyday, and I don't have such issue. I normally use a 64bit C::B to build the whole workspace.

As stahta01 said, are you using some 32 bit compiler or 32 bit C::B?

Wkerry:
@stahta01 - You hints allowed me to figure out that the page does not include info on the project (CodeBlocks_wx32_64.cbp) does not work if you have a different compiler setup. I changes the project compiler and it worked. The page does not say I need to do this.

@ollydbg I am using 64bit and following the updated instructions on the wiki page and the 13442 CodeBlocks version and the latest MSYS2 Mingw64.

I got CodeBlocks  to build, but the instructions need to be corrected.

The nightly and the one I built are different and I have no idea why. Any ideas?

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version