Recent Posts

Pages: [1] 2 3 4 5 6 ... 10
1
Development / Re: Compile error Ubuntu 23.10/24.04
« Last post by blauzahn on Today at 08:00:38 am »
R13512 builds ok without compile-error under arch-linux x86_64.
2
Using Code::Blocks / Re: Auto activating projects in workspace
« Last post by blauzahn on Today at 07:57:44 am »
I actually like, that cb does not do that. You can activate a project in the workspace panel by double clicking onto it.

Also: The active file might be referred to by more than 1 project. Keep it simple.

3
Announcements / Re: successor of 20.03 available?
« Last post by blauzahn on Today at 07:51:56 am »
Quote
Can we expect a new binary release of c::b soon?
Possibly yes in the not too distant future. Please do not ask, when exactly.
4
Quote
I trust this ("Project Build Options") is where I should make these project settings (that are not global) and as such expressed in the *.cbp file??
Correct.

Apart from this, years ago, the checkboxes were on the left side which was way better.
5
Hi.
With my CB on Win10 I find that "Project build options - has no available tick boxes for Compiler Flags".  This is for the likes of c++11 and c++17.
Is the expectation to use "Other compiler options" instead of "Compiler Flags" ??
How are the tick boxes intended to be aligned ??

I trust this ("Project Build Options") is where I should make these project settings (that are not global) and as such expressed in the *.cbp file??

Regards JC.......

I've also experienced this.
But when I shutdown CB and restart, the options dialog is populated again.
6
Nightly builds / Re: The 24 March 2024 build (13493) is out.
« Last post by lutzorchid on Today at 05:01:28 am »
@Nenin: I see a similar popup sometimes. If I remember correctly, It is when I have a workspace with at least 2 projects and the selected Target is from project A but the currently selected project is B ****.
This is possible, I tried to refactor old soft which also use a dozen of the small custom libs. I faced such glitch for the first time and was brutally surprised.
You have a Xcode workspace containing two or more separate projects.
7
Hi.
With my CB on Win10 I find that "Project build options - has no available tick boxes for Compiler Flags".  This is for the likes of c++11 and c++17.
Is the expectation to use "Other compiler options" instead of "Compiler Flags" ??
How are the tick boxes intended to be aligned ??

I trust this ("Project Build Options") is where I should make these project settings (that are not global) and as such expressed in the *.cbp file??

Regards JC.......
8
Development / Re: Compile error Ubuntu 23.10/24.04
« Last post by Havadebo72 on Yesterday at 08:26:06 pm »
Thanks.
9
Development / Re: Compile error Ubuntu 23.10/24.04
« Last post by Miguel Gimenez on Yesterday at 11:49:07 am »
Thank you for reporting, I will fix this ASAP.

EDIT: Fixed in r13512.
10
Development / Compile error Ubuntu 23.10/24.04
« Last post by Havadebo72 on Yesterday at 11:29:19 am »
Hi

