Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [code-blocks]

The open source, cross platform, free C++ IDE.

0
votes
2answers
64 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
0answers
32 views

CodeBlocks debugger stopped working

My debugger stopped working. When I try to debug a program (otherwise working fine), a blank terminal is opened. No program output is displayed on it but I can type there. Nothing like that happened ...
0
votes
0answers
15 views

Can I create an executable file from a Code Blocks project?

I wrote a program using Code Blocks and I'd like to create an executable file that I can doubleclick to run. Is there a way to do so? Sorry if this is a duplicate, but I read a lot of posts and just ...
0
votes
1answer
60 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
0answers
29 views

Codeblocks/XTerm permission denied error on compilation

I just installed Codeblocks in my Ubuntu system, wrote a simple program, and after pressing the key combination Ctrl + F9 to compile this, I got the message Permission denied. Return to the homepage. ...
1
vote
0answers
61 views

How to install Code:Blocks IDE 17.12 on Ubuntu Desktop 18.04? [duplicate]

How to compile sources from sourceforge and install it step by step? Is there another way? I have read this page How to install the Code::Blocks IDE? but solution not found.
0
votes
0answers
94 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 ...
0
votes
0answers
17 views

How do I uninstall codeBlocks 17.12 which was installed by compiling source code? [duplicate]

Compiled and installed the codeblocks 17.12 version, now I want to remove it and install the 16.01 version (just for trying it out, no important reason here). Tried installing the 16.01 version using ...
2
votes
1answer
233 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 ...
1
vote
2answers
1k views
0
votes
0answers
51 views

Disk Sda5_crypt

Last evening I installed Xubuntu 18.04 LTS on my PC, but I don't manage to enter the new operative system because it's answered to me to insert a pass I haven't. The only words written on the monitor ...
0
votes
0answers
70 views

AVR project creation using code block IDE on UBUNTU OS

I am trying to create AVR projects using CODE BLOCKS IDE. I am getting below-mentioned script error: SquirrelFunction<> call failed AN ERROR HAS OCCURED [the index 'Item' does not exist] ...
1
vote
1answer
4k views

How do I install Codeblocks 17.12?

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 ...
5
votes
1answer
4k 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
0answers
251 views

Accessing an IP camera in Ubuntu through Code::Blocks IDE

I am working on a task in which I have to access live stream of an IP Camera (Edimax IC-3110P) using OpenCV 3. My Host system is Windows 10 and I have used Virtualbox to run Ubuntu 16.04 (Xenial) 64-...
0
votes
0answers
395 views

Code::Blocks collect2 ld returned 1 exit status but it's working on Windows

I am using Xubuntu 17.10 with Code::Blocks 17.12. I am writing a program, with linked libraries (.a files), that I linked in project/build options with a relative path. On Windows, there's no problem,...
0
votes
1answer
26 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
1answer
1k 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
1answer
289 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
1answer
1k 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
0answers
212 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
1answer
2k 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 ...
2
votes
1answer
4k views

Code::Blocks 13.12 Process terminated with status -1 (0 minute(s), 0 second(s) )

I installed codeblock in ubuntu and try with a helloworld c++ program with the following code: include <iostream> using namespace std; int main() { cout << "Hello world!" << ...
2
votes
1answer
298 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
0answers
318 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
0answers
90 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
1answer
95 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
1answer
273 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
1answer
144 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
0answers
65 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 ...
1
vote
1answer
904 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)
0
votes
3answers
1k views

Removing codeblocks ppa from Ubuntu 16.10

W: The repository 'http://ppa.launchpad.net/damien-moore/codeblocks-stable/ubuntu yakkety Release' does not have a Release file. N: Data from such a repository can't be authenticated and is therefore ...
5
votes
0answers
583 views

Broken gui/graphics in Code::Blocks

I'm using Ubuntu 16.04.1 LTS. Code::Blocks looks like this: Sometimes editor window is visible but tool bars are invisible or unresponsive. How do I fix that ?
0
votes
0answers
42 views

Which code::block version supports building Dynamic Link Libraries

