On Dec 14, 2007 3:01 PM, Filip Balas
Hi All,
I saw an earlier post that talked about this similar problem, but the only reply did not solve my problem.
I have eclipse 3.2.2, cdt 3.1.1.1
I have to use these versions because I am also using the cell SDK 2.1.
I am getting the error: expected primary-expression before ')' token expected primary-expression before '>' token
The line of code looks like: #include
#include namespace fs = boost::filesystem;
fs::path configPath(fs::initial_pathfs::path());
I have 'boost_filesystem' in my libraries (-l) section in my Linker tab.
I have '/usr/include/boost' in my include paths section (-l) in my compiler & debug options. (this is the right path)
I am wondering if this may be a problem with the version of eclipse/cdt that I'm using, or if someone else has had this problem and knows of a solution?
That's really odd, because the same thing (save for the masking of the namespace) worked for me on MinGW. http://www.dev.fsdev.net/KW/KingdomWars/src/AppLayer/DirectoryTree.cpp Fifth line down. -- Registered Linux Addict #431495 http://profile.xfire.com/mrstalinman John 3:16! If Microsoft is the Wal*Mart of the Software World, then Linux is the Home Depot