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

Linker errors with codelite, unittest++ and g++ on linux

I'm new to unit testing in c++, and writing c++ on Linux (Mint). I'm using CodeLite as my IDE. I have found several answers on stackoverflow about linker errors, but after hours of trying various solutions I have not succeeded in implementing a…
Theoria
  • 23
  • 2
2
votes
1 answer

CodeLite not using Global compile settings or project compile settings

I am currently using CodeLite for my IDE for C++. There are many features in the IDE that I enjoy using and the interface is pretty simple. Recently, I am moving my code for wxWigets from 3.0 to 3.1. There are a number of functions that are…
philm
  • 797
  • 1
  • 8
  • 29
2
votes
2 answers

Link Curl using codelite c++

Edit: I used this guide, and it solved my issue! However, i get another error now: 32-make.exe[1]: *** [Debug/main.cpp.o] Error 1 mingw32-make.exe: *** [All] Error 2 API.mk:97: recipe for target 'Debug/main.cpp.o' failed... I have been trying for a…
Mio Crona
  • 21
  • 4
2
votes
0 answers

CodeLite: No output of stdout/stderr

In CodeLite, when I run my program, none of the messages I write to stdout or stderr appear in the "Output" tab. My test program is as follows: #include int main() { puts("Writing to file..."); FILE* fp = fopen("test.txt", "w"); …
TheComet
  • 31
  • 4
2
votes
1 answer

codelite autocompletion not (really) working

I am currently migrating to CodeLite, as a former Code::Blocks user. Overall, i think CodeLite is a pleasure to use. CB had its flaws, but most of the stuff was working. That includes autocompletion/code completion, for some reason, that just…
tubberd
  • 540
  • 5
  • 15
2
votes
1 answer

Output from cout or printf in C++ not showing in CodeLite on Windows 7

Okay, so I have a Windows 7 (64) machine, and I downloaded and installed CodeLite. Although I use Visual Studio just fine, I was looking for an open source alternative for some instructional materials I am preparing. Every time I run the program, I…
Ginzorf
  • 769
  • 11
  • 19
2
votes
0 answers

Codelite never made an .exe with my project

This may seem really simple if you already know the answer but I just downloaded v9 64bit of Codelite. Every project i create is not only missing an .exe file but the entire Debug folder. So every time i try to run the program it outputs a blank…
ian holm
  • 21
  • 2
2
votes
2 answers

CodeLite: relative paths in makefile

Codelite puts absolute paths in makefile, such as: === mygreatapp.workspace === <...> WorkspacePath := "/home/vladon/Projects/mygreatapp" ProjectPath := "/home/vladon/Projects/mygreatapp" <...> === And in generated makefiles it…
vladon
  • 8,158
  • 2
  • 47
  • 91
2
votes
2 answers

CodeLite autocomplete cannot find c++ headers

CodeLite 7.0, Windows 7, MinGW installed, autocomplete cannot find anything c++ related. I have a workspace and a project in it (just started with CodeLite). When I try to include a c++ header (e.g. string or vector) or use those classes in my code…
Bikush
  • 654
  • 8
  • 22
2
votes
1 answer

Simple File-I/O Program C++

#include #include #include #include using namespace std; int main(){ system("cls"); char mline[75]; int lc=0; ofstream fout("out.txt",ios::out); ifstream fin("data.txt",ios::in); …
Monk
  • 181
  • 1
  • 3
  • 11
2
votes
1 answer

Changing compiler from MinGW32 to clang in CodeLite (Windows) results in compilation errors

I have a project the successfully builds using MinGW32 on Windows 8.1 using CodeLite. I am trying to change the compiler from MinGW32 to clang. However, after switching the compiler over I get the following…
OMGtechy
  • 7,935
  • 8
  • 48
  • 83
2
votes
0 answers

using unittest++ in Codelite

After a lot of research: I cannot actually appear to get unittest++ to work in Codelite. Either on a Mac or Windows machine. creating a project as a unittest++ project seems to go OK (as per Eran's suggestions). Compiler recognises the libraries for…
tony.jay
  • 21
  • 1
  • 5
2
votes
1 answer

Project in Codelite not compiling

I am using Codelite 5.3 on Windows 7. I created a new workspace and added a new project in it. But when I try tobuild the project, Codelite is not compiling and ends with the Build Message: C:\Windows\system32\cmd.exe;C:\GnuWin32\bin;C:\Program…
Shakib Ahmed
  • 781
  • 2
  • 10
  • 24
2
votes
1 answer

Debugging in Codelite (Ubuntu 12.04)

I installed codelite (v4.1.5770) in Ubuntu 12.04. I find that it cannot build correctly, when the program has errors. It reports them in the process of building, but finally when is finished building, it outputs the message that there is no…
CLS
  • 131
  • 9
2
votes
1 answer

Debug session freezes when trying to watch an array

I am using ubuntu 12.04. I have used so far anjuta and codelite as IDE's for C++ school projects. However, with both of them I have encountered one problem: After starting the debugger, everything works fine till I try to add an array at watches'…
Popa Mihai
  • 21
  • 4
1 2
3
19 20