Compile error since revision 13437 (- Build: Fixes building using autotools without passing --disable-shared (ticket #1452, thanks Mehdi Chinoune).)

Code
/usr/bin/ld: .libs/parsemanager.o: in function `ParseManager::ParseProjectSearchDirs(cbProject const&)':
parsemanager.cpp:(.text+0xebcd): undefined reference to `TiXmlNode::FirstChildElement(char const*) const'
/usr/bin/ld: parsemanager.cpp:(.text+0xebe8): undefined reference to `TiXmlNode::FirstChildElement(char const*) const'
/usr/bin/ld: parsemanager.cpp:(.text+0xec32): undefined reference to `TiXmlNode::NextSiblingElement(char const*) const'
/usr/bin/ld: parsemanager.cpp:(.text+0xec49): undefined reference to `TiXmlElement::Attribute(char const*) const'
/usr/bin/ld: parsemanager.cpp:(.text+0xec59): undefined reference to `TiXmlElement::Attribute(char const*) const'
/usr/bin/ld: .libs/parsemanager.o: in function `ParseManager::SetProjectSearchDirs(cbProject&, wxArrayString const&)':
parsemanager.cpp:(.text+0x140a1): undefined reference to `TiXmlNode::FirstChildElement(char const*) const'
/usr/bin/ld: parsemanager.cpp:(.text+0x140b5): undefined reference to `TiXmlNode::Clear()'
/usr/bin/ld: parsemanager.cpp:(.text+0x140f3): undefined reference to `TiXmlElement::TiXmlElement(char const*)'
/usr/bin/ld: parsemanager.cpp:(.text+0x140fe): undefined reference to `TiXmlNode::InsertEndChild(TiXmlNode const&)'
/usr/bin/ld: parsemanager.cpp:(.text+0x14112): undefined reference to `TiXmlElement::~TiXmlElement()'
/usr/bin/ld: parsemanager.cpp:(.text+0x14145): undefined reference to `TiXmlElement::SetAttribute(char const*, char const*)'
/usr/bin/ld: parsemanager.cpp:(.text+0x141dc): undefined reference to `TiXmlElement::TiXmlElement(char const*)'
/usr/bin/ld: parsemanager.cpp:(.text+0x141e7): undefined reference to `TiXmlNode::InsertEndChild(TiXmlNode const&)'
/usr/bin/ld: parsemanager.cpp:(.text+0x141fb): undefined reference to `TiXmlElement::~TiXmlElement()'
/usr/bin/ld: .libs/parsemanager.o: in function `ParseManager::SetProjectSearchDirs(cbProject&, wxArrayString const&) [clone .cold]':
parsemanager.cpp:(.text.unlikely+0x22ec): undefined reference to `TiXmlElement::~TiXmlElement()'
/usr/bin/ld: parsemanager.cpp:(.text.unlikely+0x230f): undefined reference to `TiXmlElement::~TiXmlElement()'
collect2: error: ld returned 1 exit status
make[4]: *** [Makefile:702: libcodecompletion.la] Error 1
make[4]: Leaving directory '/home/havadebo/trunk/src/plugins/codecompletion'
make[3]: *** [Makefile:783: all-recursive] Error 1
make[3]: Leaving directory '/home/hains/trunk/src/plugins/codecompletion'
make[2]: *** [Makefile:536: all-recursive] Error 1
make[2]: Leaving directory '/home/havadebo/trunk/src/plugins'
make[1]: *** [Makefile:543: all-recursive] Error 1
make[1]: Leaving directory '/home/havadebo/trunk/src'
make: *** [Makefile:675: all-recursive] Error 1

I must apply this patch to make the compilation successful.

Code
Index: src/plugins/codecompletion/Makefile.am
===================================================================
--- src/plugins/codecompletion/Makefile.am (revision 13449)
+++ src/plugins/codecompletion/Makefile.am (working copy)
@@ -11,7 +11,8 @@
 libcodecompletion_la_LDFLAGS = @MODULE_SHARED_LDFLAGS@ -version-info 0:1:0 -no-undefined -avoid-version
 
 libcodecompletion_la_LIBADD = ../../sdk/libcodeblocks.la\
- $(WX_LIBS)
+ $(WX_LIBS) \
+ $(CB_TINYXML_LIBS)
 
 libcodecompletion_la_SOURCES = ccoptionsdlg.cpp \
  ccoptionsprjdlg.cpp \
Index: src/plugins/debuggergdb/Makefile.am
===================================================================
--- src/plugins/debuggergdb/Makefile.am (revision 13449)
+++ src/plugins/debuggergdb/Makefile.am (working copy)
@@ -13,7 +13,8 @@
 
 libdebugger_la_LIBADD = ../../sdk/libcodeblocks.la \
  $(WX_LIBS) \
- $(WX_GTK_LIBS)
+ $(WX_GTK_LIBS) \
+ $(CB_TINYXML_LIBS)
 
 libdebugger_la_SOURCES = cdb_driver.cpp \
  databreakpointdlg.cpp \
Index: src/plugins/openfileslist/Makefile.am
===================================================================
--- src/plugins/openfileslist/Makefile.am (revision 13449)
+++ src/plugins/openfileslist/Makefile.am (working copy)
@@ -9,7 +9,8 @@
 libopenfileslist_la_LDFLAGS = @MODULE_SHARED_LDFLAGS@ -version-info 0:1:0 -no-undefined -avoid-version
 
 libopenfileslist_la_LIBADD = ../../sdk/libcodeblocks.la \
- $(WX_LIBS)
+ $(WX_LIBS) \
+ $(CB_TINYXML_LIBS)
 
 libopenfileslist_la_SOURCES = openfileslistplugin.cpp
 noinst_HEADERS = openfileslistplugin.h
Index: src/plugins/projectsimporter/Makefile.am
===================================================================
--- src/plugins/projectsimporter/Makefile.am (revision 13449)
+++ src/plugins/projectsimporter/Makefile.am (working copy)
@@ -11,7 +11,8 @@
 libprojectsimporter_la_LDFLAGS = @MODULE_SHARED_LDFLAGS@ -version-info 0:1:0 -no-undefined -avoid-version
 
 libprojectsimporter_la_LIBADD = ../../sdk/libcodeblocks.la \
- $(WX_LIBS)
+ $(WX_LIBS) \
+ $(CB_TINYXML_LIBS)
 
 libprojectsimporter_la_SOURCES = projectsimporter.cpp \
  devcpploader.cpp \
Pages: [1] 2 3 4 5 6 ... 10