Code::Blocks Forums

User forums => Nightly builds => Topic started by: killerbot on January 29, 2023, 04:32:32 pm

Title: The 29 January 2023 build (13166) is out.
Post by: killerbot 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 (http://forums.codeblocks.org/index.php/topic,3232.0.html).

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:


Regressions/Confirmed/Annoying/Common bugs:


Title: Re: The 29 January 2023 build (13166) is out.
Post by: Xaviou 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 (https://drive.google.com/drive/folders/1-r9cbW1I8ZkaCt6iYDhcXH981n5FJTpV?usp=sharing). (wx-3.2.1).

Debian Buster and Bullseye (32 and 64 bits) can be installed from my repo (https://wxstuff.xaviou.fr/article/debian-repository.html).

Regards
Xav'
Title: Re: The 29 January 2023 build (13166) is out.
Post by: Miguel Gimenez 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).
Title: Re: The 29 January 2023 build (13166) is out.
Post by: Pecan 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
Title: Re: The 29 January 2023 build (13166) is out.
Post by: Xaviou 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'
Title: Re: The 29 January 2023 build (13166) is out.
Post by: Pecan 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.

Title: Re: The 29 January 2023 build (13166) is out.
Post by: Pecan 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.
Title: Re: The 29 January 2023 build (13166) is out.
Post by: Miguel Gimenez 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
Title: Re: The 29 January 2023 build (13166) is out.
Post by: Xaviou 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'
Title: Re: The 29 January 2023 build (13166) is out.
Post by: Pecan 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
Title: Re: The 29 January 2023 build (13166) is out.
Post by: Miguel Gimenez 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.