Author Topic: The 29 January 2023 build (13166) is out.  (Read 9815 times)

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5513
The 29 January 2023 build (13166) is out.
« on: January 29, 2023, 04:32:32 pm »
We switched to wx 3.2.1 (on 01 October 2022) --> download the new wx dll's see link below

Get quick announcements through the RSS feed http://www.codeblocks.org/nightly/CodeBlock_RSS.xml

Before you use a nightly make sure you understand how it works.

A link to the unicode windows wxWidget dll(s) for Code::Blocks : https://sourceforge.net/projects/codeblocks/files/Binaries/Nightlies/Prerequisites/wxmsw32u_gcc_cb_wx321_2D_gcc810-mingw64.7z
A link to Mingw64 dll's needed by Code::Blocks : http://sourceforge.net/projects/codeblocks/files/Binaries/Nightlies/Prerequisites/Mingw64dlls8.1.0.7z


The 29 Januari 2023 build is out.
  - Windows :
   http://sourceforge.net/projects/codeblocks/files/Binaries/Nightlies/2023/CB_20230129_rev13166_win64.7z
  - Linux :
   none

The current SDK version is : 2.23.0

Resolved Fixed:

  • TODO: Fix panel not filling correctly (ticket #1364).
  • CompilerGCC: Add support for MSVC17 (ticket #1352, thanks Martin Strunz).

Regressions/Confirmed/Annoying/Common bugs:



    Offline Xaviou

    • Regular
    • ***
    • Posts: 412
      • X@v's wxStuff
    Re: The 29 January 2023 build (13166) is out.
    « Reply #1 on: January 29, 2023, 09:13:11 pm »
    Hi.

    OS X version of this rev could not be built : there is an error with the clangd plugin (see attached build output)

    32 bits version for Windows ca be found in my Google Drive. (wx-3.2.1).

    Debian Buster and Bullseye (32 and 64 bits) can be installed from my repo.

    Regards
    Xav'
    The french wxWidgets site : http://www.wxdev.fr
    My wxWidgets's stuff : https://wxstuff.xaviou.fr/

    Offline Miguel Gimenez

    • Developer
    • Lives here!
    • *****
    • Posts: 1630
    Re: The 29 January 2023 build (13166) is out.
    « Reply #2 on: January 30, 2023, 11:48:59 am »
    The error is
    Code
    make[5]: *** No rule to make target `../../../../../src/sdk/libcodeblocks.la', needed by `libclangd_client.la'.  Stop.
    The code completion plugin has this in the Makefile.am (and compiles OK)
    Code
    libcodecompletion_la_LIBADD = ../../sdk/libcodeblocks.la\
    $(WX_LIBS) \
    $(CB_TINYXML_LIBS)
    while clangd_client has
    Code
    libclangd_client_la_LIBADD = \
    $(top_srcdir)/src/sdk/libcodeblocks.la \
    -lutil \
    $(WX_LIBS)
    Looks like $(top_srcdir)/src is not correct, it should be ../../.. (clangd_client is a contrib plugin, so it is one level deeper than Code Completion).
    « Last Edit: January 30, 2023, 12:27:52 pm by Miguel Gimenez »

    Offline Pecan

    • Plugin developer
    • Lives here!
    • ****
    • Posts: 2803
    Re: The 29 January 2023 build (13166) is out.
    « Reply #3 on: January 30, 2023, 06:56:49 pm »
    The error is
    Code
    make[5]: *** No rule to make target `../../../../../src/sdk/libcodeblocks.la', needed by `libclangd_client.la'.  Stop.
    The code completion plugin has this in the Makefile.am (and compiles OK)
    Code
    libcodecompletion_la_LIBADD = ../../sdk/libcodeblocks.la\
    $(WX_LIBS) \
    $(CB_TINYXML_LIBS)
    while clangd_client has
    Code
    libclangd_client_la_LIBADD = \
    $(top_srcdir)/src/sdk/libcodeblocks.la \
    -lutil \
    $(WX_LIBS)
    Looks like $(top_srcdir)/src is not correct, it should be ../../.. (clangd_client is a contrib plugin, so it is one level deeper than Code Completion).
    Applied. Head rev 13177
    Thanks Xaviou and Miguel

    Offline Xaviou

    • Regular
    • ***
    • Posts: 412
      • X@v's wxStuff
    Re: The 29 January 2023 build (13166) is out.
    « Reply #4 on: January 30, 2023, 07:21:38 pm »
    Hi.
    Applied. Head rev 13177
    Hum...
    Doesn't seems to be enough.
    There are still includes errors (see attached build output related to rev 13177)

    Regards
    Xav'
    The french wxWidgets site : http://www.wxdev.fr
    My wxWidgets's stuff : https://wxstuff.xaviou.fr/

    Offline Pecan

    • Plugin developer
    • Lives here!
    • ****
    • Posts: 2803
    Re: The 29 January 2023 build (13166) is out.
    « Reply #5 on: January 30, 2023, 10:12:12 pm »
    Hi.
    Applied. Head rev 13177
    Hum...
    Doesn't seems to be enough.
    There are still includes errors (see attached build output related to rev 13177)

    Regards
    Xav'

    I'm sorry, I do not know how to fix this.
    The errors are just confusing to me.
    Maybe you should exclude clangd_client from your OSX build until a linux or OSX guy can fix this.

    If anyone wants to try and fix this, ... go for it.

    « Last Edit: January 30, 2023, 10:14:07 pm by Pecan »

    Offline Pecan

    • Plugin developer
    • Lives here!
    • ****
    • Posts: 2803
    Re: The 29 January 2023 build (13166) is out.
    « Reply #6 on: January 30, 2023, 11:04:08 pm »
    Hi.
    Applied. Head rev 13177
    Hum...
    Doesn't seems to be enough.
    There are still includes errors (see attached build output related to rev 13177)

    Regards
    Xav'

    Is it possible that the errors are occurring with include locations because "$(srcdir)" is missing from the last four -I statements?
    Code
    AM_CPPFLAGS = \
    $(WX_CXXFLAGS) \
    -I$(top_srcdir)/src/include \
    -I$(top_srcdir)/src/sdk/wxscintilla/include \
    -I$(top_srcdir)/src/include/tinyxml \
    -Isrc \
    -Isrc/LSPclient \
    -Isrc/codecompletion \
    -Isrc/unixprocess

    It seems to me that other \contrib .am files have "$(srcdir)" prefixed to their -I statements when there are subDirs containing .cpp and .h files.
    Comments from anyone with any experience appreciated.
    I'm floundering.
    « Last Edit: January 30, 2023, 11:14:00 pm by Pecan »

    Offline Miguel Gimenez

    • Developer
    • Lives here!
    • *****
    • Posts: 1630
    Re: The 29 January 2023 build (13166) is out.
    « Reply #7 on: January 31, 2023, 01:52:15 pm »
    I know little about Autotools, but checking the error log I think the last four rows should be
    Code
    	-I. \
    -ILSPclient \
    -Icodecompletion \
    -Iunixprocess

    Offline Xaviou

    • Regular
    • ***
    • Posts: 412
      • X@v's wxStuff
    Re: The 29 January 2023 build (13166) is out.
    « Reply #8 on: January 31, 2023, 05:57:26 pm »
    Hi.
    I know little about Autotools, but checking the error log I think the last four rows should be
    Code
    	-I. \
    -ILSPclient \
    -Icodecompletion \
    -Iunixprocess
    I don't think so : these folders are sub-directories of the "src" one present in the clangd_client plugin dir.

    I've tested with
    Code
    	-I$(srcdir)/src \
    -I$(srcdir)/src/LSPclient \
    -I$(srcdir)/src/codecompletion \
    -I$(srcdir)/src/unixprocess
    And the build went fine.  :)

    Corresponding DMG file uploaded to my Google Drive (see my post above for the link) in the rev13166 folder

    Regards
    Xav'
    « Last Edit: January 31, 2023, 06:18:04 pm by Xaviou »
    The french wxWidgets site : http://www.wxdev.fr
    My wxWidgets's stuff : https://wxstuff.xaviou.fr/

    Offline Pecan

    • Plugin developer
    • Lives here!
    • ****
    • Posts: 2803
    Re: The 29 January 2023 build (13166) is out.
    « Reply #9 on: January 31, 2023, 06:27:19 pm »
    Hi.
    I know little about Autotools, but checking the error log I think the last four rows should be
    Code
    	-I. \
    -ILSPclient \
    -Icodecompletion \
    -Iunixprocess
    I don't think so : these folders are sub-directories of the "src" one present in the clangd_client plugin dir.

    I've tested with
    Code
    	-I$(srcdir)/src \
    -I$(srcdir)/src/LSPclient \
    -I$(srcdir)/src/codecompletion \
    -I$(srcdir)/src/unixprocess
    And the build went fine.  :)

    Corresponding DMG file uploaded to my Google Drive (see my post above for the link) in the rev13166 folder

    Regards
    Xav'

    Thanks Xaviou !!
    I've applied the magic to Head rev 13181

    Offline Miguel Gimenez

    • Developer
    • Lives here!
    • *****
    • Posts: 1630
    Re: The 29 January 2023 build (13166) is out.
    « Reply #10 on: January 31, 2023, 07:08:45 pm »
    The compilation is made with src as current directory, that is why "src/LSPclient" is invalid and "LSPclient" alone should be valid. Of course, your solution is more clear and portable.