Compiling of 0.9.3 with msys2 fails on windows 7

#1

hi friends,
I downloaded from scratch latest qt creator so far (4.0.1), of for QtCreator/msys2 (0.9.3) and msys2 (msys2-x86_64-20160205) and installed everything following the instructions here

Unfortunately when I get to the step where of should build it fails:

Davide@iMac27-Win MSYS /e/openframeworks/of_v0.9.3_msys2_release/libs/openFrameworksCompiled/project $ make HOST_OS=MSYS_NT-6.1 checking pkg-config libraries: cairo zlib openssl glew HOST_OS=MSYS_NT-6.1 checking pkg-config libraries: cairo zlib openssl glew HOST_OS=MSYS_NT-6.1 checking pkg-config libraries: cairo zlib openssl glew Compiling /e/openframeworks/of_v0.9.3_msys2_release/libs/openFrameworks/3d/of3dPrimitives.cpp /mingw32/bin/g++ -g3 -std=gnu++14 -DUNICODE -D_UNICODE -Wall -fexceptions -DPOCO_STATIC -mms-bitfields -IC:/msys64/mingw32/include/cairo -IC:/msys64/mingw32/include/pixman-1 -IC:/msys64/mingw32/include -IC:/msys64/mingw32/include/freetype2 -IC:/msys64/mingw32/include/libpng16 -IC:/msys64/mingw32/include/harfbuzz -IC:/msys64/mingw32/include/glib-2.0 -IC:/msys64/mingw32/lib/glib-2.0/include -IC:/msys64/mingw32/include -IC:/msys64/mingw32/include/freetype2 -IC:/msys64/mingw32/include -IC:/msys64/mingw32/include/harfbuzz -IC:/msys64/mingw32/include/glib-2.0 -IC:/msys64/mingw32/lib/glib-2.0/include -IC:/msys64/mingw32/include -IC:/msys64/mingw32/include/libpng16 -IC:/msys64/mingw32/include -I/e/openframeworks/of_v0.9.3_msys2_release/libs/fmodex/include -I/e/openframeworks/of_v0.9.3_msys2_release/libs/glfw/include -I/e/openframeworks/of_v0.9.3_msys2_release/libs/glfw/include/GLFW -I/e/openframeworks/of_v0.9.3_msys2_release/libs/glu/include -I/e/openframeworks/of_v0.9.3_msys2_release/libs/rtAudio/include -I/e/openframeworks/of_v0.9.3_msys2_release/libs/tess2/include -I/e/openframeworks/of_v0.9.3_msys2_release/libs/utf8cpp/include -I/e/openframeworks/of_v0.9.3_msys2_release/libs/utf8cpp/include/utf8 -I/e/openframeworks/of_v0.9.3_msys2_release/libs/videoInput/include -I/e/openframeworks/of_v0.9.3_msys2_release/libs/openFrameworks -I/e/openframeworks/of_v0.9.3_msys2_release/libs/openFrameworks/3d -I/e/openframeworks/of_v0.9.3_msys2_release/libs/openFrameworks/app -I/e/openframeworks/of_v0.9.3_msys2_release/libs/openFrameworks/communication -I/e/openframeworks/of_v0.9.3_msys2_release/libs/openFrameworks/events -I/e/openframeworks/of_v0.9.3_msys2_release/libs/openFrameworks/gl -I/e/openframeworks/of_v0.9.3_msys2_release/libs/openFrameworks/graphics -I/e/openframeworks/of_v0.9.3_msys2_release/libs/openFrameworks/math -I/e/openframeworks/of_v0.9.3_msys2_release/libs/openFrameworks/sound -I/e/openframeworks/of_v0.9.3_msys2_release/libs/openFrameworks/types -I/e/openframeworks/of_v0.9.3_msys2_release/libs/openFrameworks/utils -I/e/openframeworks/of_v0.9.3_msys2_release/libs/openFrameworks/video -DDEBUG -MMD -MP -MF /e/openframeworks/of_v0.9.3_msys2_release/libs/openFrameworksCompiled/lib/msys2/obj/Debug/libs/openFrameworks/3d/of3dPrimitives.d -MT/e/openframeworks/of_v0.9.3_msys2_release/libs/openFrameworksCompiled/lib/msys2/obj/Debug/libs/openFrameworks/3d/of3dPrimitives.o -o /e/openframeworks/of_v0.9.3_msys2_release/libs/openFrameworksCompiled/lib/msys2/obj/Debug/libs/openFrameworks/3d/of3dPrimitives.o -c /e/openframeworks/of_v0.9.3_msys2_release/libs/openFrameworks/3d/of3dPrimitives.cpp make[2]: *** [makefileCommon/compile.core.mk:241: /e/openframeworks/of_v0.9.3_msys2_release/libs/openFrameworksCompiled/lib/msys2/obj/Debug/libs/openFrameworks/3d/of3dPrimitives.o] Error 1 make[1]: *** [makefileCommon/compile.core.mk:213: Debug] Error 2 make: *** [makefileCommon/compile.core.mk:229: all] Error 2
I tried searching the forum but couldn’t find anything related to this error. Any hints?

