0

我在vForge中使用vGameSolutionCreator创建了一个名为“Test1”的项目,当我在Visual Studio 2012(或Visual Studio 2010)中打开它并构建它时,我得到了错误

错误 1 ​​错误 LNK1104:无法打开文件 'libgfx.lib' C:\Users\dev1\Documents\AnarchyProjects\Test1\Source\Test1Plugin\LINK Test1Plugin100 (Visual Studio 2010)

有谁知道我缺少什么和/或这个问题的解决方案?

4

1 回答 1

1

出现问题的原因是模板中的默认比例格式引用。来自http://forum.projectanarchy.com/showthread.php?807-New-Release-2013-2-5

    The resulting project templates includes a reference to link against the Scaleform libraries. If you don't have or you don't need Scaleform in your project you will need to delete this references from the project. Because the project makes use of property sheets this libraries are linked automatically so if you don't need them you will have to: 

Right click in the ProjectTemplate→Properties.
Go to the Linker→General section.
Edit the Additional Dependencies field.
Uncheck the check-box labeled 'Inherit from parent or project defaults'.
Copy the contents of the 'Inherited values:' box (the one with light grey colour as background).
Paste the contents in the upper box under the already defined values.
Once pasted you must delete all the Scaleform entries:
-lgfx_air
-lgfx_as2
-lgfx_as3
-lgfx
-lgfxexpat
-lgfxplatform
-lgfxrender_gl
-lgfxsound_fmod
-lexpat
-ljpeg
-lpcre
-lpng
You will have to do this for each build configuration. This is Debug, Dev and Release.
于 2014-01-09T13:27:26.887 回答