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
0 votes
0 answers
81 views

When using RegQueryValueExW how can I get the entire string which is an REG_SZ?

I should get ABCDEFG, but I only got A. UPDATE: I added my current adjusted code and an example screen shot. /// UNICODE version DWORD NEW_dwType; HKEY NEW_hKey = 0; char ...
Line Item's user avatar
1 vote
0 answers
69 views

How do I compile a program in code::blocks using C when it won't let me?

I don't know if is a very simple error becouse the last time I used code::blocks was like 2 years ago but when I try to build my (very simple) program, nothing happens, just the build screen goes out ...
Withoutsleep_dev's user avatar
0 votes
0 answers
47 views

Errors linking Lapack to CodeBlocks

I am having issues running Armadillo library in my Code::Blocks 20.03 on Windows. I am always stuck on some kind of error and would really appreciate help. I have downloaded the LAPACK libraries, the ...
new_and_stuck's user avatar
0 votes
1 answer
57 views

Dependencies not being built from command line execution with Code::Blocks

This is all within a Windows environment. I have a main project that depends on 2 libraries (e.g. lib.a). When I rebuild through the Code::Blocks IDE, it cleans both library projects and the main ...
ls6777's user avatar
  • 436
0 votes
1 answer
260 views

Can't see my text cursor in Code::Blocks when changing text editor to dark theme

When I followed the instructions on this answer to change my theme in this .conf file to the "vim" theme, it worked properly, but I was not able to see my text cursor because both the cursor ...
ᴇɴᴅᴇʀᴍᴀɴ's user avatar
0 votes
2 answers
2k views

How to install wxWidgets on windows 10 using the installer and use it in code::blocks an visual studio 2019 community?

I downloaded wxMSW-3.2.2.1-Setup.exe. How can I use it to install wxWidgets? Does it need any manual configuration or does the installer do all the work for me? After it’s installed, how do I use ...
JMBCODE's user avatar
  • 15
0 votes
0 answers
283 views

How can I get MPI module to work with Fortran using Code:Blocks on Windows 10?

I have recieved some code from a colleague which is written in Fortan .f90 files, and was used before on Linux. I am trying to get the code to function on Windows 10 using Code::Blocks. The problem is ...
lhemz's user avatar
  • 1
-4 votes
1 answer
70 views

Code::Blocks error "rad2deg does not name a type" error "rad2deg was not declared in this scope" C++23 [closed]

I know for a fact this code is written correctly due to testing this on my Linux machine. No matter what I have done the error persists. I am new to Windows 10 and Code::Blocks, any help regarding ...
DizzyDazzo12's user avatar
1 vote
1 answer
43 views

Why is Cod::Blocks giving me Null instead of a input char?

Source Code: #3 main.c # include "func.h" int main(void) { func(); return 0; } #3 func.h #include <stdio.h> void inputName(); void printName(); void func(); #3 func.c #...
fronow's user avatar
  • 17
1 vote
1 answer
829 views

realpath throws undefined reference to realpath

Im trying to get the path of text file , when i use the method "realpath" & #include<stdlib.h> ,the compiler gives me an error message :"undefined reference to realpath"
Heba's user avatar
  • 11
0 votes
0 answers
91 views

When using SetPixel undefined reference to `__imp_SetPixel' collect2.exe error is given [duplicate]

Im using code-blocks and can not figure out how to use gdi32. This is my code for trying to draw a point at the users current location. If there is a better way for this please tell me, I have tried ...
Dependra Khatri's user avatar
0 votes
0 answers
65 views

Code::Blocks and Armadillo Linking: cannot find -lopenblas.lib

I want to link armadillo-11.4.0 to Code::blocks C++ project in Windows 11. I already gave the path to include folder and library folder using Project Build options>>Search directories. Also, in ...
JKR89's user avatar
  • 1
-1 votes
1 answer
319 views

Why does RegOpenKeyEx return "0" value?

I use CodeBlocks version 20.03 (x86) as IDE. Here are my codes: #include "iostream" #include "windows.h" using namespace std; int main() { HKEY hkRegedit; long ...
user avatar
0 votes
1 answer
213 views

What wrong with OMP APIs?

Sorry again for my ignorance, I want to run #include <omp.h> for the #pragma omp parallel for command. As it didn't work for me I checked my gcc version and it is 5.1.0, I added the libgomp.a ...
Dio Bello's user avatar

15 30 50 per page
1
2 3 4 5
17