Recent Posts

Pages: 1 2 3 4 [5] 6 7 8 9 10
41
Help / Re: Installing Code::Blocks from source on Linux
« Last post by Krice on March 12, 2025, 12:25:46 pm »
I've tried to compile C::B in Fedora (from svn), I get this error, how to decipher it?

Code
/usr/bin/ld: warning: libtiff.so.5, needed by /usr/local/lib/libwx_gtk3u_aui-3.2.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: /usr/local/lib/libwx_gtk3u_core-3.2.so: undefined reference to `TIFFGetVersion@LIBTIFF_4.0'
/usr/bin/ld: /usr/local/lib/libwx_gtk3u_core-3.2.so: undefined reference to `TIFFReadDirectory@LIBTIFF_4.0'
/usr/bin/ld: /usr/local/lib/libwx_gtk3u_core-3.2.so: undefined reference to `TIFFReadRGBAImageOriented@LIBTIFF_4.0'
/usr/bin/ld: /usr/local/lib/libwx_gtk3u_core-3.2.so: undefined reference to `TIFFDefaultStripSize@LIBTIFF_4.0'
/usr/bin/ld: /usr/local/lib/libwx_gtk3u_core-3.2.so: undefined reference to `TIFFWriteScanline@LIBTIFF_4.0'
/usr/bin/ld: /usr/local/lib/libwx_gtk3u_core-3.2.so: undefined reference to `_TIFFfree@LIBTIFF_4.0'
/usr/bin/ld: /usr/local/lib/libwx_gtk3u_core-3.2.so: undefined reference to `TIFFGetField@LIBTIFF_4.0'
/usr/bin/ld: /usr/local/lib/libwx_gtk3u_core-3.2.so: undefined reference to `TIFFScanlineSize@LIBTIFF_4.0'
/usr/bin/ld: /usr/local/lib/libwx_gtk3u_core-3.2.so: undefined reference to `TIFFClose@LIBTIFF_4.0'
/usr/bin/ld: /usr/local/lib/libwx_gtk3u_core-3.2.so: undefined reference to `TIFFClientOpen@LIBTIFF_4.0'
/usr/bin/ld: /usr/local/lib/libwx_gtk3u_core-3.2.so: undefined reference to `TIFFRGBAImageOK@LIBTIFF_4.0'
/usr/bin/ld: /usr/local/lib/libwx_gtk3u_core-3.2.so: undefined reference to `TIFFGetFieldDefaulted@LIBTIFF_4.0'
/usr/bin/ld: /usr/local/lib/libwx_gtk3u_core-3.2.so: undefined reference to `TIFFSetField@LIBTIFF_4.0'
/usr/bin/ld: /usr/local/lib/libwx_gtk3u_core-3.2.so: undefined reference to `TIFFSetWarningHandler@LIBTIFF_4.0'
/usr/bin/ld: /usr/local/lib/libwx_gtk3u_core-3.2.so: undefined reference to `TIFFSetErrorHandler@LIBTIFF_4.0'
/usr/bin/ld: /usr/local/lib/libwx_gtk3u_core-3.2.so: undefined reference to `_TIFFmalloc@LIBTIFF_4.0'
/usr/bin/ld: /usr/local/lib/libwx_gtk3u_core-3.2.so: undefined reference to `TIFFSetDirectory@LIBTIFF_4.0'
/usr/bin/ld: /usr/local/lib/libwx_gtk3u_core-3.2.so: undefined reference to `TIFFReadScanline@LIBTIFF_4.0'
collect2: error: ld returned 1 exit status
make[3]: *** [Makefile:731: codeblocks] Error 1
make[3]: Leaving directory '/home/krice/programs/cb/trunk/src/src'
make[2]: *** [Makefile:867: all-recursive] Error 1
make[2]: Leaving directory '/home/krice/programs/cb/trunk/src/src'
make[1]: *** [Makefile:539: all-recursive] Error 1
make[1]: Leaving directory '/home/krice/programs/cb/trunk/src'
make: *** [Makefile:671: all-recursive] Error 1
42
Help / Re: Code completion doesn't show up for some wxWidgets
« Last post by Pecan on March 12, 2025, 02:30:18 am »
I have version 20.03+svn13046-0.3build2 from official Linux Mint repo, same version is contrib package

Clangd_client plugin was not written to support version 20.03.
However, there are some Nightly builds that contain Clangd_client.
You might have a look at:
https://forums.codeblocks.org/index.php/topic,25970.msg176905.html#msg176905

There are two messages there. The one following the Nightly announcement contains:
Hi.

32 bits version for Windows can also be can be downloaded from my website.

Debian Bookworm and Bullseye (32 and 64 bits) can be installed from my repo
The corresponding unsigned deb files can also be downloaded from the website page linked above.

Ubuntu-22.04, 24.04 versions can be installed from my ppa

Regards
Xav'

Maybe there is a way to use CodeBlocks from Xaviou's ppa.
I do not know how to do that. I'm not a knowledgeable Linux user.
43
Development / Re: An assertion when opening a workspace
« Last post by Miguel Gimenez on March 11, 2025, 04:40:39 pm »
Applied in r13630, thank you.
44
Help / Re: Code completion doesn't show up for some wxWidgets
« Last post by Dibo on March 11, 2025, 03:32:08 pm »
I have version 20.03+svn13046-0.3build2 from official Linux Mint repo, same version is contrib package
45
Development / An assertion when opening a workspace
« Last post by LETARTARE on March 11, 2025, 03:10:19 pm »
Context: Leap-15.6, wx-326-14, gcc-13.3.0, Cb-13626

When CB is started, if one or more projects have been deleted or moved, an assertion is generated which opens a dialog providing information

So I proposed a fix: https://sourceforge.net/p/codeblocks/tickets/1516/
46
Nightly builds / Re: The 22 February 2025 build (13620) is out.
« Last post by raynebc on March 11, 2025, 08:08:03 am »
I've found that the "Remove all" function in the Breakpoints window doesn't work unless any of the files containing an existing breakpoint are currently open.
47
Help / Re: Code completion doesn't show up for some wxWidgets
« Last post by Pecan on March 11, 2025, 05:52:01 am »
@ Dibo
What version of CodeBlocks are you running.

Did you build it yourself? If so, did you also build the any of the plugins in the Contrib workspace?
48
Help / Re: Code completion doesn't show up for some wxWidgets
« Last post by Dibo on March 10, 2025, 09:23:49 pm »
Hmm, but in plugins manager I don't have anything like clangd (see attachment). When I click on "Install new" I have file browser filtered by .cbplugin, not .so or executable. Wiki from your link doesn't say anything about cbplugin installation, it expects that clangd plugin already exists and anything what must be done is just enable it
And seems that I have it installed on my linux:
Code
locate clangd

/usr/bin/clangd
/usr/bin/clangd-18
/usr/lib/llvm-18/bin/clangd

Edit: Note that I already have installed codeblocks, codeblocks-common and codeblocks-contrib packages
49
Plugins development / cb-ClangTidy plugin to use clang-tidy within Code::Blocks
« Last post by christo on March 10, 2025, 06:00:11 pm »
New plugin to run clang-tidy within C::B is available in github repository cb-ClangTidy
It's derived from CppCheck plugin and follows similar flow. Description is available in README.md
Tested only on Linux wx3.2

Thanks
Christo
50
Patch available to Pelles C Forum. Work fine (despite of my antivirus that detect "thread" into executable generated by Pelles C !!!).
Pages: 1 2 3 4 [5] 6 7 8 9 10