Recent Posts

Pages: 1 2 3 4 5 [6] 7 8 9 10
51
Development / Re: build bot in the github, I see one nice project
« Last post by Grit Clef on October 08, 2024, 05:45:47 am »
OK. Thank you.
52
Help / Builds fine, runs in terminal but not from CB
« Last post by lhm100 on October 07, 2024, 11:20:25 pm »
I searched and could not find an answer to this, sorry if I missed it. 
Similar things on windows, and with bad characters in paths - but nothing that addressed this.

Stumped - need some suggestions on how to figure out what's happening:
Versions:
Starting Code::Blocks Release 20.03  rev 11997 2021-11-08, 13:51:13 - wx3.0.5 - gcc 11.2.0 (Linux, unicode) - 64 bit
Linux Mint 21.2

I start CB from a terminal (so I see some output as it's running).
I create a new console cpp project and just leave the default "Hello World" code in place.
I build the project just fine:

Code
-------------- Build: Release in Hello (compiler: GNU GCC Compiler)---------------
Scanned 0 files for #includes, cache used 0, cache updated 0
CWD for depslib was: /home/lee/MySourceCode/Hello.
CWD for depslib is: /home/lee/MySourceCode/Hello.
Scanned 0 files for #includes, cache used 0, cache updated 0
g++ -Wall -fexceptions -O2  -c /home/lee/MySourceCode/Hello/main.cpp -o obj/Release/main.o
g++  -o bin/Release/Hello obj/Release/main.o  -s 
Output file is bin/Release/Hello with size 14.13 KB
CWD for depslib was: /home/lee/MySourceCode/Hello.
...
CWD for depslib is: /home/lee/MySourceCode/Hello.
Scanned 0 files for #includes, cache used 0, cache updated 0
Process terminated with status 0 (0 minute(s), 0 second(s))
0 error(s), 0 warning(s) (0 minute(s), 0 second(s))

From a separate terminal, if I navigate to the /bin/Release directory and run the generated file:
Code
lee@lee-X570S:~/MySourceCode/Hello/bin/Release$ ./Hello 
Hello world!
lee@lee-X570S:~/MySourceCode/Hello/bin/Release$
it runs just fine.

I would expect that I should also be able to run the generated file from within CB.  When I try that I get only this output in the terminal (that I started CB from)
Code
-------------- Run: Release in Hello (compiler: GNU GCC Compiler)---------------
And the CB thread (looking at top) goes to 100% and CB hangs there.  (A few clicks around the window and the window manager allows me to "force quit" CB.)

I have tried to adjust the
Settings - Environment - Terminal to launch console programs: 
With many different things that all work fine from a separate terminal.  Even just trying to open a terminal and display the date. 
Nothing produces any difference at all - CB still hangs - no output anywhere.  So I believe CB is having issues before it tries to run the terminal command.

What I am in need of is:
Is there any way for me to get more info about what's happening?  There are no errors, no crash reports, no core dumps... nothing.  Just the one line shown above and a pegged CPU. 

I can figure out the correct terminal command - if I could get CB to actually execute something and show me what it's trying to do. 
Candidates would be:
Code
gnome-terminal -- bash -c ./
gnome-terminal -t $TITLE -x ./
etc...   I know -x is deprecated and "-- " is the new syntax. But -x does still work. 

But it doesn't matter WHAT I put in there now - it does the same (no)thing...

What can I do to get more info to help you help me?

Let the fun begin!
Thank you.





 
53
General (but related to Code::Blocks) / Re: Welcome Newcomers - PLEASE READ!!!
« Last post by lakshyakeshwani on October 07, 2024, 08:08:32 pm »
I am new here.
54
Using Code::Blocks / Re: Debug report has been generated... ?!
« Last post by lakshyakeshwani on October 07, 2024, 08:05:32 pm »
Try to remove (or rename) ~/.codeblocks/cbKeyBinder10.ini.
how to do so?
55
Help / Re: IncrementalSearch toolbar always resets its position
« Last post by ZsoltKant on October 07, 2024, 08:00:36 pm »
Me again  :)
I saw the ticket was closed, but in the latest nightly build (25 September 2024 build (13571)) still has this issue.
It was not integrated in the latest nightly build?

