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

Building the examples: Fatal error: ofConstants.h: No such file or directory

$
0
0

I have already built the Project Generator and downloaded the external dependencies.
In the OF/ root, I ran:
➜ projectGenerator -r -o"." examples

This takes roughly 1.5 seconds. Is this suspiciously quick?
When I run make in any example directory, I get the following error:

/openFrameworks/./libs/openFrameworks/ofMain.h:6:10: fatal error: ofConstants.h: No such file or directory
** 6 | #include “ofConstants.h”**
** | ^~~~~~~~~~~~~~~compilation terminated.**

This file exists:
~/openFrameworks/examples/math/noiseField2dExample
➜ locate ofConstants.h
/home/eamoc/openFrameworks/libs/openFrameworks/utils/ofConstants.h

My spider sense tells me that this problem will continue for all include files, so hardcoding them all is not the answer…

I initially posted this under ‘beginners’, but I have reposted it as a bug, as I installed everything as directed and the problem persists…

2 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 636

Trending Articles