Fix the win32 and android compile error

This commit is contained in:
samuele3hu 2014-08-25 14:10:13 +08:00
parent 74624f5ba1
commit 07cf4d3526
4 changed files with 16 additions and 20 deletions

View File

@ -212,14 +212,13 @@ xcopy /Y /Q "$(ProjectDir)..\..\external\win32-specific\gles\prebuilt\*.*" "$(Ou
<ClCompile Include="..\3d\CCBundleReader.cpp" /> <ClCompile Include="..\3d\CCBundleReader.cpp" />
<ClCompile Include="..\3d\CCMesh.cpp" /> <ClCompile Include="..\3d\CCMesh.cpp" />
<ClCompile Include="..\3d\CCMeshSkin.cpp" /> <ClCompile Include="..\3d\CCMeshSkin.cpp" />
<ClCompile Include="..\3d\CCMeshVertexIndexData.cpp" />
<ClCompile Include="..\3d\CCOBB.cpp" /> <ClCompile Include="..\3d\CCOBB.cpp" />
<ClCompile Include="..\3d\CCObjLoader.cpp" /> <ClCompile Include="..\3d\CCObjLoader.cpp" />
<ClCompile Include="..\3d\CCRay.cpp" /> <ClCompile Include="..\3d\CCRay.cpp" />
<ClCompile Include="..\3d\CCSkeleton3D.cpp" /> <ClCompile Include="..\3d\CCSkeleton3D.cpp" />
<ClCompile Include="..\3d\CCSprite3D.cpp" /> <ClCompile Include="..\3d\CCSprite3D.cpp" />
<ClCompile Include="..\3d\CCSprite3DMaterial.cpp" /> <ClCompile Include="..\3d\CCSprite3DMaterial.cpp" />
<ClCompile Include="..\3d\CCSubMesh.cpp" />
<ClCompile Include="..\3d\CCSubMeshState.cpp" />
<ClCompile Include="..\audio\win32\MciPlayer.cpp" /> <ClCompile Include="..\audio\win32\MciPlayer.cpp" />
<ClCompile Include="..\audio\win32\SimpleAudioEngine.cpp" /> <ClCompile Include="..\audio\win32\SimpleAudioEngine.cpp" />
<ClCompile Include="..\base\atitc.cpp" /> <ClCompile Include="..\base\atitc.cpp" />
@ -528,14 +527,13 @@ xcopy /Y /Q "$(ProjectDir)..\..\external\win32-specific\gles\prebuilt\*.*" "$(Ou
<ClInclude Include="..\3d\CCBundleReader.h" /> <ClInclude Include="..\3d\CCBundleReader.h" />
<ClInclude Include="..\3d\CCMesh.h" /> <ClInclude Include="..\3d\CCMesh.h" />
<ClInclude Include="..\3d\CCMeshSkin.h" /> <ClInclude Include="..\3d\CCMeshSkin.h" />
<ClInclude Include="..\3d\CCMeshVertexIndexData.h" />
<ClInclude Include="..\3d\CCOBB.h" /> <ClInclude Include="..\3d\CCOBB.h" />
<ClInclude Include="..\3d\CCObjLoader.h" /> <ClInclude Include="..\3d\CCObjLoader.h" />
<ClInclude Include="..\3d\CCRay.h" /> <ClInclude Include="..\3d\CCRay.h" />
<ClInclude Include="..\3d\CCSkeleton3D.h" /> <ClInclude Include="..\3d\CCSkeleton3D.h" />
<ClInclude Include="..\3d\CCSprite3D.h" /> <ClInclude Include="..\3d\CCSprite3D.h" />
<ClInclude Include="..\3d\CCSprite3DMaterial.h" /> <ClInclude Include="..\3d\CCSprite3DMaterial.h" />
<ClInclude Include="..\3d\CCSubMesh.h" />
<ClInclude Include="..\3d\CCSubMeshState.h" />
<ClInclude Include="..\3d\cocos3d.h" /> <ClInclude Include="..\3d\cocos3d.h" />
<ClInclude Include="..\audio\include\Export.h" /> <ClInclude Include="..\audio\include\Export.h" />
<ClInclude Include="..\audio\include\SimpleAudioEngine.h" /> <ClInclude Include="..\audio\include\SimpleAudioEngine.h" />
@ -826,6 +824,7 @@ xcopy /Y /Q "$(ProjectDir)..\..\external\win32-specific\gles\prebuilt\*.*" "$(Ou
<ClInclude Include="CCTweenFunction.h" /> <ClInclude Include="CCTweenFunction.h" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<None Include="..\3d\CCAnimationCurve.inl" />
<None Include="..\math\Mat4.inl" /> <None Include="..\math\Mat4.inl" />
<None Include="..\math\MathUtil.inl" /> <None Include="..\math\MathUtil.inl" />
<None Include="..\math\MathUtilNeon.inl" /> <None Include="..\math\MathUtilNeon.inl" />

View File

