我遵循了关于Scaleform http://www.projectanarchy.com/introduction-scaleform的教程中的说明
在windows上,所有这些操作都很好,但是现在我尝试在Visual 2010中为Android编译它,我得到了所有这些错误:
错误1错误MSB6006:"C:\Android\NDK\android-ndk-r9d\toolchains\arm-linux-androideabi-4.6\prebuilt\windows\bin\arm-linux-androideabi-g++.exe“与代码1.c:\Program (x86)\MSBuild\Microsoft.Cpp\v4.0\Platforms\hkAndroid\Microsoft.Cpp.hkAndroid.Targets 66 6 CounterUIApplication一起退出
还有这样的错误:
8 IntelliSense: cannot open source file "Vision/Runtime/EnginePlugins/ThirdParty/ScaleformEnginePlugin/VScaleformVariable.hpp" c:\game engineering projects\scaleformtry\scaleformcounterui\counterui\source\counteruiapplication\main.cpp 18 1 CounterUIApplication就像这样:
31 IntelliSense: identifier "VISION_PLUGIN_ENSURE_LOADED" is undefined c:\game engineering projects\scaleformtry\scaleformcounterui\counterui\source\counteruiapplication\main.cpp 99 3 CounterUIApplicationVisual似乎没有在Android解决方案中加载scaleform头文件。
我该怎么解决呢?(注意:我检查了Vision的vGameSolutionCreator中的Scaleform切换框)
谢谢。
(我已经在哈佛PA网站上问过这个问题,但很长一段时间没有得到回答)
发布于 2014-05-27 08:09:19
我找到了答案。
在我的电脑前坐了8个小时后,我发现这个问题是由我的源代码(hkvLog::FatalError不支持Android)中的Windows特定行引起的:
if(m_spMovie==NULL)
{
hkvLog::FatalError("Could not load movie: %s", m_sMovieName);
}在我删除这一行后,程序编译时没有问题,并且创建了apk。
https://stackoverflow.com/questions/23858819
复制相似问题