It seems that the same problem has happened in windows 7, and the OF version is 0.9.8.
error infoļ¼
HOST_OS=MINGW64_NT-6.1
makefileCommon/config.shared.mk:217: *** This package doesnāt support your platform, probably you downloaded the wrong package?ć Stopć
I try to find out the reason of this error, so I have read the config.share.mk code too, and I find thatļ¼
ifeq ($(wildcard $(OF_LIBS_OF_COMPILED_PROJECT_PATH)/$(PLATFORM_LIB_SUBPATH)),)
$(error This package doesnāt support your platform, probably you downloaded the wrong package?)
endif
It seems that our result of
$(wildcard $(OF_LIBS_OF_COMPILED_PROJECT_PATH)/$(PLATFORM_LIB_SUBPATH))
is null, so it gave us that error info.
I add some code for show related infoļ¼
$(info OF_LIBS_OF_COMPILED_PROJECT_PATH=$(OF_LIBS_OF_COMPILED_PROJECT_PATH))
$(info PLATFORM_LIB_SUBPATH=$(PLATFORM_LIB_SUBPATH))
$(info OF_LIBS_OF_COMPILED_PROJECT_PATH_FULL=$(wildcard
$(OF_LIBS_OF_COMPILED_PROJECT_PATH)/$(PLATFORM_LIB_SUBPATH)))
then we can see thatļ¼
OF_LIBS_OF_COMPILED_PROJECT_PATH=/e/Office Software/OpenFramework/of_v0.9.8_msys2_release/libs/openFrameworksCompiled/project
PLATFORM_LIB_SUBPATH=msys2
OF_LIBS_OF_COMPILED_PROJECT_PATH_FULL=
Note that there are a blank in my path ā/e/Office Software/OpenFramework/ā, I guess this is the reason of our error.
So I changed my path to ā/e/Office_Software/OpenFramework/ā and there is no blank.
And then I found that my compilation process can go on.
NOTEļ¼
8.12_22:29:
Now I meet more errorsļ¼
make[2]: *** [makefileCommon/compile.core.mk:241ļ¼/e/Office_Software/OpenFramework/of_v0.9.8_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
8.13_10:43
I have solved the previous problemļ¼
I found that I was using the MINGW64.exe when I meet this errors, so I try to use MINGW32.exe to make the OF project, then I compiled successfully.
This is my solution about this question.
Good luckļ¼