@ -775,12 +775,6 @@
<ClCompile Include="..\3d\CCSprite3DMaterial.cpp"> <ClCompile Include="..\3d\CCSprite3DMaterial.cpp">
<Filter>3d</Filter> <Filter>3d</Filter>
</ClCompile> </ClCompile>
<ClCompile Include="..\3d\CCSubMesh.cpp">
<Filter>3d</Filter>
</ClCompile>
<ClCompile Include="..\3d\CCSubMeshState.cpp">
<Filter>3d</Filter>
</ClCompile>
<ClCompile Include="..\..\extensions\assets-manager\AssetsManager.cpp"> <ClCompile Include="..\..\extensions\assets-manager\AssetsManager.cpp">
<Filter>extension\AssetsManager</Filter> <Filter>extension\AssetsManager</Filter>
</ClCompile> </ClCompile>
@ -1093,6 +1087,9 @@
<ClCompile Include="..\editor-support\cocostudio\CCActionObject.cpp"> <ClCompile Include="..\editor-support\cocostudio\CCActionObject.cpp">
<Filter>cocostudio\action</Filter> <Filter>cocostudio\action</Filter>
</ClCompile> </ClCompile>
<ClCompile Include="..\3d\CCMeshVertexIndexData.cpp">
<Filter>3d</Filter>
</ClCompile>
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<ClInclude Include="..\physics\CCPhysicsBody.h"> <ClInclude Include="..\physics\CCPhysicsBody.h">
@ -1747,12 +1744,6 @@
<ClInclude Include="..\3d\CCSprite3DMaterial.h"> <ClInclude Include="..\3d\CCSprite3DMaterial.h">
<Filter>3d</Filter> <Filter>3d</Filter>
</ClInclude> </ClInclude>
<ClInclude Include="..\3d\CCSubMesh.h">
<Filter>3d</Filter>
</ClInclude>
<ClInclude Include="..\3d\CCSubMeshState.h">
<Filter>3d</Filter>
</ClInclude>
<ClInclude Include="..\3d\cocos3d.h"> <ClInclude Include="..\3d\cocos3d.h">
<Filter>3d</Filter> <Filter>3d</Filter>
</ClInclude> </ClInclude>
@ -2140,6 +2131,9 @@
<ClInclude Include="..\editor-support\cocostudio\CCActionObject.h"> <ClInclude Include="..\editor-support\cocostudio\CCActionObject.h">
<Filter>cocostudio\action</Filter> <Filter>cocostudio\action</Filter>
</ClInclude> </ClInclude>
<ClInclude Include="..\3d\CCMeshVertexIndexData.h">
<Filter>3d</Filter>
</ClInclude>
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<None Include="..\math\Mat4.inl"> <None Include="..\math\Mat4.inl">
@ -2164,5 +2158,8 @@
<Filter>math</Filter> <Filter>math</Filter>
</None> </None>
<None Include="cocos2d.def" /> <None Include="cocos2d.def" />
<None Include="..\3d\CCAnimationCurve.inl">
<Filter>3d</Filter>
</None>
</ItemGroup> </ItemGroup>
</Project> </Project>

View File

@ -195,12 +195,12 @@ LOCAL_SRC_FILES += 3d/CCRay.cpp \
3d/CCBundleReader.cpp \ 3d/CCBundleReader.cpp \
3d/CCMesh.cpp \ 3d/CCMesh.cpp \
3d/CCMeshSkin.cpp \ 3d/CCMeshSkin.cpp \
3d/CCMeshVertexIndexData.cpp \
3d/CCSprite3DMaterial.cpp \ 3d/CCSprite3DMaterial.cpp \
3d/CCObjLoader.cpp \ 3d/CCObjLoader.cpp \
3d/CCSkeleton3D.cpp \ 3d/CCSkeleton3D.cpp \
3d/CCSprite3D.cpp \ 3d/CCSprite3D.cpp \
3d/CCSubMesh.cpp \ 3d/CCSprite3DMaterial.cpp
3d/CCSubMeshState.cpp
#audio #audio

View File

@ -89,7 +89,7 @@
<GenerateDebugInformation>true</GenerateDebugInformation> <GenerateDebugInformation>true</GenerateDebugInformation>
<SubSystem>Windows</SubSystem> <SubSystem>Windows</SubSystem>
<TargetMachine>MachineX86</TargetMachine> <TargetMachine>MachineX86</TargetMachine>
<AdditionalDependencies>%(AdditionalDependencies)</AdditionalDependencies> <AdditionalDependencies>glew32.lib;%(AdditionalDependencies)</AdditionalDependencies>
</Link> </Link>
<PostBuildEvent> <PostBuildEvent>
<Command> <Command>
@ -111,7 +111,7 @@
<DisableSpecificWarnings>4267;4251;4244;%(DisableSpecificWarnings)</DisableSpecificWarnings> <DisableSpecificWarnings>4267;4251;4244;%(DisableSpecificWarnings)</DisableSpecificWarnings>
</ClCompile> </ClCompile>
<Link> <Link>
<AdditionalDependencies>%(AdditionalDependencies)</AdditionalDependencies> <AdditionalDependencies>glew32.lib;%(AdditionalDependencies)</AdditionalDependencies>
<OutputFile>$(OutDir)$(ProjectName).exe</OutputFile> <OutputFile>$(OutDir)$(ProjectName).exe</OutputFile>
<AdditionalLibraryDirectories>$(OutDir);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories> <AdditionalLibraryDirectories>$(OutDir);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<GenerateDebugInformation>true</GenerateDebugInformation> <GenerateDebugInformation>true</GenerateDebugInformation>