Ubuntu 22.04 LTS
Codelite 14.0.0
I am trying to get Codelite installed and working and testing with a basic piece of code, placed in main.cpp of my project.
Code: Select all
#include <iostream>
int main() {
std::cout<<"Hello Testing!"<<std::endl;
return 0;
}
After using Build > Run > Build & Execute...
In Codelite, the Output View > Build output window shows...
Code: Select all
/bin/sh -c '/usr/bin/make -j8 -e -f Makefile'
----------Building project:[ Project1 - Debug ]----------
make[1]: Entering directory '/home/[user]/Documents/FirstWorkspace/Project1'
/usr/bin/i686-w64-mingw32-g++ -c "/home/[user]/Documents/FirstWorkspace/Project1/main.cpp" -g -O0 -std=c++17 -Wall -o /home/[user]/Documents/FirstWorkspace/Project1/main.cpp.o -I. -I.
/usr/bin/i686-w64-mingw32-g++ -o /home/[user]/Documents/FirstWorkspace/Project1 @"Project1.txt" -L. -static
make[1]: Leaving directory '/home/[user]/Documents/FirstWorkspace/Project1'
====0 errors, 0 warnings====
codelite-terminal ouput:
Code: Select all
/bin/bash: line 1: /home/[user]/Documents/FirstWorkspace/Project1: Is a directory.
Hit any key to continue...
Two files, main.cpp.o and main.cpp.o.d, are created in the working directory.
-I can't make sense of this terminal output. Why is /bin/bash relevant?
-Why is Codelite failing without any errors?
I can successfully compile the .cpp and run the output file using the following Terminal commands (run from the project folder):
g++ main.cpp
./a
Terminal Ouput: "Hello Testing!"
I can also successfully run the same code lines from a Netbeans project.
What is going on with Codelite, and how do I get this basic piece of code to run?