How to use with Codeblocks on Ubuntu Linux; Error with Project Generator

Hello. I am new to using both CodeBlocks and OpenFrameworks, but I have to use the two together since my college class requires it. I am using 0.8.4 since it is one of the last to work with CodeBlocks.

I installed the deps and built it, but I was unable to build PG (and I’m not sure what it does) and I do not know how to integrate or use this with Codeblocks, which is exacerbated by the fact I don’t know much about that either.

[details=PG Compilation Error]rdragonrydr@rdragonrydr:~$ cd openFrameworks/scripts/linux/
rdragonrydr@rdragonrydr:~/openFrameworks/scripts/linux$ ./co
codeblocks_wizard/ compileOF.sh compilePG.sh
rdragonrydr@rdragonrydr:~/openFrameworks/scripts/linux$ ./co
codeblocks_wizard/ compileOF.sh compilePG.sh
rdragonrydr@rdragonrydr:~/openFrameworks/scripts/linux$ ./compilePG.sh
checking pkg-config libraries: cairo zlib gstreamer-app-1.0 gstreamer-1.0 gstreamer-video-1.0 gstreamer-base-1.0 libudev freetype2 fontconfig sndfile openal openssl libpulse-simple alsa gl glu glew gtk±3.0
Compiling OF library for Release
make[1]: Entering directory ‘/home/rdragonrydr/openFrameworks/libs/openFrameworksCompiled/project’
checking pkg-config libraries: cairo zlib gstreamer-app-1.0 gstreamer-1.0 gstreamer-video-1.0 gstreamer-base-1.0 libudev freetype2 fontconfig sndfile openal openssl libpulse-simple alsa gl glu glew gtk±3.0
checking pkg-config libraries: cairo zlib gstreamer-app-1.0 gstreamer-1.0 gstreamer-video-1.0 gstreamer-base-1.0 libudev freetype2 fontconfig sndfile openal openssl libpulse-simple alsa gl glu glew gtk±3.0
make[2]: Nothing to be done for ‘ReleaseABI’.
checking pkg-config libraries: cairo zlib gstreamer-app-1.0 gstreamer-1.0 gstreamer-video-1.0 gstreamer-base-1.0 libudev freetype2 fontconfig sndfile openal openssl libpulse-simple alsa gl glu glew gtk±3.0
Done!
make[1]: Leaving directory ‘/home/rdragonrydr/openFrameworks/libs/openFrameworksCompiled/project’

