Skip to main content

All Questions

Tagged with
0 votes
0 answers
167 views

How to compile for Linux when on Windows using Code::Blocks?

I have a console app which I want to compile for Linux. I don't have access to a Linux operating system at the moment, but I really do need to compile this program for as many operating systems as ...
hosain's user avatar
  • 1
1 vote
2 answers
185 views

How to resolve the LD_LIBRARY_PATH problem in Code::Blocks using Linux

I am running code::blocks on antix Linux (Debian 12 bookworm). When I run a simple Hello World program, #include <stdio.h> int main() { printf("Hello, world!\n"); return 0; } ...
MoritzMoreira's user avatar
0 votes
2 answers
267 views

wx-config not effect in codeblocks on linux

I have build wxWidgets3.0.5 from source on Linux(OpenSuse15.4), and it is installed in /opt/wxWidgets. wxWidgets' hello world example is build successful by the following command g++ hello.cpp `wx-...
wieniawski's user avatar
1 vote
0 answers
197 views

Building Code::Blocks from source isn't working

For some strange reason, When I try to make Code::Blocks, it fails, saying there is an error in the source code. This is what commands I ran: export ACLOCAL_FLAGS="-I `wx-config --prefix`/share/...
Gu-Goomba's user avatar
1 vote
1 answer
216 views

How do you specify a debugger program in Code::Blocks in LINUX

I was trying to debug a c++ program in Code::Blocks, but it didn't work and gave me this message: "ERROR: You need to specify a debugger program in the debugger's settings. (For GCC compilers, it'...
Abdul Rahman Rahhal's user avatar
1 vote
0 answers
58 views

Run code in separate output xterm like Code::Blocks in Visual Studio Code Linux

Is possible to configure Visual Studio Code Terminal and run code in separate output xterm like Code::Blocks? Code::Blocks use this command: xterm -T $TITLE -e I tried to add this command in Visual ...
Ejrr1085's user avatar
  • 1,069
0 votes
0 answers
496 views

GLFW file location for new project on CodeBlocks - Ubuntu

I am trying to create a project using OpenGL with GLFW using CodeBlocks. The thing is that when it asks me for the GLFW location, it is not working if I put the /usr/include.. path nor the manual ...
Andrei's user avatar
  • 51
0 votes
0 answers
41 views

Codeblocks Linux compiler error message (use with SDK for X Plane 11)

When compiling with Codeblocks Linux (Mint) I get the following error message: -------------- Build: Release in HW (compiler: GNU GCC Compiler)--------------- g++ -Wall -O2 -DXPLM200=1 -DXPLM210=1 -...
SchneiH2's user avatar
0 votes
0 answers
105 views

Set up Codeblocks (Linux Mint) for X Plane 11 SDK

I have started to (partly) use CB (for plugin development for flight sim XPlane 11 based on its SDK) under Linux (Mint) instead of W10. With some help I could get the SDK with CB running under W10, ...
SchneiH2's user avatar
0 votes
0 answers
345 views

How to replace gets() function in C programming?

So basically this works perfectly fine on Windows CodeBlocks (I just realised that I'm using gets() and it accesses more storage but I forgot) and it doesn't work on Linux in the terminal. How can I ...
Inakis Girou's user avatar
0 votes
0 answers
77 views

Linux Mint Codeblocks Doesn't Work When I Compile

When I try to do my basic hello world and compile it, but the debug spits this out -------------- Build: Debug in hello world (compiler: GNU GCC Compiler)--------------- g++ -Wall -fexceptions -g -...
AAA's user avatar
  • 1
0 votes
2 answers
124 views

understanding compilation commands C and configuring CodeBlocks

I'm learning C in college. And I wanted to try new things, so I decided to use the allegro Game library to create some stuff. I followed the tutorial, and everything went fine. I wrote a piece of code ...
Mahdi Chaari's user avatar
0 votes
0 answers
192 views

Can not compile mlpack C++ program on Ubuntu

i downloaded mlpack and its dependencies from ubuntu repos as described in the docs using : sudo apt-get install libmlpack-dev libmlpack-bin and then i ran : pkg-config --cflags mlpack And pkg-config -...
Karim Fadi's user avatar
0 votes
0 answers
829 views

"No such file or directory" error on using open() system call in code blocks

I'm trying to open a png file on code blocks IDE on a c program in windows 10 PC, But I'm getting "No such file or directory" error though I have the image on that folder. I've tried ...
Meganathan's user avatar
0 votes
0 answers
2k views

Code::Blocks, Fatal error: can't create obj/Debug/

Would anyone be kind to look at this log file and tell me what the mistake is. The problem only occurs when I compile from code :: blocks. Otherwise wxWidgets on that computer work great. OS is POP (...
Branimir Hackenberger's user avatar

15 30 50 per page
1
2 3 4 5
12