Author Topic: The 13 August 2022 build (12864) is out.  (Read 35028 times)

Offline gd_on

  • Lives here!
  • ****
  • Posts: 799
Re: The 13 August 2022 build (12864) is out.
« Reply #60 on: August 25, 2022, 09:38:48 am »
Quote
Is cb_release_type with base of -g equivalent to cb_build  with cflags of -O2 ?
No. cb_release_type with base of -g is equivalent to cb_build with cflags of -g. For me cb_release-type has exactly the same meaning and usage than cb_build.cflags.
I have done this because it's not a good practice to have two different variables with the same contents and are supposed to do the same thing. So, as made by Andrew Cottrel in his own cbps, I have chosen to use cb_build.cflags and to replace all cb_release_type which were still present in some cbps.
Windows 11 64 bits (23H2), svn C::B (last version or almost!), wxWidgets 3.2.5 (tests with 3.3), Msys2 Compilers 14.1.0, 64 bits (seh, posix : gcc, g++ and gfortran in C:\msys64\mingw64) or 32 bits (dwarf2, posix  in C:\msys64\mingw32).

Offline Frank_CB

  • Almost regular
  • **
  • Posts: 148
Re: The 13 August 2022 build (12864) is out.
« Reply #61 on: August 25, 2022, 06:50:53 pm »
@gd_on:
I didn't think so. However, your latest World.cbp has several occurrences of the variable cb_release_type being used. That is contrary to your statements that you no longer use that variable. My cb_release_type is -g. The cb_build.cflags variable is -O2 per your instructions. I doubt that is what causes my build failures.

However, with over 4350+ statements in World.cbp, there could possibly be other things that were overlooked.

Regards

Offline gd_on

  • Lives here!
  • ****
  • Posts: 799
Re: The 13 August 2022 build (12864) is out.
« Reply #62 on: August 25, 2022, 07:16:33 pm »
You are right, but there was only one cb_release_type, in codeblocks_windows.cbp and unfortunately at a global level, so used at each compilation!
Here again a corrected version.

PS: to be sure that nobody will use old versions, I have deleted all other Cbps_*.7z in previous post.
« Last Edit: August 25, 2022, 07:22:02 pm by gd_on »
Windows 11 64 bits (23H2), svn C::B (last version or almost!), wxWidgets 3.2.5 (tests with 3.3), Msys2 Compilers 14.1.0, 64 bits (seh, posix : gcc, g++ and gfortran in C:\msys64\mingw64) or 32 bits (dwarf2, posix  in C:\msys64\mingw32).

Offline Frank_CB

  • Almost regular
  • **
  • Posts: 148
Re: The 13 August 2022 build (12864) is out.
« Reply #63 on: August 25, 2022, 08:57:26 pm »
@gd_on:
There are 4361 lines of code in 32_64.cbp and 4356 lines of code in World.cbp. You removed the following lines of code from 32_64.cbp:
Code
                        <Environment>
<Variable name="WX_CFG" value="64" />
<Variable name="WX_SUFFIX" value="u" />
<Variable name="WX_VERSION" value="32" />
</Environment>
, but never replaced them with the global variables you created for wxwidgets. I suspect this is causing the failures.

I used WinMerge to compare the two programs.

Regards

Offline Frank_CB

  • Almost regular
  • **
  • Posts: 148
Re: The 13 August 2022 build (12864) is out.
« Reply #64 on: August 25, 2022, 09:22:47 pm »
A couple tools you might find useful !

WinMerge is an open sorce application from: www.winmaege.org

XML Editor is a free application from: https://xml-copy-editor.sourceforge.io/

Regards

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7670
    • My Best Post
Re: The 13 August 2022 build (12864) is out.
« Reply #65 on: August 25, 2022, 09:30:17 pm »
A couple tools you might find useful !

WinMerge is an open sorce application from: www.winmaege.org

XML Editor is a free application from: https://xml-copy-editor.sourceforge.io/

Regards

Please DO NOT POST FAKE LINKS!
https://winmerge.org/

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

Offline Frank_CB

  • Almost regular
  • **
  • Posts: 148
Re: The 13 August 2022 build (12864) is out.
« Reply #66 on: August 25, 2022, 10:22:56 pm »
@stahta01:
Thanks Tim for correcting the link. It wasn't done intentionally.  It worked in my browser..

Regards

Offline Frank_CB

  • Almost regular
  • **
  • Posts: 148
Re: The 13 August 2022 build (12864) is out.
« Reply #67 on: August 25, 2022, 10:41:16 pm »
@gd_on:
I may have been pre-mature in claiming you no longer used wx_version; wx_suffix or wx_cfg after you removed tham from Worlds.cbp. Further investigation found you had incorporated them into other statements as global variables.

Sorry !

Regards

Offline gd_on

  • Lives here!
  • ****
  • Posts: 799
Re: The 13 August 2022 build (12864) is out.
« Reply #68 on: August 26, 2022, 12:22:31 am »
This is exactly one of tje main purposes why I have created these global variables : avoid local copies in many different cbp.
And don't worry, I know wincmp, winmerge and even some other tools...
« Last Edit: August 26, 2022, 10:07:05 am by gd_on »
Windows 11 64 bits (23H2), svn C::B (last version or almost!), wxWidgets 3.2.5 (tests with 3.3), Msys2 Compilers 14.1.0, 64 bits (seh, posix : gcc, g++ and gfortran in C:\msys64\mingw64) or 32 bits (dwarf2, posix  in C:\msys64\mingw32).