thanks
Davide

PS it seems that it’s not possible to download older of releases, the website just timeouts :frowning:

1 Like
#2

Hi,

I had to work on Windows last week and had exactly the same issue,

I’m not sure it’ll work but you could have a look at this thread OF 0.9.3: Error compiling OF on Windows

#3

Hi,

Are you compiling from Qt Creator or directly from a MSYS2/MINGW32 shell ?

#4

I tried to compile from the shell, following the instructions provided.

#5

Can you try to do ‘make clean’ and then ‘make’ again. ?
I think ‘make’ does a ‘release’ compilation and I see some ‘Debug’ in your logs. That could be the reason.

#6

Done, but it gives exactly the same error. Let me know if I can help to debug this in some other way.

#7

Oops. I should have notice it…
From the logs, I see you are running a MSYS shell (HOST_OS=MSYS_NT) and not an MINGW32 shell (HOST_OS=MINGW32_NT).
Make sure you run “mingw32_shell.bat” and not msys2_shell.bat.

#8

Well, this is weird. Msys installer and update did not give any error, but there are no *_shell.bat anywhere in my installation. The links are there (in the start menu) but they fail to load anything. In order to activate the shell I had to run msys2_shell.cmd

I’ll try to investigate why this is happening, and eventually do a clean reinstall of msys2…

#9

May be you can try to set the MSYSTEM environment variable to MINGW32
From the MSYS shell, type

‘export MSYSTEM=MINGW32’

You should now have a MINGW32 shell…

#10

Unfortunately this has no effect too:

