Recent Posts

Pages: 1 ... 5 6 7 8 9 [10]
91
Using Code::Blocks / Error when compiling C::B with C::B
« Last post by mariusm on March 03, 2023, 11:30:40 pm »
Seems that C::B can not compile his own source  :'( ;D

C::B 17.12 version with MinGW on windows
Source of C::B 17.12
wxWidgets 2.8 compiled with success by makefile.gcc => wxmsw28u_gcc_custom.dll on ..\wx\lib\gcc_dll

Code
Cleaned "Code::Blocks wx2.8.x - src"
Running target pre-build steps
cmd /c if exist devel\exchndl.dll del devel\exchndl.dll

-------------- Build: src in Code::Blocks wx2.8.x (compiler: GNU GCC Compiler)---------------

g++.exe -std=gnu++11 -Wno-unused-local-typedefs -Wno-deprecated-declarations -DBUILDING_PLUGIN -iquote.objs\include -I.objs\include -I. -Iinclude\tinyxml -ID:\C++\codeblocks-17.12\wx\include -ID:\C++\codeblocks-17.12\wx\\lib\gcc_dll\mswu -Iinclude -Iinclude\scripting\include -Iinclude\scripting\sqplus -Iinclude\mozilla_chardet -Iinclude\mozilla_chardet\mfbt -Iinclude\mozilla_chardet\nsprpub\pr\include -Iinclude\mozilla_chardet\xpcom -Iinclude\mozilla_chardet\xpcom\base -Iinclude\mozilla_chardet\xpcom\glue -Iexchndl\win32\include -ID:\KITURI\Editor_CPP\SDK\MinGW\include -c D:\C++\codeblocks-17.12\src\include\sdk_precomp.h -o .objs\include\sdk_precomp.h.gch
g++.exe -std=gnu++11 -Wno-unused-local-typedefs -Wno-deprecated-declarations -DBUILDING_PLUGIN -iquote.objs\include -I.objs\include -I. -Iinclude\tinyxml -ID:\C++\codeblocks-17.12\wx\include -ID:\C++\codeblocks-17.12\wx\\lib\gcc_dll\mswu -Iinclude -Iinclude\scripting\include -Iinclude\scripting\sqplus -Iinclude\mozilla_chardet -Iinclude\mozilla_chardet\mfbt -Iinclude\mozilla_chardet\nsprpub\pr\include -Iinclude\mozilla_chardet\xpcom -Iinclude\mozilla_chardet\xpcom\base -Iinclude\mozilla_chardet\xpcom\glue -Iexchndl\win32\include -ID:\KITURI\Editor_CPP\SDK\MinGW\include -c D:\C++\codeblocks-17.12\src\include\sdk.h -o .objs\include\sdk.h.gch
g++.exe -std=gnu++11 -Wno-unused-local-typedefs -Wno-deprecated-declarations -DBUILDING_PLUGIN -iquote.objs\include -I.objs\include -I. -Iinclude\tinyxml -ID:\C++\codeblocks-17.12\wx\include -ID:\C++\codeblocks-17.12\wx\\lib\gcc_dll\mswu -Iinclude -Iinclude\scripting\include -Iinclude\scripting\sqplus -Iinclude\mozilla_chardet -Iinclude\mozilla_chardet\mfbt -Iinclude\mozilla_chardet\nsprpub\pr\include -Iinclude\mozilla_chardet\xpcom -Iinclude\mozilla_chardet\xpcom\base -Iinclude\mozilla_chardet\xpcom\glue -Iexchndl\win32\include -ID:\KITURI\Editor_CPP\SDK\MinGW\include -c D:\C++\codeblocks-17.12\src\sdk\configmanager-revision.cpp -o .objs\sdk\configmanager-revision.o
D:\C++\codeblocks-17.12\src\sdk\configmanager-revision.cpp:24:10: warning: 'static wxString ConfigManager::GetRevisionString()' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes]
 wxString ConfigManager::GetRevisionString()
          ^
