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

この問題は、テンプレートのデフォルトの scaleform 参照が原因で発生します。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 に答える