Skip to content

Commit

Permalink
Fix the Windows project
Browse files Browse the repository at this point in the history
  • Loading branch information
elnormous committed Nov 12, 2018
1 parent aa02063 commit 8184236
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions ouzel_spine.vcxproj
Expand Up @@ -91,7 +91,7 @@
<Link>
<SubSystem>Windows</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
<AdditionalDependencies>d3d11.lib;dxguid.lib;xinput9_1_0.lib;shlwapi.lib;opengl32.lib;dinput8.lib;dsound.lib;%(AdditionalDependencies)</AdditionalDependencies>
<AdditionalDependencies>d3d11.lib;dxguid.lib;xinput9_1_0.lib;shlwapi.lib;opengl32.lib;dinput8.lib;dsound.lib;ws2_32.lib;%(AdditionalDependencies)</AdditionalDependencies>
</Link>
<PostBuildEvent>
<Command>copy "$(ProjectDir)settings.ini" "$(OutDir)settings.ini"
Expand All @@ -109,7 +109,7 @@ copy "$(ProjectDir)Resources\*" "$(OutDir)Resources\"</Command>
<Link>
<SubSystem>Windows</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
<AdditionalDependencies>d3d11.lib;dxguid.lib;xinput9_1_0.lib;shlwapi.lib;opengl32.lib;dinput8.lib;dsound.lib;%(AdditionalDependencies)</AdditionalDependencies>
<AdditionalDependencies>d3d11.lib;dxguid.lib;xinput9_1_0.lib;shlwapi.lib;opengl32.lib;dinput8.lib;dsound.lib;ws2_32.lib;%(AdditionalDependencies)</AdditionalDependencies>
</Link>
<PostBuildEvent>
<Command>copy "$(ProjectDir)settings.ini" "$(OutDir)settings.ini"
Expand All @@ -130,7 +130,7 @@ copy "$(ProjectDir)Resources\*" "$(OutDir)Resources\"</Command>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
<SubSystem>Windows</SubSystem>
<AdditionalDependencies>d3d11.lib;dxguid.lib;xinput9_1_0.lib;shlwapi.lib;opengl32.lib;dinput8.lib;dsound.lib;%(AdditionalDependencies)</AdditionalDependencies>
<AdditionalDependencies>d3d11.lib;dxguid.lib;xinput9_1_0.lib;shlwapi.lib;opengl32.lib;dinput8.lib;dsound.lib;ws2_32.lib;%(AdditionalDependencies)</AdditionalDependencies>
</Link>
<PostBuildEvent>
<Command>copy "$(ProjectDir)settings.ini" "$(OutDir)settings.ini"
Expand All @@ -152,7 +152,7 @@ copy "$(ProjectDir)Resources\*" "$(OutDir)Resources\"</Command>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
<SubSystem>Windows</SubSystem>
<AdditionalDependencies>d3d11.lib;dxguid.lib;xinput9_1_0.lib;shlwapi.lib;opengl32.lib;dinput8.lib;dsound.lib;%(AdditionalDependencies)</AdditionalDependencies>
<AdditionalDependencies>d3d11.lib;dxguid.lib;xinput9_1_0.lib;shlwapi.lib;opengl32.lib;dinput8.lib;dsound.lib;ws2_32.lib;%(AdditionalDependencies)</AdditionalDependencies>
</Link>
<PostBuildEvent>
<Command>copy "$(ProjectDir)settings.ini" "$(OutDir)settings.ini"
Expand Down
4 changes: 2 additions & 2 deletions src/SpineSample.cpp
Expand Up @@ -10,9 +10,9 @@ SpineSample::SpineSample():
bundle(engine->getCache())
{
#if OUZEL_PLATFORM_LINUX
sharedEngine->getFileSystem()->addResourcePath("Resources");
engine->getFileSystem().addResourcePath("Resources");
#elif OUZEL_PLATFORM_WINDOWS
sharedEngine->getFileSystem()->addResourcePath("Resources");
engine->getFileSystem().addResourcePath("Resources");
#endif

eventHandler.keyboardHandler = std::bind(&SpineSample::handleKeyboard, this, std::placeholders::_1);
Expand Down

0 comments on commit 8184236

Please sign in to comment.