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
21
votes
2 answers

How to write "CMakeLists.txt" for a big project with multiple subdirectories?

I am working on a simulation project: Taking an embedded C codebase from a target platform and trying to simulate it on a Host computer for debugging or single stepping into the code. OS: Ubuntu Linux 14.04, IDE: CodeLite, Makefile Generator: Cmake.…
Kazi Hasan
  • 275
  • 1
  • 4
  • 9
12
votes
1 answer

CodeLite formatting

I use the CodeLite IDE for C++ development, but I have not found any way to select -> format the text properly. This: if(1 == 1){ return 1; } should be formatted as: if(1 == 1){ return 1; } Is there a way to select a block of code and then…
T Jacobs
  • 175
  • 1
  • 1
  • 8
10
votes
2 answers

undefined reference to symbol '_ZN5boost6system15system_categoryEv' error

I'm new to c++ rest sdk Casablanca and using it in Codelite ide. Operating System : Arch Linux gcc version : 6.1.1 While building the code I get the following error in debug mode: /bin/sh -c '/usr/bin/make -j4 -e -f Makefile' ----------Building…
Anmol
  • 339
  • 1
  • 4
  • 17
7
votes
1 answer

How do i add libraries to CodeLite projects?

I recently started using CodeLite since i though that it would be a great software, but i don't know how to add libraries to projects. Can anyone help me out ?
Major Spawn
  • 71
  • 1
  • 1
  • 4
7
votes
3 answers

How to Enable C++11 Features in Codelite

The following code compiles and runs in Xcode 5 and in Visual Studio 2013. I am interested in trying out Codelite, but Codelite will not compile the following program (a problem since I am working with scoped enums in my project). As far as I…
Matthew James Briggs
  • 2,085
  • 2
  • 28
  • 58
6
votes
2 answers

How to install "not installable" dependancies?

I'm trying to install Codelite on Ubuntu Artful (17.10). I've seen this problem is very common online but I haven't found a fix. Basically when I run sudo apt-get install codelite wxcrafter I get these unmet dependancies Reading package lists...…
GoldenMat
  • 133
  • 1
  • 1
  • 9
5
votes
3 answers

Codelite issue--No executable specified,use 'target exec

I have just installed codelite in my windows 8.1.It shows error Debugger exited with the following error string: "No executable specified,use 'target exec'" I searched and found this (another stackoverflow question) I did the same as…
chota bheem
  • 371
  • 3
  • 8
  • 20
5
votes
3 answers

CodeLite - Console runs but code is not working

I just installed CodeLite 6.0 in two of my PC's, however in both of these computers I get the same issue: I am able to build and run the project, but when the console starts running all I see is: This is my code: #include int main(int…
Daniel Mejía
  • 57
  • 1
  • 1
  • 4
4
votes
3 answers

Importing a CMake project into CodeLite

I was wondering if anyone knew of a way to import an existing cmake project into the CodeLite IDE? This is a C++ project and I have all of the .c and .h files. I have the CMake lists and what not for the project too. I am running on Ubuntu 16.04…
philm
  • 797
  • 1
  • 8
  • 29
4
votes
1 answer

CMake Error: Could not create named generator CodeLite - Unix Makefiles

Using Ubuntu LTS 14.04. Trying to set up codelite to develop in c++ following this tutorial TheChernoProject How to Setup C++ on Linux CMakeLists.txt: cmake_minimum_required (VERSION 3.5) project (HelloWorld) set (CMAKE_CXX_FLAGS…
Ahmed
  • 55
  • 2
  • 7
4
votes
0 answers

C++ gdb: How to display a range of elements in a vector and within that range, a subset of the elements' members?

This answer is based on a comment by bcumming in How do I print the elements of a C++ vector in GDB? and was tested with Codelite 10.0.0, gcc 4.9.2 and gdb 7.7.1 on 64 bit Debian 8. That question concerned displaying all the elements of the vector.…
4
votes
1 answer

C++ - Undefined reference to "sodium_init"

I am attempting to make a testing application using libsodium, however I am getting the error: main.cpp:6: undefined reference to `sodium_init' I ran the following commands to install in as the root user. $ ./configure $ make && make check $ make…
J. Doe
  • 97
  • 2
  • 6
4
votes
1 answer

howto setup codelite for existing git project

I have an existing c++ project with multiple source directories configured in git, but my workspace/project does not recognise any existing source files. How can I auto-configure a workspace+project in codelite ? ./application/abc/include // h…
Alex Cornford
  • 148
  • 1
  • 10
4
votes
2 answers

Codelite crashes after clicking new workspace or creating new project in Ubuntu 14.04 LTS

I am on Ubuntu 14.04 LTS and alothough I'm not entirely new to Linux, I'm a complete newbie to using Codelite on linux. I've got codelite up and running on Windows with no problems at all. However, its installation on Ubuntu installation seems to…
Sachin Borkar
  • 65
  • 1
  • 5
4
votes
0 answers

#include giving an error

A certain file I got handed to me requires: #include I just installed CodeLite and Linux so I might be missing the library or something since it gives me a fatal error: usr/include/qt4/qlist.h:58:10 fatal error: 'new' file not found What…
hhhhhhhhh
  • 113
  • 1
  • 8
1
2 3
19 20