Compiling projectGeneratorSimple for Release
make[1]: Entering directory ‘/home/rdragonrydr/openFrameworks/apps/projectGenerator/projectGeneratorSimple’
checking pkg-config libraries: cairo zlib gstreamer-app-1.0 gstreamer-1.0 gstreamer-video-1.0 gstreamer-base-1.0 libudev freetype2 fontconfig sndfile openal openssl libpulse-simple alsa gl glu glew gtk±3.0
Compiling src/main.cpp
g++ -c -O3 -Wall -march=native -mtune=native -DOF_USING_GTK -Isrc -Isrc/addons -Isrc/pugixmlLib -Isrc/pugixmlLib/contrib -Isrc/pugixmlLib/lib -Isrc/pugixmlLib/scripts -Isrc/pugixmlLib/scripts/pugixml.xcodeproj -Isrc/pugixmlLib/src -Isrc/utils -Isrc/projects -I./src -I./src/addons -I./src/pugixmlLib -I./src/pugixmlLib/contrib -I./src/pugixmlLib/lib -I./src/pugixmlLib/scripts -I./src/pugixmlLib/src -I./src/utils -I./src/projects -I…/…/…/addons/ofxGui/src -I…/…/…/addons/ofxXmlSettings/src -I…/…/…/addons/ofxXmlSettings/libs -D_REENTRANT -pthread -I/usr/include/gstreamer-1.0 -I/usr/lib/x86_64-linux-gnu/gstreamer-1.0/include -I/usr/include/AL -I/usr/include/alsa -I/usr/include/libdrm -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/mirclient -I/usr/include/mircommon -I/usr/include/mircookie -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I…/…/…/libs/fmodex/include -I…/…/…/libs/glfw/include -I…/…/…/libs/glfw/include/GLFW -I…/…/…/libs/kiss/include -I…/…/…/libs/openssl/include -I…/…/…/libs/openssl/include/openssl -I…/…/…/libs/poco/include -I…/…/…/libs/rtAudio/include -I…/…/…/libs/tess2/include -I…/…/…/libs/openFrameworks -I…/…/…/libs/openFrameworks/gl -I…/…/…/libs/openFrameworks/sound -I…/…/…/libs/openFrameworks/math -I…/…/…/libs/openFrameworks/3d -I…/…/…/libs/openFrameworks/video -I…/…/…/libs/openFrameworks/graphics -I…/…/…/libs/openFrameworks/communication -I…/…/…/libs/openFrameworks/utils -I…/…/…/libs/openFrameworks/app -I…/…/…/libs/openFrameworks/events -I…/…/…/libs/openFrameworks/types -MMD -MP -MF obj/linux64/Release/src/main.d -MT obj/linux64/Release/src/main.o -o obj/linux64/Release/src/main.o -c src/main.cpp
In file included from src/projects/CBLinuxProject.h:12:0,
from src/testApp.h:6,
from src/main.cpp:2:
src/pugixmlLib/src/pugixml.hpp:97:10: error: reference to ‘basic_string’ is ambiguous
typedef std::basic_string<PUGIXML_CHAR, std::char_traits<PUGIXML_CHAR>, std::a
^
In file included from src/projects/CBLinuxProject.h:12:0,
from src/testApp.h:6,
from src/main.cpp:2:
src/pugixmlLib/src/pugixml.hpp:37:57: note: candidates are: template<class _Elem, class _Traits, class _Ax> class std::basic_string
template <class _Elem, class _Traits, class _Ax> class basic_string;
^
In file included from /usr/include/c++/5/string:39:0,
from …/…/…/libs/openFrameworks/utils/ofConstants.h:347,
from …/…/…/libs/openFrameworks/ofMain.h:5,
from src/main.cpp:1:
/usr/include/c++/5/bits/stringfwd.h:71:11: note: template<class _CharT, class _Traits, class _Alloc> class std::__cxx11::basic_string
class basic_string;
^
In file included from src/projects/CBLinuxProject.h:12:0,
from src/testApp.h:6,
from src/main.cpp:2:
src/pugixmlLib/src/pugixml.hpp:505:3: error: ‘string_t’ does not name a type
string_t path(char_t delimiter = ‘/’) const;
^
src/pugixmlLib/src/pugixml.hpp:918:3: error: ‘string_t’ does not name a type
string_t evaluate_string(const xpath_node& n) const;
^
src/pugixmlLib/src/pugixml.hpp:1066:2: error: reference to ‘basic_string’ is ambiguous
std::basic_string<char, std::char_traits, std::allocator > PUGIXML
^
In file included from src/projects/CBLinuxProject.h:12:0,
from src/testApp.h:6,
from src/main.cpp:2:
src/pugixmlLib/src/pugixml.hpp:37:57: note: candidates are: template<class _Elem, class _Traits, class _Ax> class std::basic_string
template <class _Elem, class _Traits, class _Ax> class basic_string;
^
In file included from /usr/include/c++/5/string:39:0,
from …/…/…/libs/openFrameworks/utils/ofConstants.h:347,
from …/…/…/libs/openFrameworks/ofMain.h:5,
from src/main.cpp:1:
/usr/include/c++/5/bits/stringfwd.h:71:11: note: template<class _CharT, class _Traits, class _Alloc> class std::__cxx11::basic_string
class basic_string;
^
In file included from src/projects/CBLinuxProject.h:12:0,
from src/testApp.h:6,
from src/main.cpp:2:
src/pugixmlLib/src/pugixml.hpp:1067:2: error: reference to ‘basic_string’ is ambiguous
std::basic_string<char, std::char_traits, std::allocator > PUGIXML
^
In file included from src/projects/CBLinuxProject.h:12:0,
from src/testApp.h:6,
from src/main.cpp:2:
src/pugixmlLib/src/pugixml.hpp:37:57: note: candidates are: template<class _Elem, class _Traits, class _Ax> class std::basic_string
template <class _Elem, class _Traits, class _Ax> class basic_string;
^
In file included from /usr/include/c++/5/string:39:0,
from …/…/…/libs/openFrameworks/utils/ofConstants.h:347,
from …/…/…/libs/openFrameworks/ofMain.h:5,
from src/main.cpp:1:
/usr/include/c++/5/bits/stringfwd.h:71:11: note: template<class _CharT, class _Traits, class _Alloc> class std::__cxx11::basic_string
class basic_string;
^
In file included from src/projects/CBLinuxProject.h:12:0,
from src/testApp.h:6,
from src/main.cpp:2:
src/pugixmlLib/src/pugixml.hpp:1070:2: error: reference to ‘basic_string’ is ambiguous
std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t>
^
In file included from src/projects/CBLinuxProject.h:12:0,
from src/testApp.h:6,
from src/main.cpp:2:
src/pugixmlLib/src/pugixml.hpp:37:57: note: candidates are: template<class _Elem, class _Traits, class _Ax> class std::basic_string
template <class _Elem, class _Traits, class _Ax> class basic_string;
^
In file included from /usr/include/c++/5/string:39:0,
from …/…/…/libs/openFrameworks/utils/ofConstants.h:347,
from …/…/…/libs/openFrameworks/ofMain.h:5,
from src/main.cpp:1:
/usr/include/c++/5/bits/stringfwd.h:71:11: note: template<class _CharT, class _Traits, class _Alloc> class std::__cxx11::basic_string
class basic_string;
^
In file included from src/projects/CBLinuxProject.h:12:0,
from src/testApp.h:6,
from src/main.cpp:2:
src/pugixmlLib/src/pugixml.hpp:1071:2: error: reference to ‘basic_string’ is ambiguous
std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t>
^
In file included from src/projects/CBLinuxProject.h:12:0,
from src/testApp.h:6,
from src/main.cpp:2:
src/pugixmlLib/src/pugixml.hpp:37:57: note: candidates are: template<class _Elem, class _Traits, class _Ax> class std::basic_string
template <class _Elem, class _Traits, class _Ax> class basic_string;
^
In file included from /usr/include/c++/5/string:39:0,
from …/…/…/libs/openFrameworks/utils/ofConstants.h:347,
from …/…/…/libs/openFrameworks/ofMain.h:5,
from src/main.cpp:1:
/usr/include/c++/5/bits/stringfwd.h:71:11: note: template<class _CharT, class _Traits, class _Alloc> class std::__cxx11::basic_string
class basic_string;
^
In file included from src/testApp.h:15:0,
from src/main.cpp:2:
src/textButton.h: In member function ‘void textButton::setText(std::__cxx11::string)’:
src/textButton.h:52:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < breakUp.size(); i++){
^
src/textButton.h:54:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (i != breakUp.size() -1) text += deliminater;
^
src/textButton.h: In member function ‘void textButton::draw()’:
src/textButton.h:133:23: warning: unused variable ‘h’ [-Wunused-variable]
float h = rectString.height;
^
…/…/…/libs/openFrameworksCompiled/project/makefileCommon/compile.project.mk:191: recipe for target ‘obj/linux64/Release/src/main.o’ failed
make[1]: *** [obj/linux64/Release/src/main.o] Error 1
make[1]: Leaving directory ‘/home/rdragonrydr/openFrameworks/apps/projectGenerator/projectGeneratorSimple’
…/…/…/libs/openFrameworksCompiled/project/makefileCommon/compile.project.mk:126: recipe for target ‘Release’ failed
make: *** [Release] Error 2
there has been a problem compiling the projectGenerator
please report this problem in the forums
rdragonrydr@rdragonrydr:~/openFrameworks/scripts/linux$ [/details]

I was having problems with Poco as well, but I was able to install the libraries from V0.9.8 fail compiling poco which seems to have helped. I can open the examples in Codeblocks, but I don’t know how to make a new project using OF. I tried installing the wizard for it, but that just caused C::B to hang when I went to new>project. How do I make a new project with OF? Do I just #include some sort of library (and how do I get that into CodeBlocks’ search path)?