Something is terribly wrong with all of this. Nothing works as it should. Everywhere I go, the explanation is a link to the manual, or the wiki (which is just a copy and paste of the manual, gee helpful)...and I follow it but nothing that works is what is written. Let's take boost for example, since that one is asked about most often. I've killed countless hours just trying to access the property tree library only to find out it won't work for what I need, but let's talk about it anyway.
Given the information here, and in the wiki, and in the manual, my boost global variable should be (my install folder is on my desktop...and yes I made sure to build it)
BASE:C:\Users\MyComputer\Desktop\boost_1_7_0
INCLUDE:C:\Users\MyComputer\Desktop\boost_1_7_0\boost
LIB:C:\Users\MyComputer\Desktop\boost_1_7_0\libs
and my build options menu should under search directories be:
compiler tab $(#boost.include)
linker tab $(#boost.lib)
then the include directive
#include <boost\property_tree\ptree.hpp>
BUT THAT DOESN'T WORKIt generates a No such file or directory error.
What actually works for me for property_tree is:
BASE:C:\Users\MyComputer\Desktop\boost_1_7_0\boost
INCLUDE:C:\Users\MyComputer\Desktop\boost_1_7_0
compiler tab $(#boost.include)
linker tab $(#boost.lib)
then #include <boost\property_tree\ptree.hpp>
OR
BASE:C:\Users\MyComputer\Desktop\boost_1_7_0\
INCLUDE:C:\Users\MyComputer\Desktop\boost_1_7_0\boost
compiler tab $(#boost)
linker tab $(#boost.lib)
then #include <boost\property_tree\ptree.hpp>
I KNOW, I KNOW, I KNOW that property tree is header only. Don't get me started on things that need linking to a library and that lib field. I just left it because it works with it there. I'm not going to take it out to see if it still works because I'd bet money that even though it's not needed, it wouldn't work without it.
Then, with other libraries having similar file structures, no combination seems to work at all let alone the combination it's supposed to be, making the manual and the wiki
COMPLETE NONSENSE.
If there's a setting somewhere else that makes this work the way the manual says, please someone tell me. Maybe there's an explanation somewhere other than the manual as to exactly what "BASE" and "INCLUDE" actually mean instead of what they intuitively mean or what the manual says they mean. If there were, it would help me immensely.
In contrast if all someone has to say is, "learn how to use your compiler", "look at the manual", or "do your research", save your breath. I already know it's coming. If you can find an original insult, you might give me a good laugh. I've spent countless hours reading about the compiler, the IDE, the library and every version of the codeblocks manual and copy/paste job to wiki I can find and trying every combination of paths I can just to try to figure out how the damn thing works and in the end there's absolutely no rhyme or reason to it.
