@sdaau wrote:
I use CodeBlocks 12.11, but at the moment, I replaced its toolchain executables (compiler) to refer to
mingw-w64\i686-4.9.3-posix-dwarf-rt_v4-rev1\mingw32, which is to say,g++version 4.9.3. Otherwise, I also use agit-bash.exeshell. I tried the following experiment:I looked at the current page http://openframeworks.cc/download/, and got the latest Nightly from there, 16 Oct 2015 version:
wget http://198.61.170.130/versions/nightly/of_v20151016_win_cb_nightly.zip unzip of_v20151016_win_cb_nightly.zip ls of_v20151016_win_cb_release/scripts/templates/win_cb/emptyExample.*Inside CodeBlocks, I open the
emptyExample.workspacelast listed, so the openFrameworks library can be automatically built on first build ofemptyExample. Before I can start building though, I must do this:mkdir of_v20151016_win_cb_release/libs/openFrameworksCompiled/lib/win_cbWith this in place, I run Build for the
emptyExampleproject in CodeBlocks (in Release), which triggers the build of the openFrameworks library - which does not build succesfully, but instead fails with:..\..\..\openFrameworks\utils/ofConstants.h:100:22: fatal error: GL/glew.h: No such file or directory #include "GL/glew.h" ^ compilation terminated.Note that
glew.hfor some reason is not in this release at all - while it used to be in previous Nightly releases:$ find of_v20151016_win_cb_release -iname glew.h $ find of_v20150422_win_cb_release -iname glew.h of_v20150422_win_cb_release/libs/glew/include/GL/glew.hSo - what would be the correct procedure, to build this example without the compile error?
Posts: 3
Participants: 2