Offline ThierryD

  • Multiple posting newcomer
  • *
  • Posts: 45
Re: The 13 August 2022 build (12864) is out.
« Reply #69 on: August 29, 2022, 04:10:01 pm »
Hi,
Maybe bug in last version nightly build v12864.
I use many useful environment variables to manager versions of Visual Studio 2022 Community, Kits Window and CLANG on Windows 11 (last versions).
Examples in CB configuration of differents compilers with CLANG integrated with VS 2002 ->
Search directories :
   a) compiler :          C:\Program Files (x86)\LLVM\lib\clang\%CLANG_VERSION%\include                       puis
                     C:\Program Files (X86)\Windows Kits\%KIT_WIN_VERSION%\include\%KIT_WIN_NUM%\shared    puis
                     C:\Program Files (X86)\Windows Kits\%KIT_WIN_VERSION%\include\%KIT_WIN_NUM%\ucrt      puis
                     C:\Program Files (X86)\Windows Kits\%KIT_WIN_VERSION%\include\%KIT_WIN_NUM%\um        puis
                     C:\Program Files\Microsoft Visual Studio\%VS_VERSION%\Community\VC\Tools\MSVC\%VS_NUM%\include
   b) linker :          C:\Program Files (x86)\LLVM\lib\clang\%CLANG_VERSION%\lib\windows                    puis
                     C:\Program Files (X86)\Windows Kits\%KIT_WIN_VERSION%\lib\%KIT_WIN_NUM%\um\x86        puis
                     C:\Program Files (x86)\Microsoft Visual Studio\%VS_VERSION%\Community\VC\Tools\MSVC\%VS_NUM%\lib\x86
                     C:\Program Files (X86)\Windows Kits\%KIT_WIN_VERSION%\lib\%KIT_WIN_NUM%\ucrt\x86     puis
                     C:\Program Files\Microsoft Visual Studio\%VS_VERSION%\Community\VC\Tools\MSVC\%VS_NUM%\lib\x86\store
   a) resource compiler :    C:\Program Files (x86)\LLVM\lib\clang\%CLANG_VERSION%\include                       puis
                     C:\Program Files (X86)\Windows Kits\%KIT_WIN_VERSION%\include\%KIT_WIN_NUM%\shared    puis
                     C:\Program Files (X86)\Windows Kits\%KIT_WIN_VERSION%\include\%KIT_WIN_NUM%\ucrt      puis
                     C:\Program Files (X86)\Windows Kits\%KIT_WIN_VERSION%\include\%KIT_WIN_NUM%\um        puis
                     C:\Program Files\Microsoft Visual Studio\%VS_VERSION%\Community\VC\Tools\MSVC\%VS_NUM%\include

With CB last nightly, translation of these environnement variables don't work correctly :
Cleaned "dlg_two - Debug CLANG MSX32"

-------------- Build: Debug CLANG MSX32 in dlg_two (compiler: LLVM Clang Compiler X32)---------------

Running target pre-build steps
rc.exe -I"C:\LLVM\lib\clang\14.0.6\include" -I"C:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\shared" -I"C:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\ucrt" -I"C:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\um" -I"C:\Program Files (x86)\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.30.30705\include" /fo "objCLANGX32\Debug\dlg_two.res" dlg_two.rc
Microsoft (R) Windows (R) Resource Compiler Version 10.0.10011.16384
Copyright (C) Microsoft Corporation.  All rights reserved.
dlg_two.rc(11) : fatal error RC1015: cannot open include file 'windows.h'.

Value of defined variables on my system :
         KIT_WIN_VERSION        10.0.22621.0
         KIT_WIN_NUM              10
         VS_VERSION        10.0.22621.0
         VS_NUM               10
         
         

Offline ThierryD

  • Multiple posting newcomer
  • *
  • Posts: 45
Re: The 13 August 2022 build (12864) is out.
« Reply #70 on: August 29, 2022, 04:10:55 pm »
Many thank's.

Offline ThierryD

  • Multiple posting newcomer
  • *
  • Posts: 45
Re: The 13 August 2022 build (12864) is out.
« Reply #71 on: August 29, 2022, 04:45:25 pm »
Hi (ter),
Apology for error in last typo :
        VS_VERSION       2022
        VS_NUM              14.33.31629

Sorry, but diagnostic is the same.

Many thanks. 

Offline ThierryD

  • Multiple posting newcomer
  • *
  • Posts: 45
Conclusion : not a bug, but only my error ...
« Reply #72 on: September 03, 2022, 03:41:57 pm »
Hi,
Ma last alert about possibly bug with last version NB of CB is an error ... of mine ...
I haven't changed the pre-build procedure to adapt this with good envoronment variables, but coding with "hard path" to "include" directories.
After upgrade with last version of VS2002 and kit Windows (and purge precedent version), nothing work, it's clear !!!
The problem is placed beetween keybord and screen ... and it's me ..
Forgive me, you can close this alert.

Thank's.   

Offline AndrewCot

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 678
Re: The 13 August 2022 build (12864) is out.
« Reply #73 on: September 14, 2022, 02:26:56 am »
I would like to switch soon to wx 3.2 (again with the 2 patches we have applied to 3.1.7), does anyone has any objections, or reasons not to step-up (yet) ?

I think wx 3.2.1 is good to switch to now as it does not require any patches and is being used by allot of the C::B devs now.

baloghi

  • Guest
Re: The 13 August 2022 build (12864) is out.
« Reply #74 on: September 15, 2022, 08:48:11 pm »
I am not sure is there database explorer plugin support in this version?

Thank you for your answer.