I have multiple C++ source code files that I have built using GNU GCC Compiler. Each was debugged separately and then linked to the final Shared Object .so file which is 2Mb in size. My source files ...
0
votes
1answer
2k views

How can I run a C program in Code::Blocks in Ubuntu?

I recently switched from Windows to Linux Ubuntu. I had been using CodeBlocks in Windows too. So I downloaded CodeBlocks from Software Manager. Now when I create a project and try to "Build and Run" ...
6
votes
1answer
9k views

How to install jsconcpp in ubuntu 14.04 for C++ development?

As the question tells how should I install jsonccpp in ubuntu 14.04. I have downloaded the jsoncpp-src-0.5.0.tar.gz form sourceforge. Then I opened nautilus using sudo and copied,pasted and extracted ...
0
votes
1answer
221 views

Codeblocks toolbars stop responding

I just installed Ubuntu 16.04 on a virtual machine (virtual box) I installed code blocks and i started coding but sometimes, the visual interface is bugging and some toolbars don't show up. Example: ...
1
vote
0answers
845 views

Codeblocks error undefined reference to curl_global_ in C++

I new to the web application of c++ and trying to learn about fetching websites and its contents using curl in c++ . My aim is to create a c++ programe which can parse json data from a website. I am ...
2
votes
1answer
280 views

Code::Blocks output window Position in Ubuntu [duplicate]

When I write my program and then compile & run it, my output window appears at the bottom right corner so I have to drag & drop it to the center so I can enter my data. Is there any way to ...
1
vote
1answer
583 views

Codeblocks16.01 in Ubuntu 16.04 stops working after opening the source file!

After I start codeblocks and opening my project and then opening source code from the management panel, everything suddenly stops working! (Codeblocks hangs) and after some seconds, the ...
7
votes
2answers
12k views

Codeblocks Crash

I don't have a good experience with codeblocks on Ubuntu. I've tried in 15.10 and 16.04 and it always crashes after a while. I just open a console application, create some .h files and run. I use it ...
1
vote
2answers
497 views

CodeBlocks in a Xenial

I'm newbie in linux and I can't install the codeblocks in the xenial. These errors happen: The following packages have unmet dependencies: codeblocks: Depends: libcodeblocks0 (= 16.01~ubuntu16....
0
votes
1answer
2k views

Codeblocks automatically closes on Ubuntu 15.10 x64

I have codeblocks installed it is now randomly closing while im coding. It closes automatically. How to fix it?
3
votes
1answer
1k views

Change default console position in CodeBlocks

It's so annoying to drag it over and over again. How to change default position of a console?
3
votes
3answers
310 views

code::blocks on Xenial Beta

Attempting to install code::blocks through the PPA with apt-get and not having much luck. I keep receiving these errors: The following packages have unmet dependencies. libcodeblocks0 : Depends: ...
0
votes
1answer
735 views

Having problems while building or running a code using Codeblocks 13.12

One of my mates told me that she is having problem while trying to build or run a code in Codeblocks (version 13.12). No environment error is shown. Whenever she tries to build a code nothing happens. ...
1
vote
2answers
261 views

Having problem while running a code in Codeblocks 13.12

I can't build and run any object code by using my Code:blocks compiler (version 13.12). Whenever I open Code:blocks there is shown an environment problem which says, Can't find compiler executable ...
-1
votes
3answers
5k views

Code::Blocks error: “…project has not been built yet”

I'm a Lubuntu user. I installed Code::Blocks and when I ran the simple program "Hello world", this error appeared: It seems that this project has not been built yet. Do you want to build it now? ...
1
vote
1answer
354 views

How to enable “Abbreviations” on code blocks on Ubuntu 14.04?

Abbreviation I'm new user on Ubuntu. I use Ubuntu 14.04. Here, while I install code blocks I found that "Abbreviations" is not enabled here. Now how can I enable this on my code blocks 13.12?
2
votes
0answers
3k views

Codeblocks not working properly

I was running Ubuntu 15.04 until yesterday and codeblocks worked fine, but when I upgraded distro to 15.10 it broke some functionalities. For example, before I used codeblocks program.cpp > /dev/...