C builds, C++ says successful but does nothing
Posted: Sat Jun 04, 2011 6:46 pm
I hated putting this post in here but I could not find anything related to this topic and it was impossible to search for it and get results that are meaningful.
I have a set of C and C++ library projects that build successfully on Windows using Visual Studio.
Now I make the scary leap into Linux as a complete Linux newbie after being spoiled by having 1000s of trivial tasks automatically done for you on Windows.
So I check the web and see CodeLite is one potential means of easing the pain of transition to Linux (its a lot harder for us near-60 year old guys to remember the nitty gritty of all those command line sequences needed on Linux)
So using VirtualBox with Fedora15-64 Gnome 3 on a Win7-64 host I THINK I have successfully installed CodeLite.
Do a git for my library C and C++ source files
Open CodeLite; basic project and workspace constructs looks pretty similar to VS so things are looking good.
Create a workspace and create a new project for a static library. Source code is all C. Compiler is set to gcc and g++.
Go for the build ... and it WORKS!! I get a Linux static library. WHOW! Put together that project in just a few minutes. This looks REALLY great; maybe I can avoid the terror of 'make' and 'autoreconfig' and typing in all those paths and stuff and never getting it right.
Do the same for two more C-based projects with equal success.
Now I do the same for the first C++ based library. Load all the src and header files in the same way, click build, and the result is 'build successful'.
But wait! That took NO time. On Windows that build took more than 2 minutes. So I check, no object files, no library.
NOTHING happened, but successful was reported. WHAT DID I DO WRONG? {There is a lot use std container use like std::vector<> etc. in the C++ code}
I have a set of C and C++ library projects that build successfully on Windows using Visual Studio.
Now I make the scary leap into Linux as a complete Linux newbie after being spoiled by having 1000s of trivial tasks automatically done for you on Windows.
So I check the web and see CodeLite is one potential means of easing the pain of transition to Linux (its a lot harder for us near-60 year old guys to remember the nitty gritty of all those command line sequences needed on Linux)
So using VirtualBox with Fedora15-64 Gnome 3 on a Win7-64 host I THINK I have successfully installed CodeLite.
Do a git for my library C and C++ source files
Open CodeLite; basic project and workspace constructs looks pretty similar to VS so things are looking good.
Create a workspace and create a new project for a static library. Source code is all C. Compiler is set to gcc and g++.
Go for the build ... and it WORKS!! I get a Linux static library. WHOW! Put together that project in just a few minutes. This looks REALLY great; maybe I can avoid the terror of 'make' and 'autoreconfig' and typing in all those paths and stuff and never getting it right.
Do the same for two more C-based projects with equal success.
Now I do the same for the first C++ based library. Load all the src and header files in the same way, click build, and the result is 'build successful'.
But wait! That took NO time. On Windows that build took more than 2 minutes. So I check, no object files, no library.
NOTHING happened, but successful was reported. WHAT DID I DO WRONG? {There is a lot use std container use like std::vector<> etc. in the C++ code}