News:

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

Main Menu

The 29 January 2023 build (13166) is out.

Started by killerbot, January 29, 2023, 04:32:32 PM

Previous topic - Next topic

killerbot

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:




Xaviou

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'
My wxWidgets's stuff : [url="https://wxstuff.xaviou.fr/"]https://wxstuff.xaviou.fr/[/url]

Miguel Gimenez

#2
The error is
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)

libcodecompletion_la_LIBADD = ../../sdk/libcodeblocks.la\
$(WX_LIBS) \
$(CB_TINYXML_LIBS)

while clangd_client has

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).

Pecan

Quote from: Miguel Gimenez on January 30, 2023, 11:48:59 AM
The error is
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)

libcodecompletion_la_LIBADD = ../../sdk/libcodeblocks.la\
$(WX_LIBS) \
$(CB_TINYXML_LIBS)

while clangd_client has

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

Xaviou

Hi.
Quote from: Pecan on January 30, 2023, 06:56:49 PM
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'
My wxWidgets's stuff : [url="https://wxstuff.xaviou.fr/"]https://wxstuff.xaviou.fr/[/url]

Pecan

#5
Quote from: Xaviou on January 30, 2023, 07:21:38 PM
Hi.
Quote from: Pecan on January 30, 2023, 06:56:49 PM
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.


Pecan

#6
Quote from: Xaviou on January 30, 2023, 07:21:38 PM
Hi.
Quote from: Pecan on January 30, 2023, 06:56:49 PM
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?

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.

Miguel Gimenez

I know little about Autotools, but checking the error log I think the last four rows should be

-I. \
-ILSPclient \
-Icodecompletion \
-Iunixprocess


Xaviou

#8
Hi.
Quote from: 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

-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

-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'
My wxWidgets's stuff : [url="https://wxstuff.xaviou.fr/"]https://wxstuff.xaviou.fr/[/url]

Pecan

Quote from: Xaviou on January 31, 2023, 05:57:26 PM
Hi.
Quote from: 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

-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

-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

Miguel Gimenez

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.