Davide@iMac27-Win MINGW32 /e/openframeworks/of_v0.9.3_msys2_release/libs/openFrameworksCompiled/project
$ make
HOST_OS=MINGW32_NT-6.1
checking pkg-config libraries:   cairo zlib openssl glew
HOST_OS=MINGW32_NT-6.1
checking pkg-config libraries:   cairo zlib openssl glew
HOST_OS=MINGW32_NT-6.1
checking pkg-config libraries:   cairo zlib openssl glew
cat: /e/openframeworks/of_v0.9.3_msys2_release/libs/openFrameworksCompiled/lib/msys2/obj/Debug/.compiler_flags: No such file or directory
Compiling /e/openframeworks/of_v0.9.3_msys2_release/libs/openFrameworks/3d/of3dPrimitives.cpp
/mingw32/bin/g++ -g3  -std=gnu++14 -DUNICODE -D_UNICODE -Wall -fexceptions -DPOCO_STATIC -mms-bitfields -IC:/msys64/mingw32/include/cairo -IC:/msys64/mingw32/include/pixman-1 -IC:/msys64/mingw32/include -IC:/msys64/mingw32/include/freetype2 -IC:/msys64/mingw32/include/libpng16 -IC:/msys64/mingw32/include/harfbuzz -IC:/msys64/mingw32/include/glib-2.0 -IC:/msys64/mingw32/lib/glib-2.0/include -IC:/msys64/mingw32/include -IC:/msys64/mingw32/include/freetype2 -IC:/msys64/mingw32/include -IC:/msys64/mingw32/include/harfbuzz -IC:/msys64/mingw32/include/glib-2.0 -IC:/msys64/mingw32/lib/glib-2.0/include -IC:/msys64/mingw32/include -IC:/msys64/mingw32/include/libpng16 -IC:/msys64/mingw32/include -I/e/openframeworks/of_v0.9.3_msys2_release/libs/fmodex/include -I/e/openframeworks/of_v0.9.3_msys2_release/libs/glfw/include -I/e/openframeworks/of_v0.9.3_msys2_release/libs/glfw/include/GLFW -I/e/openframeworks/of_v0.9.3_msys2_release/libs/glu/include -I/e/openframeworks/of_v0.9.3_msys2_release/libs/rtAudio/include -I/e/openframeworks/of_v0.9.3_msys2_release/libs/tess2/include -I/e/openframeworks/of_v0.9.3_msys2_release/libs/utf8cpp/include -I/e/openframeworks/of_v0.9.3_msys2_release/libs/utf8cpp/include/utf8 -I/e/openframeworks/of_v0.9.3_msys2_release/libs/videoInput/include -I/e/openframeworks/of_v0.9.3_msys2_release/libs/openFrameworks -I/e/openframeworks/of_v0.9.3_msys2_release/libs/openFrameworks/3d -I/e/openframeworks/of_v0.9.3_msys2_release/libs/openFrameworks/app -I/e/openframeworks/of_v0.9.3_msys2_release/libs/openFrameworks/communication -I/e/openframeworks/of_v0.9.3_msys2_release/libs/openFrameworks/events -I/e/openframeworks/of_v0.9.3_msys2_release/libs/openFrameworks/gl -I/e/openframeworks/of_v0.9.3_msys2_release/libs/openFrameworks/graphics -I/e/openframeworks/of_v0.9.3_msys2_release/libs/openFrameworks/math -I/e/openframeworks/of_v0.9.3_msys2_release/libs/openFrameworks/sound -I/e/openframeworks/of_v0.9.3_msys2_release/libs/openFrameworks/types -I/e/openframeworks/of_v0.9.3_msys2_release/libs/openFrameworks/utils -I/e/openframeworks/of_v0.9.3_msys2_release/libs/openFrameworks/video -DDEBUG  -MMD -MP -MF /e/openframeworks/of_v0.9.3_msys2_release/libs/openFrameworksCompiled/lib/msys2/obj/Debug/libs/openFrameworks/3d/of3dPrimitives.d -MT/e/openframeworks/of_v0.9.3_msys2_release/libs/openFrameworksCompiled/lib/msys2/obj/Debug/libs/openFrameworks/3d/of3dPrimitives.o -o /e/openframeworks/of_v0.9.3_msys2_release/libs/openFrameworksCompiled/lib/msys2/obj/Debug/libs/openFrameworks/3d/of3dPrimitives.o -c /e/openframeworks/of_v0.9.3_msys2_release/libs/openFrameworks/3d/of3dPrimitives.cpp
make[2]: *** [makefileCommon/compile.core.mk:241: /e/openframeworks/of_v0.9.3_msys2_release/libs/openFrameworksCompiled/lib/msys2/obj/Debug/libs/openFrameworks/3d/of3dPrimitives.o] Error 1
make[1]: *** [makefileCommon/compile.core.mk:213: Debug] Error 2
make: *** [makefileCommon/compile.core.mk:229: all] Error 2
#11

The problem seems to be that the g++ command that is failing.
Can you try to run it alone and check the result.

