I'm not sure what I did wrong here, can anyone help me, along with that, if you have any tips I would appreciate any, also If you need me to post the Engine class, just let me know.
Apollo.h#ifndef APOLLO_H_INCLUDED
#define APOLLO_H_INCLUDED
#include "SFML\Window.hpp"
#include "SFML\Graphics.hpp"
#include "Engine.h"
#include "LevelSystem.h"
namespace apollo
{
class Apollo : public lwe::Engine
{
private:
sf::CircleShape *cs;
public:
Apollo(sf::VideoMode videoMode, sf::String title, lwe::LevelSystem levelSystem);
~Apollo();
void Update();
void Render();
};
}
#endif
Apollo.cpp#include "Apollo.h"
namespace apollo
{
Apollo::Apollo(sf::VideoMode videoMode, sf::String title, lwe::LevelSystem levelSystem)
: Engine(videoMode, title, levelSystem)
{
cs = new sf::CircleShape(50);
cs->setFillColor(sf::Color::Red);
}
Apollo::~Apollo()
{
}
void Apollo::Update()
{
}
void Apollo::Render()
{
window->draw(*cs);
}
}
Main.cpp#include "SFML\Window.hpp"
#include "SFML\Graphics.hpp"
#include "Apollo.h"
int main()
{
}
Error1>------ Build started: Project: Apollo, Configuration: Release Win32 ------
1>Apollo.obj : error LNK2001: unresolved external symbol "public: static class sf::RenderStates const sf::RenderStates::Default" (?Default@RenderStates@sf@@2V12@B)
1>Apollo.obj : error LNK2001: unresolved external symbol "public: static class sf::Color const sf::Color::Red" (?Red@Color@sf@@2V12@B)
1>C:\Users\XXXXX XXXXXX\documents\visual studio 2013\Projects\Advanced Protocol Software\Release\Apollo.exe : fatal error LNK1120: 2 unresolved externals
========== Build: 0 succeeded, 1 failed, 1 up-to-date, 0 skipped ==========