Can't run of_0.9.3 apps build with QT 5.5 on Windows 7!

Hi,

I’ve been using OF 0.8.4 with Code::Blocks on Windows and I had no problems at all. Now I wanted to switch to the newest OF release and I’ve hit a brick wall:
I can’t run OF apps (even emptyExample) after building them succesfully (at least I think so).
I’ve installed msys2, using QT 5.5.1 with QT creator 3.6.0. The compiler is set to C:\msys64\mingw32\bin.
It’s worth noting that I can build and run plain c++ programs using QT creator and the same compiler settings.
Please help me out, it’s really frustrating!

When I try to run on of the example apps, I get the following message in QT creator’s application console:

Starting C:\of_v0.9.3\examples\3d\3DPrimitivesExample\bin\3DPrimitivesExample.exe…
The program has unexpectedly finished.
C:\of_v0.9.3\examples\3d\3DPrimitivesExample\bin\3DPrimitivesExample.exe crashed

Running the program by double clicking on the .exe file gives me the following message:

I tried to google for libstdc+±6.dll but couldn’t find anything useful.

Building, however, seems to be successful, dispite some warnings.This is my Compile Output:

15:52:38: Running steps for project 3DPrimitivesExample…
building openFrameworks library
copying dynamic libraries
compiling ofApp.cpp
compiling main.cpp
c:/msys64/usr/bin/make.exe Release
FIND: Parameterformat falsch
FIND: Parameterformat falsch
FIND: Parameterformat falsch
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
Creating library /c/of_v0.9.3/libs/openFrameworksCompiled/lib/msys2/libopenFrameworks.a
/mingw32/bin/ar -cr “/c/of_v0.9.3/libs/openFrameworksCompiled/lib/msys2/libopenFrameworks.a” /c/of_v0.9.3/libs/openFrameworksCompiled/lib/msys2/obj/Release/libs/openFrameworks/3d/of3dPrimitives.o /c/of_v0.9.3/libs/openFrameworksCompiled/lib/msys2/obj/Release/libs/openFrameworks/3d/of3dUtils.o /c/of_v0.9.3/libs/openFrameworksCompiled/lib/msys2/obj/Release/libs/openFrameworks/3d/ofCamera.o /c/of_v0.9.3/libs/openFrameworksCompiled/lib/msys2/obj/Release/libs/openFrameworks/3d/ofEasyCam.o /c/of_v0.9.3/libs/openFrameworksCompiled/lib/msys2/obj/Release/libs/openFrameworks/3d/ofMesh.o /c/of_v0.9.3/libs/openFrameworksCompiled/lib/msys2/obj/Release/libs/openFrameworks/3d/ofNode.o /c/of_v0.9.3/libs/openFrameworksCompiled/lib/msys2/obj/Release/libs/openFrameworks/app/ofAppGLFWWindow.o /c/of_v0.9.3/libs/openFrameworksCompiled/lib/msys2/obj/Release/libs/openFrameworks/app/ofAppGlutWindow.o /c/of_v0.9.3/libs/openFrameworksCompiled/lib/msys2/obj/Release/libs/openFrameworks/app/ofAppNoWindow.o /c/of_v0.9.3/libs/openFrameworksCompiled/lib/msys2/obj/Release/libs/openFrameworks/app/ofAppRunner.o /c/of_v0.9.3/libs/openFrameworksCompiled/lib/msys2/obj/Release/libs/openFrameworks/app/ofMainLoop.o /c/of_v0.9.3/libs/openFrameworksCompiled/lib/msys2/obj/Release/libs/openFrameworks/communication/ofArduino.o /c/of_v0.9.3/libs/openFrameworksCompiled/lib/msys2/obj/Release/libs/openFrameworks/communication/ofSerial.o /c/of_v0.9.3/libs/openFrameworksCompiled/lib/msys2/obj/Release/libs/openFrameworks/events/ofEvents.o /c/of_v0.9.3/libs/openFrameworksCompiled/lib/msys2/obj/Release/libs/openFrameworks/gl/ofBufferObject.o /c/of_v0.9.3/libs/openFrameworksCompiled/lib/msys2/obj/Release/libs/openFrameworks/gl/ofFbo.o /c/of_v0.9.3/libs/openFrameworksCompiled/lib/msys2/obj/Release/libs/openFrameworks/gl/ofGLProgrammableRenderer.o /c/of_v0.9.3/libs/openFrameworksCompiled/lib/msys2/obj/Release/libs/openFrameworks/gl/ofGLRenderer.o /c/of_v0.9.3/libs/openFrameworksCompiled/lib/msys2/obj/Release/libs/openFrameworks/gl/ofGLUtils.o /c/of_v0.9.3/libs/openFrameworksCompiled/lib/msys2/obj/Release/libs/openFrameworks/gl/ofLight.o /c/of_v0.9.3/libs/openFrameworksCompiled/lib/msys2/obj/Release/libs/openFrameworks/gl/ofMaterial.o /c/of_v0.9.3/libs/openFrameworksCompiled/lib/msys2/obj/Release/libs/openFrameworks/gl/ofShader.o /c/of_v0.9.3/libs/openFrameworksCompiled/lib/msys2/obj/Release/libs/openFrameworks/gl/ofTexture.o /c/of_v0.9.3/libs/openFrameworksCompiled/lib/msys2/obj/Release/libs/openFrameworks/gl/ofVbo.o /c/of_v0.9.3/libs/openFrameworksCompiled/lib/msys2/obj/Release/libs/openFrameworks/gl/ofVboMesh.o /c/of_v0.9.3/libs/openFrameworksCompiled/lib/msys2/obj/Release/libs/openFrameworks/graphics/of3dGraphics.o /c/of_v0.9.3/libs/openFrameworksCompiled/lib/msys2/obj/Release/libs/openFrameworks/graphics/ofBitmapFont.o /c/of_v0.9.3/libs/openFrameworksCompiled/lib/msys2/obj/Release/libs/openFrameworks/graphics/ofCairoRenderer.o /c/of_v0.9.3/libs/openFrameworksCompiled/lib/msys2/obj/Release/libs/openFrameworks/graphics/ofGraphics.o /c/of_v0.9.3/libs/openFrameworksCompiled/lib/msys2/obj/Release/libs/openFrameworks/graphics/ofImage.o /c/of_v0.9.3/libs/openFrameworksCompiled/lib/msys2/obj/Release/libs/openFrameworks/graphics/ofPath.o /c/of_v0.9.3/libs/openFrameworksCompiled/lib/msys2/obj/Release/libs/openFrameworks/graphics/ofPixels.o /c/of_v0.9.3/libs/openFrameworksCompiled/lib/msys2/obj/Release/libs/openFrameworks/graphics/ofPolyline.o /c/of_v0.9.3/libs/openFrameworksCompiled/lib/msys2/obj/Release/libs/openFrameworks/graphics/ofRendererCollection.o /c/of_v0.9.3/libs/openFrameworksCompiled/lib/msys2/obj/Release/libs/openFrameworks/graphics/ofTessellator.o /c/of_v0.9.3/libs/openFrameworksCompiled/lib/msys2/obj/Release/libs/openFrameworks/graphics/ofTrueTypeFont.o /c/of_v0.9.3/libs/openFrameworksCompiled/lib/msys2/obj/Release/libs/openFrameworks/math/ofMath.o /c/of_v0.9.3/libs/openFrameworksCompiled/lib/msys2/obj/Release/libs/openFrameworks/math/ofMatrix3x3.o /c/of_v0.9.3/libs/openFrameworksCompiled/lib/msys2/obj/Release/libs/openFrameworks/math/ofMatrix4x4.o /c/of_v0.9.3/libs/openFrameworksCompiled/lib/msys2/obj/Release/libs/openFrameworks/math/ofQuaternion.o /c/of_v0.9.3/libs/openFrameworksCompiled/lib/msys2/obj/Release/libs/openFrameworks/math/ofVec2f.o /c/of_v0.9.3/libs/openFrameworksCompiled/lib/msys2/obj/Release/libs/openFrameworks/math/ofVec4f.o /c/of_v0.9.3/libs/openFrameworksCompiled/lib/msys2/obj/Release/libs/openFrameworks/sound/ofBaseSoundStream.o /c/of_v0.9.3/libs/openFrameworksCompiled/lib/msys2/obj/Release/libs/openFrameworks/sound/ofFmodSoundPlayer.o /c/of_v0.9.3/libs/openFrameworksCompiled/lib/msys2/obj/Release/libs/openFrameworks/sound/ofOpenALSoundPlayer.o /c/of_v0.9.3/libs/openFrameworksCompiled/lib/msys2/obj/Release/libs/openFrameworks/sound/ofRtAudioSoundStream.o /c/of_v0.9.3/libs/openFrameworksCompiled/lib/msys2/obj/Release/libs/openFrameworks/sound/ofSoundBuffer.o /c/of_v0.9.3/libs/openFrameworksCompiled/lib/msys2/obj/Release/libs/openFrameworks/sound/ofSoundPlayer.o /c/of_v0.9.3/libs/openFrameworksCompiled/lib/msys2/obj/Release/libs/openFrameworks/sound/ofSoundStream.o /c/of_v0.9.3/libs/openFrameworksCompiled/lib/msys2/obj/Release/libs/openFrameworks/types/ofBaseTypes.o /c/of_v0.9.3/libs/openFrameworksCompiled/lib/msys2/obj/Release/libs/openFrameworks/types/ofColor.o /c/of_v0.9.3/libs/openFrameworksCompiled/lib/msys2/obj/Release/libs/openFrameworks/types/ofParameter.o /c/of_v0.9.3/libs/openFrameworksCompiled/lib/msys2/obj/Release/libs/openFrameworks/types/ofParameterGroup.o /c/of_v0.9.3/libs/openFrameworksCompiled/lib/msys2/obj/Release/libs/openFrameworks/types/ofRectangle.o /c/of_v0.9.3/libs/openFrameworksCompiled/lib/msys2/obj/Release/libs/openFrameworks/utils/ofFileUtils.o /c/of_v0.9.3/libs/openFrameworksCompiled/lib/msys2/obj/Release/libs/openFrameworks/utils/ofFpsCounter.o /c/of_v0.9.3/libs/openFrameworksCompiled/lib/msys2/obj/Release/libs/openFrameworks/utils/ofLog.o /c/of_v0.9.3/libs/openFrameworksCompiled/lib/msys2/obj/Release/libs/openFrameworks/utils/ofMatrixStack.o /c/of_v0.9.3/libs/openFrameworksCompiled/lib/msys2/obj/Release/libs/openFrameworks/utils/ofSystemUtils.o /c/of_v0.9.3/libs/openFrameworksCompiled/lib/msys2/obj/Release/libs/openFrameworks/utils/ofThread.o /c/of_v0.9.3/libs/openFrameworksCompiled/lib/msys2/obj/Release/libs/openFrameworks/utils/ofTimer.o /c/of_v0.9.3/libs/openFrameworksCompiled/lib/msys2/obj/Release/libs/openFrameworks/utils/ofURLFileLoader.o /c/of_v0.9.3/libs/openFrameworksCompiled/lib/msys2/obj/Release/libs/openFrameworks/utils/ofUtils.o /c/of_v0.9.3/libs/openFrameworksCompiled/lib/msys2/obj/Release/libs/openFrameworks/utils/ofXml.o /c/of_v0.9.3/libs/openFrameworksCompiled/lib/msys2/obj/Release/libs/openFrameworks/video/ofDirectShowGrabber.o /c/of_v0.9.3/libs/openFrameworksCompiled/lib/msys2/obj/Release/libs/openFrameworks/video/ofDirectShowPlayer.o /c/of_v0.9.3/libs/openFrameworksCompiled/lib/msys2/obj/Release/libs/openFrameworks/video/ofVideoGrabber.o /c/of_v0.9.3/libs/openFrameworksCompiled/lib/msys2/obj/Release/libs/openFrameworks/video/ofVideoPlayer.o
HOST_OS=MSYS_NT-6.1
checking pkg-config libraries: cairo zlib openssl glew
Done!
C:/msys64/mingw32/bin/g++.exe -m32 -O2 -pipe -Wno-unused-parameter “-std=gnu++14” -DNDEBUG -DUNICODE -D_UNICODE -DNDEBUG -DGCC_HAS_REGEX -IC:/of_v0.9.3/libs/openFrameworks -IC:/of_v0.9.3/libs/openFrameworks/.settings -IC:/of_v0.9.3/libs/openFrameworks/3d -IC:/of_v0.9.3/libs/openFrameworks/app -IC:/of_v0.9.3/libs/openFrameworks/communication -IC:/of_v0.9.3/libs/openFrameworks/events -IC:/of_v0.9.3/libs/openFrameworks/gl -IC:/of_v0.9.3/libs/openFrameworks/graphics -IC:/of_v0.9.3/libs/openFrameworks/math -IC:/of_v0.9.3/libs/openFrameworks/sound -IC:/of_v0.9.3/libs/openFrameworks/types -IC:/of_v0.9.3/libs/openFrameworks/utils -IC:/of_v0.9.3/libs/openFrameworks/video -IC:/of_v0.9.3/libs/fmodex/include -IC:/of_v0.9.3/libs/glfw/include -IC:/of_v0.9.3/libs/glfw/include/GLFW -IC:/of_v0.9.3/libs/glu/include -IC:/of_v0.9.3/libs/quicktime/include -IC:/of_v0.9.3/libs/tess2/include -IC:/of_v0.9.3/libs/utf8cpp/include -IC:/of_v0.9.3/libs/utf8cpp/include/utf8 -IC:/of_v0.9.3/libs/videoInput/include -IC:/of_v0.9.3/libs/poco/include -IC:/msys64/mingw32/include -Ic:/msys64/mingw32/include -Ic:/msys64/mingw32/include/cairo -Ic:/msys64/mingw32/include/glib-2.0 -Ic:/msys64/mingw32/lib/glib-2.0/include -Ic:/msys64/mingw32/include/pixman-1 -Ic:/msys64/mingw32/include/freetype2 -Ic:/msys64/mingw32/include/harfbuzz -Ic:/msys64/mingw32/include/libpng16 -IC:/of_v0.9.3/examples/3d/3DPrimitivesExample/src -IC:/of_v0.9.3/libs/openFrameworks -IC:/of_v0.9.3/libs/openFrameworks/.settings -IC:/of_v0.9.3/libs/openFrameworks/3d -IC:/of_v0.9.3/libs/openFrameworks/app -IC:/of_v0.9.3/libs/openFrameworks/communication -IC:/of_v0.9.3/libs/openFrameworks/events -IC:/of_v0.9.3/libs/openFrameworks/gl -IC:/of_v0.9.3/libs/openFrameworks/graphics -IC:/of_v0.9.3/libs/openFrameworks/math -IC:/of_v0.9.3/libs/openFrameworks/sound -IC:/of_v0.9.3/libs/openFrameworks/types -IC:/of_v0.9.3/libs/openFrameworks/utils -IC:/of_v0.9.3/libs/openFrameworks/video -IC:/of_v0.9.3/libs/fmodex/include -IC:/of_v0.9.3/libs/glfw/include -IC:/of_v0.9.3/libs/glfw/include/GLFW -IC:/of_v0.9.3/libs/glu/include -IC:/of_v0.9.3/libs/quicktime/include -IC:/of_v0.9.3/libs/tess2/include -IC:/of_v0.9.3/libs/utf8cpp/include -IC:/of_v0.9.3/libs/utf8cpp/include/utf8 -IC:/of_v0.9.3/libs/videoInput/include -IC:/of_v0.9.3/libs/poco/include -IC:/msys64/mingw32/include -Ic:/msys64/mingw32/include -Ic:/msys64/mingw32/include/cairo -Ic:/msys64/mingw32/include/glib-2.0 -Ic:/msys64/mingw32/lib/glib-2.0/include -Ic:/msys64/mingw32/include/pixman-1 -Ic:/msys64/mingw32/include/freetype2 -Ic:/msys64/mingw32/include/harfbuzz -Ic:/msys64/mingw32/include/libpng16 “-DWINVER=0x501” “-D_WIN32_WINNT=0x501” “-D_WIN32_WINDOWS=0x501” -c C:/of_v0.9.3/examples/3d/3DPrimitivesExample/src/main.cpp -o C:/of_v0.9.3/examples/3d/3DPrimitivesExample/build-3DPrimitivesExample-OF-Release/qtc_OF_b85bdb54-release/3DPrimitivesExample.qtc-OF-b85bdb54.f26ec432/.obj/f27fede2220bcd32/main.cpp.o
In file included from C:/of_v0.9.3/libs/openFrameworks/video/ofDirectShowGrabber.h:9:0,
from C:/of_v0.9.3/libs/openFrameworks/video/ofVideoGrabber.h:26,
from C:/of_v0.9.3/libs/openFrameworks/ofMain.h:96,
from C:/of_v0.9.3/examples/3d/3DPrimitivesExample/src/ofApp.h:3,
from C:/of_v0.9.3/examples/3d/3DPrimitivesExample/src/main.cpp:1:
C:/of_v0.9.3/libs/videoInput/include/videoInput.h:324:85: warning: converting to non-pointer type ‘long int’ from NULL [-Wconversion-null]
bool setVideoSettingFilter(int deviceID, long Property, long lValue, long Flags = NULL, bool useDefaultValue = false);
^
C:/of_v0.9.3/libs/videoInput/include/videoInput.h:325:91: warning: converting to non-pointer type ‘long int’ from NULL [-Wconversion-null]
bool setVideoSettingFilterPct(int deviceID, long Property, float pctValue, long Flags = NULL);
^
In file included from C:/of_v0.9.3/libs/openFrameworks/video/ofDirectShowGrabber.h:9:0,
from C:/of_v0.9.3/libs/openFrameworks/video/ofVideoGrabber.h:26,
from C:/of_v0.9.3/libs/openFrameworks/ofMain.h:96,
from C:/of_v0.9.3/examples/3d/3DPrimitivesExample/src/ofApp.h:3,
from C:/of_v0.9.3/examples/3d/3DPrimitivesExample/src/main.cpp:1:
C:/of_v0.9.3/libs/videoInput/include/videoInput.h:328:85: warning: converting to non-pointer type ‘long int’ from NULL [-Wconversion-null]
bool setVideoSettingCamera(int deviceID, long Property, long lValue, long Flags = NULL, bool useDefaultValue = false);
^
C:/of_v0.9.3/libs/videoInput/include/videoInput.h:329:91: warning: converting to non-pointer type ‘long int’ from NULL [-Wconversion-null]
bool setVideoSettingCameraPct(int deviceID, long Property, float pctValue, long Flags = NULL);
^
C:/msys64/mingw32/bin/g++.exe -m32 -O2 -pipe -Wno-unused-parameter “-std=gnu++14” -DNDEBUG -DUNICODE -D_UNICODE -DNDEBUG -DGCC_HAS_REGEX -IC:/of_v0.9.3/libs/openFrameworks -IC:/of_v0.9.3/libs/openFrameworks/.settings -IC:/of_v0.9.3/libs/openFrameworks/3d -IC:/of_v0.9.3/libs/openFrameworks/app -IC:/of_v0.9.3/libs/openFrameworks/communication -IC:/of_v0.9.3/libs/openFrameworks/events -IC:/of_v0.9.3/libs/openFrameworks/gl -IC:/of_v0.9.3/libs/openFrameworks/graphics -IC:/of_v0.9.3/libs/openFrameworks/math -IC:/of_v0.9.3/libs/openFrameworks/sound -IC:/of_v0.9.3/libs/openFrameworks/types -IC:/of_v0.9.3/libs/openFrameworks/utils -IC:/of_v0.9.3/libs/openFrameworks/video -IC:/of_v0.9.3/libs/fmodex/include -IC:/of_v0.9.3/libs/glfw/include -IC:/of_v0.9.3/libs/glfw/include/GLFW -IC:/of_v0.9.3/libs/glu/include -IC:/of_v0.9.3/libs/quicktime/include -IC:/of_v0.9.3/libs/tess2/include -IC:/of_v0.9.3/libs/utf8cpp/include -IC:/of_v0.9.3/libs/utf8cpp/include/utf8 -IC:/of_v0.9.3/libs/videoInput/include -IC:/of_v0.9.3/libs/poco/include -IC:/msys64/mingw32/include -Ic:/msys64/mingw32/include -Ic:/msys64/mingw32/include/cairo -Ic:/msys64/mingw32/include/glib-2.0 -Ic:/msys64/mingw32/lib/glib-2.0/include -Ic:/msys64/mingw32/include/pixman-1 -Ic:/msys64/mingw32/include/freetype2 -Ic:/msys64/mingw32/include/harfbuzz -Ic:/msys64/mingw32/include/libpng16 -IC:/of_v0.9.3/examples/3d/3DPrimitivesExample/src -IC:/of_v0.9.3/libs/openFrameworks -IC:/of_v0.9.3/libs/openFrameworks/.settings -IC:/of_v0.9.3/libs/openFrameworks/3d -IC:/of_v0.9.3/libs/openFrameworks/app -IC:/of_v0.9.3/libs/openFrameworks/communication -IC:/of_v0.9.3/libs/openFrameworks/events -IC:/of_v0.9.3/libs/openFrameworks/gl -IC:/of_v0.9.3/libs/openFrameworks/graphics -IC:/of_v0.9.3/libs/openFrameworks/math -IC:/of_v0.9.3/libs/openFrameworks/sound -IC:/of_v0.9.3/libs/openFrameworks/types -IC:/of_v0.9.3/libs/openFrameworks/utils -IC:/of_v0.9.3/libs/openFrameworks/video -IC:/of_v0.9.3/libs/fmodex/include -IC:/of_v0.9.3/libs/glfw/include -IC:/of_v0.9.3/libs/glfw/include/GLFW -IC:/of_v0.9.3/libs/glu/include -IC:/of_v0.9.3/libs/quicktime/include -IC:/of_v0.9.3/libs/tess2/include -IC:/of_v0.9.3/libs/utf8cpp/include -IC:/of_v0.9.3/libs/utf8cpp/include/utf8 -IC:/of_v0.9.3/libs/videoInput/include -IC:/of_v0.9.3/libs/poco/include -IC:/msys64/mingw32/include -Ic:/msys64/mingw32/include -Ic:/msys64/mingw32/include/cairo -Ic:/msys64/mingw32/include/glib-2.0 -Ic:/msys64/mingw32/lib/glib-2.0/include -Ic:/msys64/mingw32/include/pixman-1 -Ic:/msys64/mingw32/include/freetype2 -Ic:/msys64/mingw32/include/harfbuzz -Ic:/msys64/mingw32/include/libpng16 “-DWINVER=0x501” “-D_WIN32_WINNT=0x501” “-D_WIN32_WINDOWS=0x501” -c C:/of_v0.9.3/examples/3d/3DPrimitivesExample/src/ofApp.cpp -o C:/of_v0.9.3/examples/3d/3DPrimitivesExample/build-3DPrimitivesExample-OF-Release/qtc_OF_b85bdb54-release/3DPrimitivesExample.qtc-OF-b85bdb54.f26ec432/.obj/f27fede2220bcd32/ofApp.cpp.o
In file included from C:/of_v0.9.3/libs/openFrameworks/video/ofDirectShowGrabber.h:9:0,
from C:/of_v0.9.3/libs/openFrameworks/video/ofVideoGrabber.h:26,
from C:/of_v0.9.3/libs/openFrameworks/ofMain.h:96,
from C:/of_v0.9.3/examples/3d/3DPrimitivesExample/src/ofApp.h:3,
from C:/of_v0.9.3/examples/3d/3DPrimitivesExample/src/ofApp.cpp:1:
C:/of_v0.9.3/libs/videoInput/include/videoInput.h:324:85: warning: converting to non-pointer type ‘long int’ from NULL [-Wconversion-null]
bool setVideoSettingFilter(int deviceID, long Property, long lValue, long Flags = NULL, bool useDefaultValue = false);
^
C:/of_v0.9.3/libs/videoInput/include/videoInput.h:325:91: warning: converting to non-pointer type ‘long int’ from NULL [-Wconversion-null]
bool setVideoSettingFilterPct(int deviceID, long Property, float pctValue, long Flags = NULL);
^
In file included from C:/of_v0.9.3/libs/openFrameworks/video/ofDirectShowGrabber.h:9:0,
from C:/of_v0.9.3/libs/openFrameworks/video/ofVideoGrabber.h:26,
from C:/of_v0.9.3/libs/openFrameworks/ofMain.h:96,
from C:/of_v0.9.3/examples/3d/3DPrimitivesExample/src/ofApp.h:3,
from C:/of_v0.9.3/examples/3d/3DPrimitivesExample/src/ofApp.cpp:1:
C:/of_v0.9.3/libs/videoInput/include/videoInput.h:328:85: warning: converting to non-pointer type ‘long int’ from NULL [-Wconversion-null]
bool setVideoSettingCamera(int deviceID, long Property, long lValue, long Flags = NULL, bool useDefaultValue = false);
^
C:/of_v0.9.3/libs/videoInput/include/videoInput.h:329:91: warning: converting to non-pointer type ‘long int’ from NULL [-Wconversion-null]
bool setVideoSettingCameraPct(int deviceID, long Property, float pctValue, long Flags = NULL);
^
linking 3DPrimitivesExample.exe
15:52:53: Elapsed time: 00:14.

Hi Christof,

I think your PATH environment variable is not correctly set. It should include the path to MSYS2 MINGW32/bin directory.
An alternate method is to use the new experimental ‘make copy_dlls’ command (added in 0.9.3) to bring the (20+) dlls into the bin directory.

Hi Oxillo,

thanks a lot for your answer!!! The ‘make copy_dlls’ command does work indeed!

However, I’m pretty sure that I’ve set the system PATH enviromental variables correctly: c:\msys64\mingw32\bin and c:\msys64\usr\bin. They also show up in QT creator’s build and run environment settings:

I’ve found out that for all the examples I’ve tried so far, I actually only need to copy three dlls to the bin: libeay32.dll, libstdc+±6.dll, ssleay.dll. Do you have an more ideas what could be the problem?