Hi.
I am using nightly build v20220622 for msys2 because I could not install version 0.11.2
I couldn’t compiled a project generated by Project Generator
I set the openFramework path: in Project Generator to
C:\openFrameworks\of_v20220622_msys2_mingw64_nightly\of_v20220622_msys2_mingw64_release
but the config.make output by the project generator the path is not correctly
OF_ROOT in the config.make is
OF_ROOT = C:\openFrameworks\of_v20220622_msys2_mingw64_nightly\of_v20220622_msys2_mingw64_release
I was able to compile it by rewriting it as follows
OF_ROOT = /C/openFrameworks/of_v20220622_msys2_mingw64_nightly/of_v20220622_msys2_mingw64_release
How do I get the project generator to work correctly?
Thank you.
theo
June 23, 2022, 4:45pm
#2
Hmmm.
Do the existing examples compile okay for you?
Ping @oxillo
oxillo
June 23, 2022, 8:27pm
#3
I confirm that examples will not compile when I set OF_ROOT as a Windows path (i.e. C:\openFrameworks). However, it compiles fine if I set OF_ROOT as a Linux path (i.e. /c/openFrameworks).
Rewriting the OF_ROOT to a unix path in Makefile solves the problem.
# make sure the the OF_ROOT location is defined
ifndef OF_ROOT
OF_ROOT=$(realpath ../../..)
endif
#Add the following line to Makefile
OF_ROOT:=$(shell cygpath -u $(OF_ROOT))
It is a quick fix.
Can you open an issue so we can work on a more definitive answer ?
1 Like
Thank you, oxillo and theo.
I opened an issue.
opened 11:12AM - 24 Jun 22 UTC
I am using nightly build v20220622 for msys2 because I could not install version… 0.11.2
I couldn’t compiled a project generated by Project Generator
I set the openFramework path: in Project Generator to
`C:\openFrameworks\of_v20220622_msys2_mingw64_nightly\of_v20220622_msys2_mingw64_release
`
but the config.make output by the project generator the path is not correctly
OF_ROOT in the config.make is
`OF_ROOT = C:\openFrameworks\of_v20220622_msys2_mingw64_nightly\of_v20220622_msys2_mingw64_release`
I was able to compile it by rewriting it as follows
`OF_ROOT = /C/openFrameworks/of_v20220622_msys2_mingw64_nightly/of_v20220622_msys2_mingw64_release
`
How do I get the project generator to work correctly?
Thank you.
I’m using it for the first time, is this OK?