Quantcast
Channel: bugs, errors - openFrameworks
Viewing all articles
Browse latest Browse all 636

Compile errors, building Win/MinGW/CodeBlocks of Nightly v20151016?

$
0
0

@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 a git-bash.exe shell. 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.workspace last listed, so the openFrameworks library can be automatically built on first build of emptyExample. Before I can start building though, I must do this:

mkdir of_v20151016_win_cb_release/libs/openFrameworksCompiled/lib/win_cb

With this in place, I run Build for the emptyExample project 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.h for 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.h

So - what would be the correct procedure, to build this example without the compile error?

Posts: 3

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 636

Trending Articles