News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

Problem compiling svn 9467 on Windows

Started by gd_on, November 27, 2013, 09:18:10 AM

Previous topic - Next topic

gd_on

Trying to compile svn 9467 on Windows (with tdm compiler 4.8.1) gives an error in building cctest :
Quote
...
||=== Générer : cctest dans CC Test (compilateur : GNU GCC Compiler) ===|
D:\gdurand.ONL\Documents\00_svn_CodeBlocks\CodeBlocks_src\trunk\src\plugins\codecompletion\nativeparser_base.cpp||In member function 'void NativeParserBase::FindCurrentFunctionScope(TokenTree*, const TokenIdxSet&, TokenIdxSet&)':|
..\..\include\cbexception.h|61|error: 'cbC2U' was not declared in this scope|
..\..\include\cbexception.h|80|note: in expansion of macro 'cbAssertMessage'|
D:\gdurand.ONL\Documents\00_svn_CodeBlocks\CodeBlocks_src\trunk\src\plugins\codecompletion\parser\cclogger.h|159|note: in expansion of macro 'cbAssert'|
D:\gdurand.ONL\Documents\00_svn_CodeBlocks\CodeBlocks_src\trunk\src\plugins\codecompletion\nativeparser_base.cpp|303|note: in expansion of macro 'CC_LOCKER_TRACK_TT_MTX_LOCK'|
....
||=== Génération de terminé : 34 erreur(s), 5 avertissement(s) (6 minute(s), 13 seconde(s)) ===|
apparently a problem with cbC2U.
This happened even on a full C::B rebuild.

gd_on
Windows 11 64 bits (25H2), svn C::B (last version or almost!), wxWidgets 3.3.2, Msys2 Compilers 16.1.0, 64 bits (seh, posix : gcc, g++ and gfortran in C:\msys64\mingw64) or 32 bits (dwarf2, posix  in C:\msys64\mingw32).

stahta01

#1
Did you delete the precompiled sdk.h? if not do so.

sdk.h.gch and sdk_precomp.h.gch in folder "src\.objs\include"

Tim S.
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

ollydbg

Build fine here. MinGW-build 4.7.4, wx2.8.12.
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

MortenMacFly

Quote from: ollydbg on November 27, 2013, 03:06:38 PM
Build fine here. MinGW-build 4.7.4, wx2.8.12.
Does not build for me, too. But the fix is in trunk now. It was actually an "error" that had been there longer, but just not raised so far.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]

gd_on

Quote
Did you delete the precompiled sdk.h? if not do so.

sdk.h.gch and sdk_precomp.h.gch in folder "src\.objs\include"

I thought this was automatically done when you make a full rebuild, during the cleanup part of the process. Isn't it ?

Nevertheless, with svn 9468 it's OK. ;)

thanks

Gd_on
Windows 11 64 bits (25H2), svn C::B (last version or almost!), wxWidgets 3.3.2, Msys2 Compilers 16.1.0, 64 bits (seh, posix : gcc, g++ and gfortran in C:\msys64\mingw64) or 32 bits (dwarf2, posix  in C:\msys64\mingw32).