/mingw32/bin/g++ -g3  -std=gnu++14 -DUNICODE -D_UNICODE -Wall -fexceptions -DPOCO_STATIC -mms-bitfields -IC:/msys64/mingw32/include/cairo -IC:/msys64/mingw32/include/pixman-1 -IC:/msys64/mingw32/include -IC:/msys64/mingw32/include/freetype2 -IC:/msys64/mingw32/include/libpng16 -IC:/msys64/mingw32/include/harfbuzz -IC:/msys64/mingw32/include/glib-2.0 -IC:/msys64/mingw32/lib/glib-2.0/include -IC:/msys64/mingw32/include -IC:/msys64/mingw32/include/freetype2 -IC:/msys64/mingw32/include -IC:/msys64/mingw32/include/harfbuzz -IC:/msys64/mingw32/include/glib-2.0 -IC:/msys64/mingw32/lib/glib-2.0/include -IC:/msys64/mingw32/include -IC:/msys64/mingw32/include/libpng16 -IC:/msys64/mingw32/include -I/e/openframeworks/of_v0.9.3_msys2_release/libs/fmodex/include -I/e/openframeworks/of_v0.9.3_msys2_release/libs/glfw/include -I/e/openframeworks/of_v0.9.3_msys2_release/libs/glfw/include/GLFW -I/e/openframeworks/of_v0.9.3_msys2_release/libs/glu/include -I/e/openframeworks/of_v0.9.3_msys2_release/libs/rtAudio/include -I/e/openframeworks/of_v0.9.3_msys2_release/libs/tess2/include -I/e/openframeworks/of_v0.9.3_msys2_release/libs/utf8cpp/include -I/e/openframeworks/of_v0.9.3_msys2_release/libs/utf8cpp/include/utf8 -I/e/openframeworks/of_v0.9.3_msys2_release/libs/videoInput/include -I/e/openframeworks/of_v0.9.3_msys2_release/libs/openFrameworks -I/e/openframeworks/of_v0.9.3_msys2_release/libs/openFrameworks/3d -I/e/openframeworks/of_v0.9.3_msys2_release/libs/openFrameworks/app -I/e/openframeworks/of_v0.9.3_msys2_release/libs/openFrameworks/communication -I/e/openframeworks/of_v0.9.3_msys2_release/libs/openFrameworks/events -I/e/openframeworks/of_v0.9.3_msys2_release/libs/openFrameworks/gl -I/e/openframeworks/of_v0.9.3_msys2_release/libs/openFrameworks/graphics -I/e/openframeworks/of_v0.9.3_msys2_release/libs/openFrameworks/math -I/e/openframeworks/of_v0.9.3_msys2_release/libs/openFrameworks/sound -I/e/openframeworks/of_v0.9.3_msys2_release/libs/openFrameworks/types -I/e/openframeworks/of_v0.9.3_msys2_release/libs/openFrameworks/utils -I/e/openframeworks/of_v0.9.3_msys2_release/libs/openFrameworks/video -DDEBUG  -MMD -MP -MF /e/openframeworks/of_v0.9.3_msys2_release/libs/openFrameworksCompiled/lib/msys2/obj/Debug/libs/openFrameworks/3d/of3dPrimitives.d -MT/e/openframeworks/of_v0.9.3_msys2_release/libs/openFrameworksCompiled/lib/msys2/obj/Debug/libs/openFrameworks/3d/of3dPrimitives.o -o /e/openframeworks/of_v0.9.3_msys2_release/libs/openFrameworksCompiled/lib/msys2/obj/Debug/libs/openFrameworks/3d/of3dPrimitives.o -c /e/openframeworks/of_v0.9.3_msys2_release/libs/openFrameworks/3d/of3dPrimitives.cpp
#12

Hi,
I have exactly the same error here :

make[1]: *** [makefileCommon/compile.core.mk:241: /c/of_v0.9.3_msys2_release/libs/openFrameworksCompiled/lib/msys2/obj/Release/libs/openFrameworks/3d/of3dPrimitives.o] Error 1
make: *** [makefileCommon/compile.core.mk:205: Release] Error 2

I try to run the g++ command alone :
$ /mingw32/bin/g++ -Os -DNDEBUG -std=gnu++14 -DUNICODE -D_UNICODE -Wall -fexceptions -march=native -mtune=native -DPOCO_STATIC -mms-bitfields -IC:/msys64/mingw32/include/cairo -IC:/msys64/mingw32/include/pixman-1 -IC:/msys64/mingw32/include -IC:/msys64/mingw32/include/freetype2 -IC:/msys64/mingw32/include/libpng16 -IC:/msys64/mingw32/include/harfbuzz -IC:/msys64/mingw32/include/glib-2.0 -IC:/msys64/mingw32/lib/glib-2.0/include -IC:/msys64/mingw32/include -IC:/msys64/mingw32/include/freetype2 -IC:/msys64/mingw32/include -IC:/msys64/mingw32/include/harfbuzz -IC:/msys64/mingw32/include/glib-2.0 -IC:/msys64/mingw32/lib/glib-2.0/include -IC:/msys64/mingw32/include -IC:/msys64/mingw32/include/libpng16 -IC:/msys64/mingw32/include -I/c/of_v0.9.3_msys2_release/libs/fmodex/include -I/c/of_v0.9.3_msys2_release/libs/glfw/include -I/c/of_v0.9.3_msys2_release/libs/glfw/include/GLFW -I/c/of_v0.9.3_msys2_release/libs/glu/include -I/c/of_v0.9.3_msys2_release/libs/rtAudio/include -I/c/of_v0.9.3_msys2_release/libs/tess2/include -I/c/of_v0.9.3_msys2_release/libs/utf8cpp/include -I/c/of_v0.9.3_msys2_release/libs/utf8cpp/include/utf8 -I/c/of_v0.9.3_msys2_release/libs/videoInput/include -I/c/of_v0.9.3_msys2_release/libs/openFrameworks -I/c/of_v0.9.3_msys2_release/libs/openFrameworks/3d -I/c/of_v0.9.3_msys2_release/libs/openFrameworks/app -I/c/of_v0.9.3_msys2_release/libs/openFrameworks/communication -I/c/of_v0.9.3_msys2_release/libs/openFrameworks/events -I/c/of_v0.9.3_msys2_release/libs/openFrameworks/gl -I/c/of_v0.9.3_msys2_release/libs/openFrameworks/graphics -I/c/of_v0.9.3_msys2_release/libs/openFrameworks/math -I/c/of_v0.9.3_msys2_release/libs/openFrameworks/sound -I/c/of_v0.9.3_msys2_release/libs/openFrameworks/types -I/c/of_v0.9.3_msys2_release/libs/openFrameworks/utils -I/c/of_v0.9.3_msys2_release/libs/openFrameworks/video -MMD -MP -MF /c/of_v0.9.3_msys2_release/libs/openFrameworksCompiled/lib/msys2/obj/Release/libs/openFrameworks/3d/of3dPrimitives.d -MT/c/of_v0.9.3_msys2_release/libs/openFrameworksCompiled/lib/msys2/obj/Release/libs/openFrameworks/3d/of3dPrimitives.o -o /c/of_v0.9.3_msys2_release/libs/openFrameworksCompiled/lib/msys2/obj/Release/libs/openFrameworks/3d/of3dPrimitives.o -c /c/of_v0.9.3_msys2_release/libs/openFrameworks/3d/of3dPrimitives.cpp