D:\C++\codeblocks-17.12\src\sdk\configmanager-revision.cpp:31:14: warning: 'static unsigned int ConfigManager::GetRevisionNumber()' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes]
 unsigned int ConfigManager::GetRevisionNumber()
              ^
D:\C++\codeblocks-17.12\src\sdk\configmanager-revision.cpp:36:10: warning: 'static wxString ConfigManager::GetSvnDate()' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes]
 wxString ConfigManager::GetSvnDate()
          ^
g++.exe -std=gnu++11 -Wno-unused-local-typedefs -Wno-deprecated-declarations -DBUILDING_PLUGIN -iquote.objs\include -I.objs\include -I. -Iinclude\tinyxml -ID:\C++\codeblocks-17.12\wx\include -ID:\C++\codeblocks-17.12\wx\\lib\gcc_dll\mswu -Iinclude -Iinclude\scripting\include -Iinclude\scripting\sqplus -Iinclude\mozilla_chardet -Iinclude\mozilla_chardet\mfbt -Iinclude\mozilla_chardet\nsprpub\pr\include -Iinclude\mozilla_chardet\xpcom -Iinclude\mozilla_chardet\xpcom\base -Iinclude\mozilla_chardet\xpcom\glue -Iexchndl\win32\include -ID:\KITURI\Editor_CPP\SDK\MinGW\include -c D:\C++\codeblocks-17.12\src\base\tinyxml\tinystr.cpp -o .objs\base\tinyxml\tinystr.o
g++.exe -std=gnu++11 -Wno-unused-local-typedefs -Wno-deprecated-declarations -DBUILDING_PLUGIN -iquote.objs\include -I.objs\include -I. -Iinclude\tinyxml -ID:\C++\codeblocks-17.12\wx\include -ID:\C++\codeblocks-17.12\wx\\lib\gcc_dll\mswu -Iinclude -Iinclude\scripting\include -Iinclude\scripting\sqplus -Iinclude\mozilla_chardet -Iinclude\mozilla_chardet\mfbt -Iinclude\mozilla_chardet\nsprpub\pr\include -Iinclude\mozilla_chardet\xpcom -Iinclude\mozilla_chardet\xpcom\base -Iinclude\mozilla_chardet\xpcom\glue -Iexchndl\win32\include -ID:\KITURI\Editor_CPP\SDK\MinGW\include -c D:\C++\codeblocks-17.12\src\base\tinyxml\tinyxml.cpp -o .objs\base\tinyxml\tinyxml.o
g++.exe -std=gnu++11 -Wno-unused-local-typedefs -Wno-deprecated-declarations -DBUILDING_PLUGIN -iquote.objs\include -I.objs\include -I. -Iinclude\tinyxml -ID:\C++\codeblocks-17.12\wx\include -ID:\C++\codeblocks-17.12\wx\\lib\gcc_dll\mswu -Iinclude -Iinclude\scripting\include -Iinclude\scripting\sqplus -Iinclude\mozilla_chardet -Iinclude\mozilla_chardet\mfbt -Iinclude\mozilla_chardet\nsprpub\pr\include -Iinclude\mozilla_chardet\xpcom -Iinclude\mozilla_chardet\xpcom\base -Iinclude\mozilla_chardet\xpcom\glue -Iexchndl\win32\include -ID:\KITURI\Editor_CPP\SDK\MinGW\include -c D:\C++\codeblocks-17.12\src\base\tinyxml\tinyxmlerror.cpp -o .objs\base\tinyxml\tinyxmlerror.o
g++.exe -std=gnu++11 -Wno-unused-local-typedefs -Wno-deprecated-declarations -DBUILDING_PLUGIN -iquote.objs\include -I.objs\include -I. -Iinclude\tinyxml -ID:\C++\codeblocks-17.12\wx\include -ID:\C++\codeblocks-17.12\wx\\lib\gcc_dll\mswu -Iinclude -Iinclude\scripting\include -Iinclude\scripting\sqplus -Iinclude\mozilla_chardet -Iinclude\mozilla_chardet\mfbt -Iinclude\mozilla_chardet\nsprpub\pr\include -Iinclude\mozilla_chardet\xpcom -Iinclude\mozilla_chardet\xpcom\base -Iinclude\mozilla_chardet\xpcom\glue -Iexchndl\win32\include -ID:\KITURI\Editor_CPP\SDK\MinGW\include -c D:\C++\codeblocks-17.12\src\base\tinyxml\tinyxmlparser.cpp -o .objs\base\tinyxml\tinyxmlparser.o
g++.exe -std=gnu++11 -Wno-unused-local-typedefs -Wno-deprecated-declarations -DBUILDING_PLUGIN -iquote.objs\include -I.objs\include -I. -Iinclude\tinyxml -ID:\C++\codeblocks-17.12\wx\include -ID:\C++\codeblocks-17.12\wx\\lib\gcc_dll\mswu -Iinclude -Iinclude\scripting\include -Iinclude\scripting\sqplus -Iinclude\mozilla_chardet -Iinclude\mozilla_chardet\mfbt -Iinclude\mozilla_chardet\nsprpub\pr\include -Iinclude\mozilla_chardet\xpcom -Iinclude\mozilla_chardet\xpcom\base -Iinclude\mozilla_chardet\xpcom\glue -Iexchndl\win32\include -ID:\KITURI\Editor_CPP\SDK\MinGW\include -c D:\C++\codeblocks-17.12\src\build_tools\autorevision\autorevision.cpp -o .objs\build_tools\autorevision\autorevision.o
g++.exe -std=gnu++11 -Wno-unused-local-typedefs -Wno-deprecated-declarations -DBUILDING_PLUGIN -iquote.objs\include -I.objs\include -I. -Iinclude\tinyxml -ID:\C++\codeblocks-17.12\wx\include -ID:\C++\codeblocks-17.12\wx\\lib\gcc_dll\mswu -Iinclude -Iinclude\scripting\include -Iinclude\scripting\sqplus -Iinclude\mozilla_chardet -Iinclude\mozilla_chardet\mfbt -Iinclude\mozilla_chardet\nsprpub\pr\include -Iinclude\mozilla_chardet\xpcom -Iinclude\mozilla_chardet\xpcom\base -Iinclude\mozilla_chardet\xpcom\glue -Iexchndl\win32\include -ID:\KITURI\Editor_CPP\SDK\MinGW\include -c D:\C++\codeblocks-17.12\src\sdk\annoyingdialog.cpp -o .objs\sdk\annoyingdialog.o
In file included from D:\C++\codeblocks-17.12\wx\include/wx/window.h:19:0,
                 from D:\C++\codeblocks-17.12\wx\include/wx/control.h:23,
                 from D:\C++\codeblocks-17.12\wx\include/wx/button.h:46,
                 from D:\C++\codeblocks-17.12\src\sdk\annoyingdialog.cpp:12:
