Questions tagged [code-blocks]
The open source, cross platform, free C++ IDE.
115
questions
0
votes
0
answers
43
views
anyone command line keyword blocking programmings pls?
Still trying to block all online gambling.
Pluckeye is good for this but not fool proof.
anymore programs or extensions that allow a command line block?
a backup would solve it pls?
0
votes
1
answer
1k
views
How to make g++ use the C++20 language standard when compiling from code-blocks in Ubuntu 22.04
Just started learning c++ and it is recommended to compile code using the c++20 standard and use code::blocks as the editor.
I checked the man pages of g++ and it is using c++17. I am using code::...
0
votes
0
answers
119
views
Code::Blocks appearance problems
I am using Code::Blocks on Kubuntu with the system theme set to Breeze-dark. When I run code blocks, the color scheme makes it look very bad.
I am trying to force light mode for just Code::Blocks and ...
1
vote
1
answer
4k
views
Can't find -lGL from /usr/lib/ld
Whenever I try to compile Code::Blocks' C++ projects I get this error:
/usr/bin/ld: cannot find -lGL
I've tried installing following packages in accordance to other solutions to this problem:
fglrx-...
0
votes
1
answer
1k
views
OPENGL (glfw) - can't find -lGLFW
I tried to setup GLFW for Ubuntu (Code::Blocks) but I can't find where is the problem.
So I installed the glfw package via:
sudo apt-get install libglfw3-dev
Then, I added GLFW to the build ...
2
votes
1
answer
1k
views
I have a large window that won't resize, how can I fix it?
Codeblocks is taking a lot portion of my screen.I want it to take less screen (preferably upto the red rectangular size i have drawn).Is there any way I can do it ?
I can resize the height, but that's ...
0
votes
1
answer
522
views
GCC compiler does not recognize in the CodeBlocks IDE (Set variable: LD_LIBRARY_PATH=.:)
I am using Ubuntu 20.04 LTS and I have been trying to get up and run the C programs in codeblocks IDE and it keeps getting me this following error.
Checking for existence: /media/darkpheonix/dptech/...
4
votes
1
answer
556
views
Can not uninstall codeblocks apk
I tried to uninstall codeblocks from ubuntu software. After clicking remove it's showing "Unable to remove code::blocks IDE. No packages to remove"
I tried another way, by running sudo apt-...
0
votes
1
answer
91
views
can't install new packages after codeblocks
I tried installing codeblocks from the tar.xg format but it didn't happen properly after that I can't purge or remove or delete codeblocks packages from my system and can't even install new software I ...
0
votes
1
answer
454
views
Can't Install Latest Code::Blocks on 20.04.1 LTS [duplicate]
I tried to install Code::Blocks by following this answer, but I cannot install the application:
1
vote
1
answer
348
views
Code::Blocks 20.03 can't suddenly find -lglfw3 in Ubuntu 20.04
I installed Code::Blocks in my Ubuntu 20.04 about a month ago and tested it with a GNU GCC Compiler. It could run a simple "Hello Word"-program. I didn't use CodeBlocks after that.
But now a ...
1
vote
1
answer
2k
views
Install wxWidgets-3.1.4, Install Code::Blocks
After downloading and installing (./configure, make install) the latest wxWidgets-3.1.4 version from official page. I checked out latest Code::sBlocks with svn from official repository.
In the folder ...
1
vote
1
answer
246
views
Can I install the previous version of Codeblocks "Codeblocks 17.12" on Ubuntu 20.04 lts? [duplicate]
Now Codeblocks 20.03 is available. But I want to install codeblocks's previous version 17.12. Is it possible to install the previous version on ubuntu 20.04? If yes then how? Please help me to do it ...
1
vote
1
answer
353
views
When I am closing Codeblocks I am facing this error
I am using Ubuntu 20.04. I get this error message when closing Codeblocks.
Could not save config file '/home/santo/.config/codeblocks.default.conf'!
1
vote
1
answer
129
views
gtk+3 programme compilelation in codeblocks showing fatal error
I have tried to compile a c programe with gtk+3 in code blocks but its showing
fatal error: gtk/gtk.h: No such file or directory|
0
votes
2
answers
769
views
Code::Blocks 16.01 Build Failed
I am using 18.04.4 lts version of Ubuntu. I downloaded Code::Blocks from "Ubuntu Software" and didn't install any other package. I do not know if the packages required for development are installed.
...
0
votes
0
answers
233
views
Code blocks not loading "The following packages have unmet dependencies "
Codeblocks installation
I tried this but it didn't work. I'm new on Ubuntu, can you help?
1
vote
3
answers
4k
views
Can't find .codeblocks in home directory
default.conf should be in .codeblocks which is a hidden directory in home directory. But I can't find either default.conf or .codeblocks on my PC. I'm using Ubuntu 18.04.
2
votes
2
answers
2k
views
An error shown while saving C/C++ file in Code::Blocks
I have installed Code::Blocks from the Ubuntu store. I was trying to save C/C++ files, but it shows me the following problem. Are there any solutions?
codeblocks
An assertion failed!
../...
0
votes
0
answers
939
views
Using matplotlib-cpp in Code::Blocks
I am trying to use matplotlib-cpp according to this guide:
Installing matplotlib-cpp, but I am trying it on Ubuntu so It's a little bit different.
In "Search directories", I have included these two ...
1
vote
1
answer
193
views
Remove CodeBlocks and know file path
I had installed the code block earlier, Now I want to remove it and shift to IDE (recommendation are welcome, specially c/c++) but through the terminal
"Package 'codeblocks' is not installed, so ...
0
votes
1
answer
248
views
How to change the owneship of default.conf file in code::blocks editor in ubuntu?
I just started using code::blocks editor and found that its default font size is smaller to me.Whenever I open it I have to manually resize the font by settings -> editor -> choose. I'm finding ...
0
votes
0
answers
3k
views
Undefined reference when using SDL_ttf
I am having issues with SDL_ttf, I am new in this type of library so the code below is from https://www.libsdl.org/projects/SDL_ttf/release/SDL2_ttf-2.0.15.tar.gz -> showfont.c
/*
showfont: An ...
1
vote
1
answer
611
views
I cannot link freeglut to code::blocks on Ubuntu
Following are my related includes:
#define GL_GLEXT_PROTOTYPES
#define GLEW_STATIC
#include <GL/glew.h>
#include <GL/freeglut.h>
#include <stdlib.h>
#include <iostream>
#...
0
votes
0
answers
1k
views
Setting up OpenGL glut library on Code::Blocks IDE in Ubuntu 18.04.2
I am trying to set up OpenGL glut library on Code::Blocks 16.01 IDE in Ubuntu 18.04.2. I have followed this link but when I try to open a freeglut project, I get this error -
Failed to load the ...
0
votes
1
answer
387
views
Code Blocks is not working from every folder on Ubuntu 18.04
I've recently installed Code::Blocks on my ubuntu 18.04 from Ubuntu store.
It's version 16.01+dfsg-2.1
Now It compiles and runs c/c++ smoothly but only on outside folders like
Documents
...
0
votes
1
answer
532
views
How can I view the C++ code result in terminal instead of xterm
I have just started to learn C++
and I am using code block to do all the work of c++.
but when the code is run the result is displayed in something called XTERM.
I would be happy to know if there is ...
0
votes
0
answers
36
views
Code Blocks stopped while writing code or just after open it
Code blocks 13.12 is installed in Ubuntu 16.04. After open code blocks it was just close without giving any warning some time while writing code. Now i can't even write any code when i start writing ...
0
votes
2
answers
1k
views
404 error for CodeBlocks repository when I update my system [duplicate]
I installed Code:Blocks on my Ubuntu 18.04 LTS. It works fine for now and I don't have any problem with it. But when I update my system using
sudo apt-get update && sudo apt-get upgrade -y
I ...
0
votes
1
answer
1k
views
Broken packages on Codeblocks Installation [duplicate]
I use Ubuntu 18.04, and I can't reinstall CodeBlocks, it does not work.
I installed Codeblocks 16.04 earlier but, then I uninstalled it, because I would like to use a new version like 17.12.Now, when ...
0
votes
1
answer
363
views
Problems with Codeblocks
I installed Codeblocks 17.12-1 and it's not responding after building the file.
So I wanna try Codeblocks 16.01 from the terminal but it shows errors.
:~$ sudo apt install codeblocks
[sudo] password ...
2
votes
1
answer
856
views
Setting up Code Blocks with Irrlicht ubuntu 18.04: Trying to compile examples; many issues
I want to learn to make a game with irrlicht 3d engine and code blocks/c++. I installed codeblocks, I followed Irrlicht instructions from various sources, My current problems are below.
These are the ...
2
votes
3
answers
12k
views
CodeBlocks in Ubuntu 18.04 doesn't show any result in Console after Build and Run. What should I do?
I have just switched to linux.
Thanks in advance!
1
vote
2
answers
7k
views
How do I install Codeblocks 17.12? [duplicate]
I just downloaded the compressed files from Codeblocks website but there are so many .deb files.
So which one should I install? Do I have to remove currently installed Codeblocks 16.01 before ...
10
votes
2
answers
16k
views
How to install latest Code::Blocks from tar.xz?
How to install latest Code::Blocks using codeblocks_17.12-1_amd64_stable.tar.xz?
Software center has an old version and I am not able to configure. How to install? Why is there no documentation for ...
0
votes
1
answer
44
views
Codeblocks focus issue
I am running CodeBlocks 16.01 in Ubuntu 16.04. A while back I reinstalled my OS and since then CodeBlocks no longer asks me to reload files edited by programs which are run from editor, even though ...
0
votes
1
answer
3k
views
Code::Blocks 17.12 not compiling
I am having a problem.
I am running Ubuntu 17.10 and Code::Blocks 17.12. When I try to compile a simple "Hello World" program it gives me this error:
-------------- Build: Debug in test5 (compiler: ...
0
votes
1
answer
703
views
Codeblocks problem
I have installed CodeBlocks 16.01 in my Ubuntu 17.04, but I am facing some problems. Code::Blocks doesn't open a new tab when I select File -> New -> Empty file like in this image: https://i.ytimg.com/...
0
votes
1
answer
4k
views
How to setup Code::Blocks for GLFW development?
When I want to create a project in Code::Blocks I get a popup with a lots of options. One of them is GLFW project. When I select that I have to name my project and set its location, that is not a ...
0
votes
0
answers
2k
views
Cannot run g++ compiled code. Get permission error. Used chmod, got Exec format error
I have been using Code::Blocks to write some code and I used cbp2make to generate a makefile that compiles with g++. I run make and I get all of the ".o" files the makefile promises in the "obj/...
1
vote
1
answer
4k
views
Is there a safe and stable PPA for Code:Blocks with packages for 17.04?
I'm trying to install Code::Blocks without having success. It seems that the PPA I'm trying to use has problems, because after I run
sudo add-apt-repository ppa:damien-moore/codeblocks-stable
I get ...
3
votes
1
answer
14k
views
Code::Blocks 13.12 Process terminated with status -1 (0 minute(s), 0 second(s) )
I installed CodeBlocks in ubuntu and try with a hello world c++ program with the following code:
#include <iostream>
using namespace std;
int main()
{
cout << "Hello world!"...
2
votes
1
answer
912
views
Unable to run any code in code blocks,says permission is denied
Unable to run any code in code blocks
says permission is denied
screen-shot of error message displayed
0
votes
0
answers
572
views
codeblocks in 16.04 can't copy/cut and paste more than once
I've installed codeblocks in ubuntu 16.04. I first installed version 13.12+dfsg-4 from the universe repository. Then I installed version 16.01~ubuntu16.04.1 from ppa:damien-moore/codeblocks-stable ...
1
vote
0
answers
129
views
Codeblocks occasionally freezes on start-up
I have Ubuntu 16.04 and the latest version of Codeblocks.
When I try to launch it either by opening a source code or launching the app directly, it freezes most of the time, and I get the "stopped ...
0
votes
1
answer
162
views
Codeblock intallation repository
I have download codeblocks from Ubuntu software store but it is not working properly and giving error
Can't find compiler executable in your configured search path's (for Intel C/C++ Compiler)
I ...
0
votes
1
answer
352
views
CodeBlocks can't save shortcuts setting after exiting
Now I know that alot of this question has been asked, but I tried a lot solution and still stuck. Hopefully I will get a way here.
My CB worked well until tonight. I had a situation that lead to ...
0
votes
1
answer
361
views
When I open a menu in codeblocks' title bar, the new window shows nothing and cannot be closed
The problem happens from time to time (it works fine half of the time). I updated my Ubuntu from 16.04 to 16.10, and I have tried to reinstall several times, but the problem persists.
0
votes
0
answers
155
views
How to make code::blocks choose the newer version of GCC
I have Code::blocks 13.2 which uses GCC version 4.8.2,but recently I install the latest GCC version which is 5.How Do I make CB use the latest version of GCC 5?.
I desperately want to use the C++14 ...
0
votes
1
answer
3k
views
How to copy paste in Xterm using Ctr l+ C , Ctrl + V in Ubuntu
How to copy and paste in Xterm using Ctrl+C and Ctrl + V like Windows in Ubuntu 16.04? (Using codeblocks)