codeblocks

The program arguments text box in codeblocks 10.05 is not visible

僤鯓⒐⒋嵵緔 提交于 2020-01-02 05:14:13
问题 My environment is ubuntu 11.10.When I am trying to debug the program and add program arguments in the program argument text box, I find that it is squeezed into a line. And there is no way to make it wider. Has the similar problem bothered you? I checked under windows, and in the same place there is indeed a text box.And I have checked my wxWidget is up to date. Thanks! Seems that I am not permitted to post images, so sorry if the description is not clear enough. Made a check and found that I

Codeblocks doesn't stop at breakpoints

不羁岁月 提交于 2019-12-31 22:23:32
问题 I am trying to debug C++ project in Codeblocks, but it's not stopping at breakpoints. I read the other answers and have tried the following things so far: ( Build Options > Compiler Settings ) Produce debugging symbols is checked, strip all symbols is unchecked. No spaces/non-ascii values in my file path. Running the debug version. Debugger in ( Settings > Compiler > Toolchain Executables ) set to GDB/CDB Debugger:Default Executable path in ( Settings > Debugger > GDB/CDB Debugger:Default )

Codeblocks doesn't stop at breakpoints

北城以北 提交于 2019-12-31 22:22:14
问题 I am trying to debug C++ project in Codeblocks, but it's not stopping at breakpoints. I read the other answers and have tried the following things so far: ( Build Options > Compiler Settings ) Produce debugging symbols is checked, strip all symbols is unchecked. No spaces/non-ascii values in my file path. Running the debug version. Debugger in ( Settings > Compiler > Toolchain Executables ) set to GDB/CDB Debugger:Default Executable path in ( Settings > Debugger > GDB/CDB Debugger:Default )

MinGW 5.3.0-2 not working

北战南征 提交于 2019-12-30 11:09:37
问题 I get a bizzare error after upgrading to MinGW 5.3.0-2(actual version) I checked everything because It's the 5th time i reinstall it and thought it would help Code::Blocks outputs this: mingw32-g++.exe -Wall -fexceptions -g -c C:\Users\Tudor\Documents\C++\test\main.cpp -o obj\Debug\main.o mingw32-g++.exe -o bin\Debug\test.exe obj\Debug\main.o c:/mingw/bin/../lib/gcc/mingw32/5.3.0/../../../../mingw32/bin/ld.exe: cannot find -lpthread collect2.exe: error: ld returned 1 exit status Process

ffmpeg missing config.h in libavutil (No Such File or Directory) CodeBlocks

人走茶凉 提交于 2019-12-30 10:37:21
问题 When I test the ffmepg encoding/decoding exapmle c program in CodeBlocks, it shows: /ffmpeg_sources/ffmpeg/libavutil/internal.h fatal error: config.h: No such file or directory error happens in many other header file within ffmpeg_source/libavutil folder. I searched the folder but did not find config.h file. There are config.h in other folders but does not work for the header files within libavutil folder. I tried download newest ffmepg zip file and also cannot find the config.h file in it.

ffmpeg missing config.h in libavutil (No Such File or Directory) CodeBlocks

余生颓废 提交于 2019-12-30 10:35:45
问题 When I test the ffmepg encoding/decoding exapmle c program in CodeBlocks, it shows: /ffmpeg_sources/ffmpeg/libavutil/internal.h fatal error: config.h: No such file or directory error happens in many other header file within ffmpeg_source/libavutil folder. I searched the folder but did not find config.h file. There are config.h in other folders but does not work for the header files within libavutil folder. I tried download newest ffmepg zip file and also cannot find the config.h file in it.

Unable to link to SDL2 functions using MinGW

痴心易碎 提交于 2019-12-30 05:57:11
问题 I'm relatively new to programming and I've decided to give SDL a try, but I'm a bit stuck. I haven't been able to build the project in codeblocks and I get 'undefined reference' to all SDL functions. I've seen a lot of similar questions here, but none of the solutions seems to help. I've already added the \include\SDL2 and the \lib folders to search directories, I've added SDL2Main and SDL2 to link libraries in linker options, I've even added -mwindows to other linker options. Also, I tried

functions sound/delay/nosound in dos.h for c/c++

岁酱吖の 提交于 2019-12-29 09:23:15
问题 How can I get a version of language C/C++(downloaded??) where the functions sound, nosound, delay are present in the library DOS.H? For example it doesn't exist in the version c/c++ on code::blocks. What have I to do in order to use/find the functions sound/nosound/delay? thank you for your help ! 回答1: In Windows programs you may use win32 functions: Sleep() as a replacement for delay() Beep() as a replacement for a combination of sound() + delay() + nosound() . 回答2: download (sigh) a copy of

Compilation Error on Recursive Variadic Template Function

我们两清 提交于 2019-12-29 06:16:12
问题 I've prepared a simple variadic template test in Code::Blocks, but I'm getting an error: No matching function for call to 'OutputSizes()' Here's my source code: #include <iostream> #include <typeinfo> using namespace std; template <typename FirstDatatype, typename... DatatypeList> void OutputSizes() { std::cout << typeid(FirstDatatype).name() << ": " << sizeof(FirstDatatype) << std::endl; OutputSizes<DatatypeList...>(); } int main() { OutputSizes<char, int, long int>(); return 0; } I'm using

How do you specify a debugger program in Code::Blocks 12.11?

坚强是说给别人听的谎言 提交于 2019-12-29 04:37:08
问题 I am trying to step through my program and I get the following message from Code::Blocks Selecting target: Debug ERROR: You need to specify a debugger program in the debuggers's settings. (For MinGW compilers, it's 'gdb.exe' (without the quotes)) (For MSVC compilers, it's 'cdb.exe' (without the quotes)) Unfortunately, I cannot figure out where I would type in gdb.exe. 回答1: In the Code::Blocks IDE, navigate Settings -> Debugger In the tree control at the right, select Common -> GDB/CDB