Questions tagged [codelite]

CodeLite is an open source, free, cross platform IDE specialized in C, C++, PHP and JavaScript programming languages which runs best on all major Platforms.

CodeLite is an open-source, cross platform IDE for the C/C++ programming languages (build and tested on Windows XP SP3, Windows 7, Ubuntu 11.10 / 12.04, and Mac OSX 10.5.8).

CodeLite is distributed under the terms of the GPLv2 license with an exception:

License exception

Plugins developed for CodeLite (other than the ones that comes with the official installer provided by the CodeLite team), are allowed to remain closed sourced and can be distributed under any license.

Main features

From (a page on a former version of) the CodeLite website:

  • Generic support for compilers
  • Can be easily extended with plugins (several plugins are already included in the installer)
  • Built-in GDB support, with the following features included:
  • Refactoing (rename symbol / rename locals / move functions and more)
  • Subversion plugin (based on the command line tool)
  • GIT plugin
  • External Tools plugin
  • Gizmos plugin - for the creation of: C++ classes, wxWidgets projects, CodeLite plugins
  • Makefile based build system
  • Project explorer (Workspace view)
  • File Explorer
  • Imports MSVS workspace/projects and converts them to use a GNU-based makefile
  • Active-document outline
  • Sophisticated database-based Code Completion mechanism; a default database is supplied which contains symbols for wxWidgets, STL and standard headers
298 questions
2
votes
1 answer

Debug infinite loops in C++ using gdb and codelite

I have a really large code and when I try to run it in codelite, the codelite interface becomes non-responsive and I have to kill it. This usually happens in case of infinite loops. I tried to put breakpoints in multiple places of the code to find…
Ari
  • 7,251
  • 11
  • 40
  • 70
2
votes
2 answers

Codelite debugger error: Failed to locate gdb! at 'gdb'?

I'm trying using Codelite to try and compile some c++ projects that I wrote using DevCpp. I don't have a lot of knowledge about compilers and debuggers.. and every time I try to compile and debug any code in Codelite, I keep getting this error…
jerbotron
  • 307
  • 1
  • 4
  • 14
2
votes
1 answer

Trying to compile with codelite

I have just downloaded this tarball...Now I wan to compile it cos I found a readme in trunk/projects/gcc that says this: The Linux GCC and Windows MinGW builds in this project are supported via a CodeLite project file. Codelite is a very cool…
tirenweb
  • 30,963
  • 73
  • 183
  • 303
1
vote
1 answer

CodeLite building simple main issue

So I have installed MSYS2 with new g++ compiler. Update the CodeLite properties with new compiler and trying to build simpla app with just main(){return 0;} Getting the next errors in console output: Console output…
1
vote
2 answers

error: ‘wxWebRequestEvent’ has not been declared Error despite having #include

I'm getting this error in the CodeLite IDE on my ubuntu OS, and I'm not sure why since I've done the proper #include Documents/CodeliteProjects/LearnFrench/modifyVocabFrame.cpp:75:10: error: 'wxWebRequest' was not declared in this…
1
vote
1 answer

Compiling and injecting code in GDB: C++ rather than C

I am running gdb 10.1.90.20210103-git and gcc/g++ 10.2.1 20210110 on x86-64 Debian 11. My IDE is Codelite, which uses the manual rather than the machine interface to gdb, and enables me to type commands directly to gdb, and see the response…
1
vote
2 answers

CodeLite cmd promt closing immediatly after execution of code

I run the simplesest c hello world function in codelite just to see it works well void main ( ) { printf("hello world\n"); } the cmd promt opens for q brief momet and then closes down immediatly. what's wrong and how can I keep the…
1
vote
3 answers

Codelite 17.0.0 occurs "process_begin: CreateProcess(NULL, makedir Debug, ...) failed."

I am just learning C++ via Codelite, which was updated on 01/11. After updating to the latest version, 17.0.0, I get the error process_begin: CreateProcess(NULL, makedir Debug, ...) failed. mingw32-make[1]: *** [AssignmentOperator.mk:90: Debug/.d]…
李岳鴻
  • 13
  • 3
1
vote
1 answer

CodeLite 16.0.0 Autocomplete Isn't Working

Hi all I've just started using CodeLite Version 16.0.0 . I was told by an instructor to set up autocomplete so that it should pop up after typing the first three letters. However, multiple times on this first program that the autocomplete list…
KsGamer82
  • 25
  • 3
1
vote
4 answers

Codelite not running C programs

Everytime I try to build and run a program, including the standard 'Hello world!' nothing happens, I get: ==== Program exited with exit code: 0 ==== Time elapsed: 000:00.000 (MM:SS.MS) Press any key to continue... At the bottom it…
Fari
  • 19
  • 4
1
vote
0 answers

CodeLite terminal doesn't show up in mac

When I select codelite -> preferences -> terminal -> codelite-terminal, nothing pops up when I run my program. If i select terminal instead of codelite-terminal, it does work. I have a 11.2.3 MacBook and I'm running c++17. Does anyone know if this…
1
vote
1 answer

How do I add my own icon into my project in Codelite?

I am a beginner at using Codelite IDE for developing my own games in C++. And I was going to find some settings that add my own icon for my game but I cannot find any settings the same as I want. I've looked in the tab "Resources" in project…
Hiep Hoang
  • 11
  • 2
1
vote
0 answers

Why wxSound doesn't produce a sound? No errors on the build log

Been trying some code in c++ again (coming from another language) which was long missed and stumbled upon updating a game. The question is my wxSound code can't seemed to work with my wxWidget based game. Here is my code: wxSound *mySound; …
1
vote
1 answer

GCC C++ linking error : Undefined reference to 'WinMain@16'

I'm have linking issue's on codelite when I try to build my project. I get the error 'undefined reference to 'WinMain@16'. #include #include int main() { SDL_Init(SDL_INIT_EVERYTHING); SDL_Quit(); …
karthikkk
  • 29
  • 1
  • 7
1
vote
2 answers

.gitignore file for CodeLite IDE 15.0.0 workspace

Is there a model .gitignore file for a CodeLite IDE 15.0.0 workspace? This answer provides some suggestions for files that should not be added to source control, however it's from 2014 so I'm not sure it's current for 15.0.0. For example, I see a…