But nothing happened : no error, but still nothing compiled.

I tryed to compiled in debug mode, I don’t know if that can help you to understand the problem :
https://www.dropbox.com/s/e5n5hblhr44husz/make_of_in_debug_mode.txt?dl=0

On my other computer, everything work fine. I try to install of on this one to find a solution of this problem :
https://forum.openframeworks.cc/t/crash-on-ofcreatewindow-settings/24439

Thanks for your great work and any help :slight_smile:

Marion

#13

Hello Marion,

I’ve faced this problem in the past when trying to use QtCreator and going back to the command line.
If I remember well, I’ve just deleted everything in (YourOFDirectory)/libs/openFrameworksCompiled/lib/msys2.

#14

Hi Oxillo,
Thanks for your help, but it didn’t work.
I also tried to do the installation guide from the beginning, but no luck.
Then I tried to compile from Qt Creator :

building openFrameworks library
c:/msys64/usr/bin/make.exe Debug
 FIND: Parameter format not correct
 FIND: Parameter format not correct
make[1]: *** [makefileCommon/compile.core.mk:245: /c/of_v0.9.3_msys2_release/libs/openFrameworksCompiled/lib/msys2/obj/Debug/libs/openFrameworks/3d/of3dPrimitives.o] Error 1
make: *** [makefileCommon/compile.core.mk:217: Debug] Error 2
HOST_OS=MSYS_NT-10.0
checking pkg-config libraries:   cairo zlib openssl glew 
HOST_OS=MSYS_NT-10.0
checking pkg-config libraries:   cairo zlib openssl glew 
Compiling /c/of_v0.9.3_msys2_release/libs/openFrameworks/3d/of3dPrimitives.cpp
/mingw32/bin/g++ -g3  -std=gnu++14 -DUNICODE -D_UNICODE -Wall -fexceptions -march=native -mtune=native -DPOCO_STATIC -mms-bitfields -IC:/msys64/mingw32/include/cairo -IC:/msys64/mingw32/include/pixman-1 -IC:/msys64/mingw32/include -IC:/msys64/mingw32/include/freetype2 -IC:/msys64/mingw32/include/libpng16 -IC:/msys64/mingw32/include/harfbuzz -IC:/msys64/mingw32/include/glib-2.0 -IC:/msys64/mingw32/lib/glib-2.0/include -IC:/msys64/mingw32/include -IC:/msys64/mingw32/include/freetype2 -IC:/msys64/mingw32/include -IC:/msys64/mingw32/include/harfbuzz -IC:/msys64/mingw32/include/glib-2.0 -IC:/msys64/mingw32/lib/glib-2.0/include -IC:/msys64/mingw32/include -IC:/msys64/mingw32/include/libpng16 -IC:/msys64/mingw32/include -I/c/of_v0.9.3_msys2_release/libs/fmodex/include -I/c/of_v0.9.3_msys2_release/libs/glfw/include -I/c/of_v0.9.3_msys2_release/libs/glfw/include/GLFW -I/c/of_v0.9.3_msys2_release/libs/glu/include -I/c/of_v0.9.3_msys2_release/libs/rtAudio/include -I/c/of_v0.9.3_msys2_release/libs/tess2/include -I/c/of_v0.9.3_msys2_release/libs/utf8cpp/include -I/c/of_v0.9.3_msys2_release/libs/utf8cpp/include/utf8 -I/c/of_v0.9.3_msys2_release/libs/videoInput/include -I/c/of_v0.9.3_msys2_release/libs/openFrameworks -I/c/of_v0.9.3_msys2_release/libs/openFrameworks/3d -I/c/of_v0.9.3_msys2_release/libs/openFrameworks/app -I/c/of_v0.9.3_msys2_release/libs/openFrameworks/communication -I/c/of_v0.9.3_msys2_release/libs/openFrameworks/events -I/c/of_v0.9.3_msys2_release/libs/openFrameworks/gl -I/c/of_v0.9.3_msys2_release/libs/openFrameworks/graphics -I/c/of_v0.9.3_msys2_release/libs/openFrameworks/math -I/c/of_v0.9.3_msys2_release/libs/openFrameworks/sound -I/c/of_v0.9.3_msys2_release/libs/openFrameworks/types -I/c/of_v0.9.3_msys2_release/libs/openFrameworks/utils -I/c/of_v0.9.3_msys2_release/libs/openFrameworks/video -DDEBUG  -MMD -MP -MF /c/of_v0.9.3_msys2_release/libs/openFrameworksCompiled/lib/msys2/obj/Debug/libs/openFrameworks/3d/of3dPrimitives.d -MT/c/of_v0.9.3_msys2_release/libs/openFrameworksCompiled/lib/msys2/obj/Debug/libs/openFrameworks/3d/of3dPrimitives.o -o /c/of_v0.9.3_msys2_release/libs/openFrameworksCompiled/lib/msys2/obj/Debug/libs/openFrameworks/3d/of3dPrimitives.o -c /c/of_v0.9.3_msys2_release/libs/openFrameworks/3d/of3dPrimitives.cpp
Process failed with exit code 2.
The following products could not be built for configuration qtc_Desktop_0627dc01-debug:
    openFrameworks