Thanks!
56
Using Code::Blocks / Re: Length of selected text
« Last post by ZsoltKant on October 07, 2024, 07:43:52 pm »
A long time has not been posted here. I also checked the latest nightly build, but the character counting functionality has not been implemented yet. The ticket status is open also and last updated in 2019.
Will this feature be implemented in the next release, or in a future?
57
Development / Re: build bot in the github, I see one nice project
« Last post by ollydbg on October 07, 2024, 05:13:41 pm »
Maybe, you can exclude this plugin first from workspace.

If I remember correctly, this plugin's souce code is not in our svn.

Ask this plugin's author for some help. :)
58
Development / Re: build bot in the github, I see one nice project
« Last post by Grit Clef on October 07, 2024, 04:50:51 pm »
FortranProject build failed:
Code
g++.exe  -Wall -std=gnu++11  -pipe -mthreads -fmessage-length=0 -fexceptions -DBUILDING_PLUGIN -DHAVE_W32API_H -D__WXMSW__ -DWXUSINGDLL -DcbDEBUG -DNOPCH -DwxUSE_UNICODE  -I..\..\..\include -I..\..\..\include\tinyxml -I..\..\..\sdk\wxscintilla\include -ID:/msys64/opt/wxwidgets3.2/include -ID:/msys64/opt/wxwidgets3.2/lib\gcc_dll\msw -c projectdependencies.cpp -o ..\\..\\..\\.objs32\\plugins\\contrib\\FortranProject\\projectdependencies.o
In file included from D:/msys64/opt/wxwidgets3.2/include/wx/defs.h:45,
                 from D:/msys64/opt/wxwidgets3.2/include/wx/wxprec.h:12,
                 from ..\..\..\include/sdk_common.h:24,
                 from ..\..\..\include/sdk.h:14,
                 from projectdependencies.h:13,
                 from projectdependencies.cpp:10:
D:/msys64/opt/wxwidgets3.2/include/wx/platform.h:159:10: fatal error: wx/setup.h: No such file or directory
  159 | #include "wx/setup.h"
      |          ^~~~~~~~~~~~
compilation terminated.
mingw32-make[1]: ***
I think it's because
Code
-ID:/msys64/opt/wxwidgets3.2/lib\gcc_dll\msw
Why there's no 'u' after 'gcc_dll\msw'??
59
Development / Re: build bot in the github, I see one nice project
« Last post by Grit Clef on October 06, 2024, 04:13:13 pm »
I see, Thank you. Trying.
60
Development / Re: build bot in the github, I see one nice project
« Last post by ollydbg on October 06, 2024, 09:52:58 am »
Good news: I had just forgotten to use some shell commands to change the Makefile so that it can work under MSYS2 zip. The following commands can change all back-slashes to forward-slashes and do other necessary modification:
Code
sed '/zip -jq9*/ s/\\/\//g' Makefile_core -i
sed -i '85 s/LIB_SDK = $(LIB) -lshfolder -ltxml -lwxscintilla_cb -lsquirrel -lgdi32/LIB_SDK = -lshfolder -ltxml -lwxscintilla_cb $(LIB) -lsquirrel -lgdi32/' Makefile_core
sed 's/$(DEP_.*//g' Makefile_core -i
A successful action can be found at https://github.com/zxunge/winstyle-codeblocks-bins/actions/runs/11192814700
So now maybe we can use a automatical winstyle build.

I'm now wondering if cbp2make can convert .workspace files.

Very nice work!

I looked at the file:
https://github.com/zxunge/winstyle-codeblocks-bins/blob/main/.github/workflows/main.yml

and you just download all the wx header files and compilers used by nightly build?

If you looked at the
https://github.com/mirai-computing/cbp2make

You see that cbp2make also works for workspaces files.

Pages: 1 2 3 4 5 [6] 7 8 9 10