Questions tagged as 'codeblocks'

1
answer

CodeBlocks - "It seems that this project has not been built yet. Do you want to build it now? "- How do I solve this?

It seems that codeblocks can not find the folder where my project is. I have tested the separate compiler and it is working perfectly. Does anyone know how I solve this? See: gcc -Wall -g -c "/home/ehecatl/Área de Trabalho/programacao-c/Le...
asked by 21.04.2016 / 21:14
1
answer

Error writing binary file using fwrite

Why this code snippet DataRootDir data = rootdir[i]; fwrite (data, sizeof(DataRootDir), 1, arq); always returns error error: cannot convert 'DataRootDir' to 'const void*' for argument '1' to 'size_t fwrite(const void*, size_t, size_t, FIL...
asked by 19.02.2016 / 19:53
1
answer

Executable created by CodeBlocks opens and closes alone

I have a problem with my program in CodeBlocks. When I compile and run the program, CodeBlocks creates an executable in the Debug folder that is inside the bin folder, located in the same folder where the project is. When trying to open the .exe...
asked by 28.07.2015 / 06:37
1
answer

Questions about renaming files in codeblocks

I would like to know how I can rename this file. link     
asked by 07.08.2018 / 17:23
0
answers

Problem with Headers in CodeBlocks

I'm using CodeBlocks and testing some applications to use on FriendlyARM Mini 210s #include "linux/fs.h" #include "linux/cdev.h" #include "linux/module.h" #include "linux/kernel.h" #include "linux/device.h" #include "asm/uaccess.h" #include "a...
asked by 09.08.2018 / 16:56
0
answers

is there any way to use jsoncpp.lib in codeblocks?

I need to use jsoncpp.lib in codeblocks, but when compiling I get the following compiler errors:    D: \ Users \ User \ Documents \ CodeBlocks \ demo \ main.cpp | 20 | undefined   reference to 'Json :: Value :: Value (Json :: ValueType)' |  ...
asked by 09.07.2018 / 23:01
0
answers

error: ld returned 1 exit status C ++

I wrote this code in C ++ in Codeblocks with class Register_moradores, but this is giving the error    error: ld returned 1 exit status I did not find anything to help me on the internet. I do not know how to program very well yet. In...
asked by 24.06.2018 / 01:36
0
answers

CodeBlock with MingW to create .xll file

Good evening I'm new here and I scratch some C / C ++ prog that I had in college and I'm trying to use it at work, more precisely in Excel ... As VBA sucks, I need to create some functions in C / C ++ and generate an excel addin. I'm fo...
asked by 16.02.2018 / 06:17
0
answers

How to fix parsing error of this code in codeblocks?

I have a Game class that declares some variables in Game.h and it sets in Game.cpp but when I try to use some .h variable in the .cpp file, the codeblocks says: "error 'counter' is not a member of 'Game' "Here are the two files: Obs. The c...
asked by 09.02.2018 / 14:03
1
answer

Error compiling in CodeBlocks - Libboost

I'm compiling here in CodeBlocks, it's been a week since I'm trying to compile, but it always gives some error, and now that it's at the end of the compilation, it's giving some errors and I'm not able to solve it. Can anyone help me solve this?...
asked by 10.12.2017 / 18:31