TheCherno / Sparky

Cross-Platform High Performance 2D/3D game engine for people like me who like to write code.
Apache License 2.0
1.1k stars 221 forks source link

SP is giving lots of erorrs #87

Open alex-couch opened 8 years ago

alex-couch commented 8 years ago

I am getting a lot of errors regarding the SP header. I fixed the header but then once I started trying to fix all of the includes that included it I began to find a lot more errors. Anyone getting the same thing?

TheCherno commented 8 years ago

"I am getting a lot of errors regarding the SP header" - what errors specifically? What is your development environment? Do you have any local modifications to Sparky? Which revision are you on?

alex-couch commented 8 years ago

I am on windows 7 x64, using Visual Studio, I opened it up and it was instantly filled with errors. The first time that I ran it, it was fine but then after that it was just filled with errors. Every class, struct, namespace, reference, and include was an error. I installed Windows SDK and it still didn't solve it. I don't know man I am running it as I am typing this and it is compiling everything just fine now I don't know why it never worked for me before. Kinda wondering if some...well now it crashed.

cannot open source file "sp/sp.h variable "sp::InputManager" is not a type name name followed by '::' must be a class or namespace name

and so forth. 56 errors it's saying. I have SandboxCS unloaded as well as SparkyCLI. That's about everything.

TheCherno commented 8 years ago

Are you sure those aren't Intellisense errors? Please switch off Intellisense errors, you shouldn't have them on. When you actually build Sparky-core/Sandbox, what does the Output window say? Does it complete successfully?