Recent Posts

Pages: [1] 2 3 4 5 6 ... 10
1
Help / Re: Builds fine, runs in terminal but not from CB
« Last post by Evan on Today at 10:09:08 am »
Not an Code::Blocks expert at all, but I'm also running the same Linux Mint like you.

I used Software Manager to install "Codeblocks" and the "Codeblocks-contrib" and it just worked right out of the box. I don't use the terminal if I can avoid it, hence clumsy fingers and dyslectic issues, but I assume it works, because I use it every day without troubles.
2
I am new, I am here!  ;)
3
Development / Re: build bot in the github, I see one nice project
« Last post by Grit Clef on Today at 05:45:47 am »
OK. Thank you.
4
Help / Builds fine, runs in terminal but not from CB
« Last post by lhm100 on Yesterday at 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.





 
5
I am new here.
6
Using Code::Blocks / Re: Debug report has been generated... ?!
« Last post by lakshyakeshwani on Yesterday at 08:05:32 pm »
Try to remove (or rename) ~/.codeblocks/cbKeyBinder10.ini.
how to do so?
7
Help / Re: IncrementalSearch toolbar always resets its position
« Last post by ZsoltKant on Yesterday at 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!
8
Using Code::Blocks / Re: Length of selected text
« Last post by ZsoltKant on Yesterday at 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?
9
Development / Re: build bot in the github, I see one nice project
« Last post by ollydbg on Yesterday at 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. :)
10
Development / Re: build bot in the github, I see one nice project
« Last post by Grit Clef on Yesterday at 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'??
Pages: [1] 2 3 4 5 6 ... 10