Erreur lors de la compilation/déploiement du projet openFrameworks (kit : Desktop)
When executing step "Compilation Qbs"

The “FIND: Parameter format not correct” line make me think the makefile doesn’t find the good path for execution but the g++ command line seems to be correct…

Thanks again for your help :slight_smile:

Marion

#15

i remember having the find problem while creating the qtcreator project, it comes from the fact that dos also has a find command but it’s syntax is different. the qtcreator project hardcodes the path to msy2 find but in your case it seems to be trying to use the windows one not sure what’s the reason

#16

Hello Marion,

MSYS2 compilation with QtCreator is not working (yet?).
Can you try to compile from the commandline (after cleaning the project as indicated before) to check it’s a QtCreator issue.
If confirmed, can you open an issue on GitHUb ?

Thanks

#17

@arturo thanks, I will search that way. Maybe I can tell qtcreator to use the find cmd I want.

UPDATE : I modified the envinment path in Qt to use the find of msys and not dos. I don’t have the find error anymore, but still the same make error :worried:

@oxillo
Thanks for your help,
I tried with qtcreator because it works on my other computer and I thought maybe it can give me more info on the problem.
I tried from the command line multiple times, I uninstalled qt and qtcreator, delete oF directory and download a clean one (I also tried with master branch) and install msys2 again… But no luck.
I opened an issue : https://github.com/openframeworks/openFrameworks/issues/5271
First time for me, sorry if it’s not the way to do it.

It seems that I have a serious problem with oF and this computer… And it still crash with any openframeworks application…

Thanks for your work and your help :slight_smile:

#18

Hi, I have the exact same problem compiling of 0.10.1 (of_v0.10.1_msys2_release) with msys2-x86_64-20180531 on Windows10.

I followed the instructions, but at the point where we have to compile the openFrameworks project, I get errors, similar to the ones you all were facing:

Serge@DESKTOP-E2S6GBQ MSYS ~/of_v0.10.1_msys2_release/libs/openFrameworksCompiled/project
$ make
HOST_OS=MSYS_NT-10.0
checking pkg-config libraries: cairo zlib openssl glew glfw3 libcurl
with PKG_CONFIG_LIBDIR=
HOST_OS=MSYS_NT-10.0
checking pkg-config libraries: cairo zlib openssl glew glfw3 libcurl
with PKG_CONFIG_LIBDIR=
HOST_OS=MSYS_NT-10.0
checking pkg-config libraries: cairo zlib openssl glew glfw3 libcurl
with PKG_CONFIG_LIBDIR=
cat: /home/Serge/of_v0.10.1_msys2_release/libs/openFrameworksCompiled/lib/msys2/obj/Debug/.compiler_flags: No such file or directory
Compiler flags have changed, recompiling
cat: /home/Serge/of_v0.10.1_msys2_release/libs/openFrameworksCompiled/lib/msys2/obj/Debug/.compiler_flags: No such file or directory
Old:
New -g3 -DDEBUG -std=gnu++14 -DUNICODE -D_UNICODE -Wall -fexceptions -mms-bitfields -IC:/msys64/mingw32/include/cairo -IC:/msys64/mingw32/include -IC:/msys64/mingw32/lib/libffi-3.2.1/include -IC:/msys64/mingw32/include/pixman-1 -IC:/msys64/mingw32/include -IC:/msys64/mingw32/include/freetype2 -IC:/msys64/mingw32/include -IC:/msys64/mingw32/include/harfbuzz -IC:/msys64/mingw32/include/glib-2.0 -IC:/msys64/mingw32/lib/glib-2.0/include -IC:/msys64/mingw32/include -IC:/msys64/mingw32/include/libpng16 -IC:/msys64/mingw32/include -I/home/Serge/of_v0.10.1_msys2_release/libs/fmodex/include -I/home/Serge/of_v0.10.1_msys2_release/libs/glm/include -I/home/Serge/of_v0.10.1_msys2_release/libs/glm/include/glm -I/home/Serge/of_v0.10.1_msys2_release/libs/glm/include/glm/detail -I/home/Serge/of_v0.10.1_msys2_release/libs/glm/include/glm/gtc -I/home/Serge/of_v0.10.1_msys2_release/libs/glm/include/glm/gtx -I/home/Serge/of_v0.10.1_msys2_release/libs/glm/include/glm/simd -I/home/Serge/of_v0.10.1_msys2_release/libs/json/include -I/home/Serge/of_v0.10.1_msys2_release/libs/pugixml/include -I/home/Serge/of_v0.10.1_msys2_release/libs/rtAudio/include -I/home/Serge/of_v0.10.1_msys2_release/libs/tess2/include -I/home/Serge/of_v0.10.1_msys2_release/libs/uriparser/include -I/home/Serge/of_v0.10.1_msys2_release/libs/uriparser/include/uriparser -I/home/Serge/of_v0.10.1_msys2_release/libs/utf8/include -I/home/Serge/of_v0.10.1_msys2_release/libs/utf8/include/utf8 -I/home/Serge/of_v0.10.1_msys2_release/libs/videoInput/include -I/home/Serge/of_v0.10.1_msys2_release/libs/openFrameworks -I/home/Serge/of_v0.10.1_msys2_release/libs/openFrameworks/3d -I/home/Serge/of_v0.10.1_msys2_release/libs/openFrameworks/app -I/home/Serge/of_v0.10.1_msys2_release/libs/openFrameworks/communication -I/home/Serge/of_v0.10.1_msys2_release/libs/openFrameworks/events -I/home/Serge/of_v0.10.1_msys2_release/libs/openFrameworks/gl -I/home/Serge/of_v0.10.1_msys2_release/libs/openFrameworks/graphics -I/home/Serge/of_v0.10.1_msys2_release/libs/openFrameworks/math -I/home/Serge/of_v0.10.1_msys2_release/libs/openFrameworks/sound -I/home/Serge/of_v0.10.1_msys2_release/libs/openFrameworks/types -I/home/Serge/of_v0.10.1_msys2_release/libs/openFrameworks/utils -I/home/Serge/of_v0.10.1_msys2_release/libs/openFrameworks/video
Compiling /home/Serge/of_v0.10.1_msys2_release/libs/openFrameworks/3d/of3dPrimitives.cpp
/mingw32/bin/g++ -g3 -DDEBUG -std=gnu++14 -DUNICODE -D_UNICODE -Wall -fexceptions -mms-bitfields -IC:/msys64/mingw32/include/cairo -IC:/msys64/mingw32/include -IC:/msys64/mingw32/lib/libffi-3.2.1/include -IC:/msys64/mingw32/include/pixman-1 -IC:/msys64/mingw32/include -IC:/msys64/mingw32/include/freetype2 -IC:/msys64/mingw32/include -IC:/msys64/mingw32/include/harfbuzz -IC:/msys64/mingw32/include/glib-2.0 -IC:/msys64/mingw32/lib/glib-2.0/include -IC:/msys64/mingw32/include -IC:/msys64/mingw32/include/libpng16 -IC:/msys64/mingw32/include -I/home/Serge/of_v0.10.1_msys2_release/libs/fmodex/include -I/home/Serge/of_v0.10.1_msys2_release/libs/glm/include -I/home/Serge/of_v0.10.1_msys2_release/libs/glm/include/glm -I/home/Serge/of_v0.10.1_msys2_release/libs/glm/include/glm/detail -I/home/Serge/of_v0.10.1_msys2_release/libs/glm/include/glm/gtc -I/home/Serge/of_v0.10.1_msys2_release/libs/glm/include/glm/gtx -I/home/Serge/of_v0.10.1_msys2_release/libs/glm/include/glm/simd -I/home/Serge/of_v0.10.1_msys2_release/libs/json/include -I/home/Serge/of_v0.10.1_msys2_release/libs/pugixml/include -I/home/Serge/of_v0.10.1_msys2_release/libs/rtAudio/include -I/home/Serge/of_v0.10.1_msys2_release/libs/tess2/include -I/home/Serge/of_v0.10.1_msys2_release/libs/uriparser/include -I/home/Serge/of_v0.10.1_msys2_release/libs/uriparser/include/uriparser -I/home/Serge/of_v0.10.1_msys2_release/libs/utf8/include -I/home/Serge/of_v0.10.1_msys2_release/libs/utf8/include/utf8 -I/home/Serge/of_v0.10.1_msys2_release/libs/videoInput/include -I/home/Serge/of_v0.10.1_msys2_release/libs/openFrameworks -I/home/Serge/of_v0.10.1_msys2_release/libs/openFrameworks/3d -I/home/Serge/of_v0.10.1_msys2_release/libs/openFrameworks/app -I/home/Serge/of_v0.10.1_msys2_release/libs/openFrameworks/communication -I/home/Serge/of_v0.10.1_msys2_release/libs/openFrameworks/events -I/home/Serge/of_v0.10.1_msys2_release/libs/openFrameworks/gl -I/home/Serge/of_v0.10.1_msys2_release/libs/openFrameworks/graphics -I/home/Serge/of_v0.10.1_msys2_release/libs/openFrameworks/math -I/home/Serge/of_v0.10.1_msys2_release/libs/openFrameworks/sound -I/home/Serge/of_v0.10.1_msys2_release/libs/openFrameworks/types -I/home/Serge/of_v0.10.1_msys2_release/libs/openFrameworks/utils -I/home/Serge/of_v0.10.1_msys2_release/libs/openFrameworks/video -MMD -MP -MF /home/Serge/of_v0.10.1_msys2_release/libs/openFrameworksCompiled/lib/msys2/obj/Debug/libs/openFrameworks/3d/of3dPrimitives.d -MT/home/Serge/of_v0.10.1_msys2_release/libs/openFrameworksCompiled/lib/msys2/obj/Debug/libs/openFrameworks/3d/of3dPrimitives.o -o /home/Serge/of_v0.10.1_msys2_release/libs/openFrameworksCompiled/lib/msys2/obj/Debug/libs/openFrameworks/3d/of3dPrimitives.o -c /home/Serge/of_v0.10.1_msys2_release/libs/openFrameworks/3d/of3dPrimitives.cpp
make[2]: *** [makefileCommon/compile.core.mk:240: /home/Serge/of_v0.10.1_msys2_release/libs/openFrameworksCompiled/lib/msys2/obj/Debug/libs/openFrameworks/3d/of3dPrimitives.o] Error 1
make[1]: *** [makefileCommon/compile.core.mk:212: Debug] Error 2
make: *** [makefileCommon/compile.core.mk:228: all] Error 2

Any update on the issue?

#19

Can’t say for the Windows version, but the 0.10.1 for Linux has a bug and the suggestion is to try the nightly build where it has been fixed.

#20

Hello

@semaha :
did you install the dependencies (install_dependencies.sh) ?
can you try to delete the content of $(OF_ROOT)/libs/openFrameworksCompiled/lib/msys2 and run make again ?