aerys / minko

3D framework for web, desktop and mobile devices.
http://minko.io
Other
904 stars 210 forks source link

Building the SDK #236

Closed dresch86 closed 3 years ago

dresch86 commented 8 years ago

I've got the dev branch and I am trying to build the SKD with VS2015. I built the SDK successfully, but I noticed for some reason all the plugins except particles built. There is no project in the solution for particles. Does the premake script not build a particles project in the solution??

dresch86 commented 8 years ago

Update: I edited sdk.lua to include particles and generated the VS project file for the solution. When I build the particles plugin however I get about 60 errors of various sorts:

namespace "minko::math" has no member "Vector4" minko-plugin-particles  d:\CPPLibs\minko\plugin\particles\include\minko\data\ParticlesProvider.hpp  36  
Severity    Code    Description Project File    Line    Suppression State
Error   C2280   'minko::geometry::ParticlesGeometry::ParticlesGeometry(void)': attempting to reference a deleted function   minko-plugin-particles  D:\CPPLibs\minko\plugin\particles\include\minko\geometry\ParticlesGeometry.hpp  47  
Severity    Code    Description Project File    Line    Suppression State
Error   C2039   'Vector4': is not a member of 'minko::math' minko-plugin-particles  D:\CPPLibs\minko\plugin\particles\include\minko\data\ParticlesProvider.hpp  36  
Severity    Code    Description Project File    Line    Suppression State
Error   C1083   Cannot open include file: 'minko/math/Matrix4x4.hpp': No such file or directory minko-plugin-particles  D:\CPPLibs\minko\plugin\particles\src\minko\component\ParticleSystem.cpp    33  
Severity    Code    Description Project File    Line    Suppression State
Error   C2923   'minko::particle::modifier::Modifier1': 'Vector3' is not a valid template type argument for parameter 'T'   minko-plugin-particles  D:\CPPLibs\minko\plugin\particles\include\minko\particle\modifier\StartColor.hpp    34  
Severity    Code    Description Project File    Line    Suppression State
Error   C2955   'minko::particle::modifier::Modifier1': use of class template requires template argument list   minko-plugin-particles  D:\CPPLibs\minko\plugin\particles\include\minko\particle\modifier\StartColor.hpp    35  

It looks like some files are missing from the dev branch for particles.

warrenseine commented 8 years ago

Unfortunately, the particle plugin is outdated and uses classes that don't exist anymore.

For instance, vec4 should replace Vector4. It's quite straightforward. You can look at other plugins or at the framework if you need to make the changes.