D:\C++\codeblocks-17.12\wx\include/wx/event.h:2721:34: warning: 'AnnoyingDialog::sm_eventTable' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes]
     const wxEventTable theClass::sm_eventTable = \
                                  ^
D:\C++\codeblocks-17.12\src\sdk\annoyingdialog.cpp:26:1: note: in expansion of macro 'BEGIN_EVENT_TABLE'
 BEGIN_EVENT_TABLE(AnnoyingDialog, wxScrollingDialog)
 ^
D:\C++\codeblocks-17.12\src\sdk\annoyingdialog.cpp:26:19: warning: 'virtual const wxEventTable* AnnoyingDialog::GetEventTable() const' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes]
 BEGIN_EVENT_TABLE(AnnoyingDialog, wxScrollingDialog)
                   ^
D:\C++\codeblocks-17.12\wx\include/wx/event.h:2723:25: note: in definition of macro 'BEGIN_EVENT_TABLE'
     const wxEventTable *theClass::GetEventTable() const \
                         ^
D:\C++\codeblocks-17.12\wx\include/wx/event.h:2725:73: warning: 'AnnoyingDialog::sm_eventHashTable' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes]
     wxEventHashTable theClass::sm_eventHashTable(theClass::sm_eventTable); \
                                                                         ^
D:\C++\codeblocks-17.12\src\sdk\annoyingdialog.cpp:26:1: note: in expansion of macro 'BEGIN_EVENT_TABLE'
 BEGIN_EVENT_TABLE(AnnoyingDialog, wxScrollingDialog)
 ^
D:\C++\codeblocks-17.12\src\sdk\annoyingdialog.cpp:26:19: warning: 'virtual wxEventHashTable& AnnoyingDialog::GetEventHashTable() const' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes]
 BEGIN_EVENT_TABLE(AnnoyingDialog, wxScrollingDialog)
                   ^
D:\C++\codeblocks-17.12\wx\include/wx/event.h:2726:23: note: in definition of macro 'BEGIN_EVENT_TABLE'
     wxEventHashTable &theClass::GetEventHashTable() const \
                       ^
D:\C++\codeblocks-17.12\wx\include/wx/event.h:2728:60: warning: 'AnnoyingDialog::sm_eventTableEntries' redeclared without dllimport attribute after being referenced with dll linkage
     const wxEventTableEntry theClass::sm_eventTableEntries[] = { \
                                                            ^
D:\C++\codeblocks-17.12\src\sdk\annoyingdialog.cpp:26:1: note: in expansion of macro 'BEGIN_EVENT_TABLE'
 BEGIN_EVENT_TABLE(AnnoyingDialog, wxScrollingDialog)
 ^
D:\C++\codeblocks-17.12\src\sdk\annoyingdialog.cpp:30:1: warning: 'AnnoyingDialog::AnnoyingDialog(const wxString&, const wxString&, wxArtID, AnnoyingDialog::dStyle, AnnoyingDialog::dReturnType, const wxString&, const wxString&, const wxString&)' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes]
 AnnoyingDialog::AnnoyingDialog(const wxString& caption, const wxString& message, const wxArtID icon,
 ^
D:\C++\codeblocks-17.12\src\sdk\annoyingdialog.cpp:39:1: warning: 'AnnoyingDialog::AnnoyingDialog(const wxString&, const wxString&, const wxString&, wxArtID, AnnoyingDialog::dStyle, AnnoyingDialog::dReturnType, const wxString&, const wxString&, const wxString&)' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes]
 AnnoyingDialog::AnnoyingDialog(const wxString& caption, const wxString &id, const wxString& message,
 ^
D:\C++\codeblocks-17.12\src\sdk\annoyingdialog.cpp:48:6: warning: 'void AnnoyingDialog::Init(const wxString&, const wxString&, const wxString&, wxArtID, AnnoyingDialog::dStyle, const wxString&, const wxString&, const wxString&)' redeclared without dllimport attribute after being referenced with dll linkage
 void AnnoyingDialog::Init(const wxString &caption, const wxString &id, const wxString& message, const wxArtID icon,
      ^
D:\C++\codeblocks-17.12\src\sdk\annoyingdialog.cpp:225:6: warning: 'void AnnoyingDialog::OnButton(wxCommandEvent&)' redeclared without dllimport attribute after being referenced with dll linkage
 void AnnoyingDialog::OnButton(wxCommandEvent& event)
      ^
D:\C++\codeblocks-17.12\src\sdk\annoyingdialog.cpp:261:5: warning: 'virtual int AnnoyingDialog::ShowModal()' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes]
 int AnnoyingDialog::ShowModal()
     ^
In file included from D:\C++\codeblocks-17.12\wx\include/wx/window.h:19:0,
                 from D:\C++\codeblocks-17.12\wx\include/wx/control.h:23,
                 from D:\C++\codeblocks-17.12\wx\include/wx/button.h:46,
                 from D:\C++\codeblocks-17.12\src\sdk\annoyingdialog.cpp:12:
D:\C++\codeblocks-17.12\src\sdk\annoyingdialog.cpp:26:19: error: definition of static data member 'AnnoyingDialog::sm_eventTable' of dllimport'd class
 BEGIN_EVENT_TABLE(AnnoyingDialog, wxScrollingDialog)
                   ^
D:\C++\codeblocks-17.12\wx\include/wx/event.h:2721:24: note: in definition of macro 'BEGIN_EVENT_TABLE'
     const wxEventTable theClass::sm_eventTable = \
                        ^
D:\C++\codeblocks-17.12\src\sdk\annoyingdialog.cpp:26:19: error: definition of static data member 'AnnoyingDialog::sm_eventHashTable' of dllimport'd class
 BEGIN_EVENT_TABLE(AnnoyingDialog, wxScrollingDialog)
92
Using Code::Blocks / Re: How can I disable compiler check on startup?
« Last post by stahta01 on March 03, 2023, 05:33:06 pm »
Have installed MINGW GCC, compile succesfully but not autodetect...

So, did you configure CB for the MINGW GCC you installed or not.
I can read your answer as yes or no.

Tim S.
93
Using Code::Blocks / How can I change toolbars icons?
« Last post by mariusm on March 03, 2023, 05:07:44 pm »
It's possible to add/modify toolbars icons using plugin? If yes, please some tricks to build this.


Another thing, can I add/modify click right menu? If not, maybe by a plugin.
94
Using Code::Blocks / Re: How can I disable compiler check on startup?
« Last post by mariusm on March 03, 2023, 04:26:45 pm »
Have installed MINGW GCC, compile succesfully but not autodetect...
95
Using Code::Blocks / Re: How can I disable compiler check on startup?
« Last post by stahta01 on March 03, 2023, 02:57:27 pm »
Yep, because they are people using an flatpack version under Linux that fails to work.
And, there are versions that run under windows that are not made by the CB team.

So, have you went and selected each CB toolchain and autodetected it?

If not as I have already stated that speed it up in the past; but, when I did it gave clues to which CB toolchain was causing problems.
But, you seem to have no clues on which one is causing problems.

Also, CB used to always look for an MINGW GCC and it might be much slower if one was not installed.

Do you have an MinGW GCC installed and CB configured to find it?

Tim S.
96
Using Code::Blocks / Re: Delete objects when I close the program
« Last post by mariusm on March 03, 2023, 12:45:33 pm »
I see lot of functions mising from scripting docs. For example: OnMenuClicked(), GetMenu(), GetModuleMenu()

Can I see somewhere complete docs?
97
General (but related to Code::Blocks) / Re: Welcome Newcomers - PLEASE READ!!!
« Last post by Lili on March 03, 2023, 11:39:18 am »
#include <stdio.h>

int main()
{
    printf("I am new, I am here! I love C and Code::Blocks!\n");
    return 0;
}
98
Using Code::Blocks / Re: How can I disable compiler check on startup?
« Last post by mariusm on March 03, 2023, 08:43:09 am »
I don't see how someone who doesn't read what I wrote could help me. I said "Windows, version 20.3 in fact all versions loading slow on startup compared to other programs"

It's not a single version 20.3, there are several ?

From the https://sourceforge.net/projects/codeblocks/files/Binaries/20.03/

Can you explain to me what this information helps with?
99
Using Code::Blocks / Re: How can I disable compiler check on startup?
« Last post by stahta01 on March 03, 2023, 01:01:33 am »
I can not tell you any more I suggest you answer where you downloaded the version of CB you got. Or are you going to ignore the other person trying to help you.

I told what I did that helped, if you do not wish to detect the paths of every compiler I have nothing else to suggest.

Tim S.
100
Using Code::Blocks / Re: How can I disable compiler check on startup?
« Last post by mariusm on March 02, 2023, 11:08:24 pm »
I never says: "CB is complaining about not finding an compiler"

I says "C::B check the compiler on startup" this produce delay on startup. Checking the compiler at startup is useless and causes a slow load. It doesn't even make sense to check the compiler to the start because the check is done on the build command.

I hope to be clearer now.
Pages: 1 ... 5 6 7 8 9 [10]