Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Flash619

Pages: 1 ... 8 9 [10]
136
I'm not sure if it's a good idea to use stdafx.h and _tmain(), is this even in the standard?

But your problem lies somewhere else and that is global variables!
You're defining and initializing your render window in the global scope. Using global variables should always be avoided, unless you really know what you're doing. Initializing in the global scope will lead to undefined behaviour, so it's a big DON'T.

Redesign your class to include the render window instead of hosting it in the global scope!

I figured that the stdafx.h and the tmain was fine. I was unaware of the concerns around it since VS2010 put it in automatically. Is there anything you would recomend to standardize it?

About the global variable. I was attempting to follow a tutorial that had it as a global variable. I'm not sure why they made it global since it didn't seem to be used anywere else besides the main class, and was just transfered from method to method outside of the main class.

I also was a bit un aware that it as a global variable would make it so un predictable.

When you say "include" the render window instead of "hosting" it what do you mean by that? Just launch the render window normally and pass it on to methods that require it manually instead of using a global variable?


EDIT

#include "stdafx.h"
#include "Genesis.h"
#include "BetweenScreens.h"
#include "SplashScreen.h"

//Entry Point
int _tmain(int argc, _TCHAR* argv[])
{
        Genesis::Initialize();
        return 0;
}
//Initial Method
void Genesis::Initialize(void)
{
        if(_engineState != Genesis::InitialLoad)
                return;

        sf::RenderWindow mainWindow(sf::VideoMode(1024,786,32),"Genesis");
        _engineState = Genesis::Starting;

        //Throwing a initial loading screen.
        BetweenScreens::ColdLoadingScreen(mainWindow);

        while(!isClosing())
        {
                EngineStateCollaborator();
        }
}
void Genesis::EngineStateCollaborator(void)
{
        switch (_engineState){
        case Genesis::Starting:
                showSplashScreen();
                break;
        case Genesis::Menu:
                break;
        }
}
void Genesis::showSplashScreen(void)
{
        //Not implamented yet.
}
bool Genesis::isClosing(void)
{
        if(_engineState == Genesis::Closing)
                return true;
        else
                return false;
}
Genesis::EngineState Genesis::_engineState = InitialLoad;
 

That seemed to work flawlessly. Thank you for your help! Let me know if there is anything else you would recommend as I'm still trying to learn the proper ways of doing things. :)

137
The warning is ok, just ignore it. You can read more about it on the MSDN if you're curious.

We need more details about the error:
- run the debugger and tell use where it crashes
- show your code

Its pointing me to:
Quote
>   Genesis.exe!`dynamic initializer for 'Genesis::_mainWindow''()  Line 55 + 0x28 bytes   C++

The entire stack is as a attachment.

Genesis.cpp:
#include "stdafx.h"
#include "Genesis.h"
#include "BetweenScreens.h"
#include "SplashScreen.h"

//Entry Point
int _tmain(int argc, _TCHAR* argv[])
{
        Genesis::Initialize();
        return 0;
}
//Initial Method
void Genesis::Initialize(void)
{
        if(_engineState != Genesis::InitialLoad)
                return;

        _mainWindow.create(sf::VideoMode(1024,786,32),"Genesis");
        _engineState = Genesis::Starting;

        //Throwing a initial loading screen.
        BetweenScreens::ColdLoadingScreen(_mainWindow);

        while(!isClosing())
        {
                EngineStateCollaborator();
        }
}
void Genesis::EngineStateCollaborator(void)
{
        switch (_engineState){
        case Genesis::Starting:
                showSplashScreen();
                break;
        case Genesis::Menu:
                break;
        }
}
void Genesis::showSplashScreen(void)
{
        //Not implamented yet.
}
bool Genesis::isClosing(void)
{
        if(_engineState == Genesis::Closing)
                return true;
        else
                return false;
}
Genesis::EngineState Genesis::_engineState = InitialLoad;
sf::RenderWindow Genesis::_mainWindow;
 

Genesis.h:

#ifndef GENESIS_H
#define GENESIS_H
class Genesis
{
public:
        enum EngineState{InitialLoad,Starting,SplashScreen,Menu,Playing,Saving,Reloading,Closing,ShowingStatisticsData,ShowingConsoleWindow};
        static EngineState _engineState;

        static void Initialize();
private:
        static void showSplashScreen();
        static void EngineStateCollaborator();
        static bool isClosing();
        static sf::RenderWindow _mainWindow;
};
#endif
 

There ya go, if you need anything else please don't be afraid to ask! :)

Yeah the *.pdb files are not included in the RC release. :-\
But you can safely ignore those warnings.

LINK : warning LNK4098: defaultlib 'LIBCMT' conflicts with use of other libs; use /NODEFAULTLIB:library
Did you change the runtime library for your project?
The RC binaries are compiled with: Multithreaded-Debug-DLL (/MDd) and your project should also make use of that. (Otherwise you'll have to compile the source on your own...)
But the warning can usally also be ignored, although you can get rid of the warning by explicitly disallowing some of the runtime libraries.


Yes, my runtime library is "Multi-threaded Debug DLL (/MDd)" ^_^

[attachment deleted by admin]

138
       So today, Since I wasn't that far in on my project on SFML 1.6, I decided to restart with 2.0 for the fun of it. I setup the libraries, includes, and all my settings as I had them on 1.6:

C++ > Aditional Included Directories > "C:\SFML-2.0-rc\include;%(AdditionalIncludeDirectories)"

C++ > Preproccesor > "WIN32;SFML_STATIC;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)"

Linker > Aditional Library Directories > "C:\SFML-2.0-rc\lib;%(AdditionalLibraryDirectories)"

Linker > Input > "sfml-audio-s-d.lib;sfml-graphics-s-d.lib;sfml-network-s-d.lib;sfml-system-s-d.lib;sfml-window-s-d.lib;%(AdditionalDependencies)"

Upon compile, I get a wall of text full of a bunch of warnings, needless to say, the program spouts out debug errors the moment it starts.

The wall of text:
Quote
1>  Generating Code...
1>LINK : warning LNK4098: defaultlib 'LIBCMT' conflicts with use of other libs; use /NODEFAULTLIB:library
1>sfml-graphics-s-d.lib(Color.cpp.obj) : warning LNK4099: PDB 'sfml-graphics-s-d.pdb' was not found with 'sfml-graphics-s-d.lib(Color.cpp.obj)' or at 'C:\Users\Flash619\documents\visual studio 2010\Projects\Genesis\Debug\sfml-graphics-s-d.pdb'; linking object as if no debug info
1>sfml-graphics-s-d.lib(Font.cpp.obj) : warning LNK4099: PDB 'sfml-graphics-s-d.pdb' was not found with 'sfml-graphics-s-d.lib(Font.cpp.obj)' or at 'C:\Users\Flash619\documents\visual studio 2010\Projects\Genesis\Debug\sfml-graphics-s-d.pdb'; linking object as if no debug info
1>sfml-graphics-s-d.lib(GLCheck.cpp.obj) : warning LNK4099: PDB 'sfml-graphics-s-d.pdb' was not found with 'sfml-graphics-s-d.lib(GLCheck.cpp.obj)' or at 'C:\Users\Flash619\documents\visual studio 2010\Projects\Genesis\Debug\sfml-graphics-s-d.pdb'; linking object as if no debug info
1>sfml-graphics-s-d.lib(Image.cpp.obj) : warning LNK4099: PDB 'sfml-graphics-s-d.pdb' was not found with 'sfml-graphics-s-d.lib(Image.cpp.obj)' or at 'C:\Users\Flash619\documents\visual studio 2010\Projects\Genesis\Debug\sfml-graphics-s-d.pdb'; linking object as if no debug info
1>sfml-graphics-s-d.lib(ImageLoader.cpp.obj) : warning LNK4099: PDB 'sfml-graphics-s-d.pdb' was not found with 'sfml-graphics-s-d.lib(ImageLoader.cpp.obj)' or at 'C:\Users\Flash619\documents\visual studio 2010\Projects\Genesis\Debug\sfml-graphics-s-d.pdb'; linking object as if no debug info
1>sfml-graphics-s-d.lib(RenderStates.cpp.obj) : warning LNK4099: PDB 'sfml-graphics-s-d.pdb' was not found with 'sfml-graphics-s-d.lib(RenderStates.cpp.obj)' or at 'C:\Users\Flash619\documents\visual studio 2010\Projects\Genesis\Debug\sfml-graphics-s-d.pdb'; linking object as if no debug info
1>sfml-graphics-s-d.lib(RenderTarget.cpp.obj) : warning LNK4099: PDB 'sfml-graphics-s-d.pdb' was not found with 'sfml-graphics-s-d.lib(RenderTarget.cpp.obj)' or at 'C:\Users\Flash619\documents\visual studio 2010\Projects\Genesis\Debug\sfml-graphics-s-d.pdb'; linking object as if no debug info
1>sfml-graphics-s-d.lib(RenderWindow.cpp.obj) : warning LNK4099: PDB 'sfml-graphics-s-d.pdb' was not found with 'sfml-graphics-s-d.lib(RenderWindow.cpp.obj)' or at 'C:\Users\Flash619\documents\visual studio 2010\Projects\Genesis\Debug\sfml-graphics-s-d.pdb'; linking object as if no debug info
1>sfml-graphics-s-d.lib(Shader.cpp.obj) : warning LNK4099: PDB 'sfml-graphics-s-d.pdb' was not found with 'sfml-graphics-s-d.lib(Shader.cpp.obj)' or at 'C:\Users\Flash619\documents\visual studio 2010\Projects\Genesis\Debug\sfml-graphics-s-d.pdb'; linking object as if no debug info
1>sfml-graphics-s-d.lib(Text.cpp.obj) : warning LNK4099: PDB 'sfml-graphics-s-d.pdb' was not found with 'sfml-graphics-s-d.lib(Text.cpp.obj)' or at 'C:\Users\Flash619\documents\visual studio 2010\Projects\Genesis\Debug\sfml-graphics-s-d.pdb'; linking object as if no debug info
1>sfml-graphics-s-d.lib(Texture.cpp.obj) : warning LNK4099: PDB 'sfml-graphics-s-d.pdb' was not found with 'sfml-graphics-s-d.lib(Texture.cpp.obj)' or at 'C:\Users\Flash619\documents\visual studio 2010\Projects\Genesis\Debug\sfml-graphics-s-d.pdb'; linking object as if no debug info
1>sfml-graphics-s-d.lib(TextureSaver.cpp.obj) : warning LNK4099: PDB 'sfml-graphics-s-d.pdb' was not found with 'sfml-graphics-s-d.lib(TextureSaver.cpp.obj)' or at 'C:\Users\Flash619\documents\visual studio 2010\Projects\Genesis\Debug\sfml-graphics-s-d.pdb'; linking object as if no debug info
1>sfml-graphics-s-d.lib(Transform.cpp.obj) : warning LNK4099: PDB 'sfml-graphics-s-d.pdb' was not found with 'sfml-graphics-s-d.lib(Transform.cpp.obj)' or at 'C:\Users\Flash619\documents\visual studio 2010\Projects\Genesis\Debug\sfml-graphics-s-d.pdb'; linking object as if no debug info
1>sfml-graphics-s-d.lib(Transformable.cpp.obj) : warning LNK4099: PDB 'sfml-graphics-s-d.pdb' was not found with 'sfml-graphics-s-d.lib(Transformable.cpp.obj)' or at 'C:\Users\Flash619\documents\visual studio 2010\Projects\Genesis\Debug\sfml-graphics-s-d.pdb'; linking object as if no debug info
1>sfml-graphics-s-d.lib(View.cpp.obj) : warning LNK4099: PDB 'sfml-graphics-s-d.pdb' was not found with 'sfml-graphics-s-d.lib(View.cpp.obj)' or at 'C:\Users\Flash619\documents\visual studio 2010\Projects\Genesis\Debug\sfml-graphics-s-d.pdb'; linking object as if no debug info
1>sfml-graphics-s-d.lib(Vertex.cpp.obj) : warning LNK4099: PDB 'sfml-graphics-s-d.pdb' was not found with 'sfml-graphics-s-d.lib(Vertex.cpp.obj)' or at 'C:\Users\Flash619\documents\visual studio 2010\Projects\Genesis\Debug\sfml-graphics-s-d.pdb'; linking object as if no debug info
1>sfml-graphics-s-d.lib(VertexArray.cpp.obj) : warning LNK4099: PDB 'sfml-graphics-s-d.pdb' was not found with 'sfml-graphics-s-d.lib(VertexArray.cpp.obj)' or at 'C:\Users\Flash619\documents\visual studio 2010\Projects\Genesis\Debug\sfml-graphics-s-d.pdb'; linking object as if no debug info
1>sfml-system-s-d.lib(Clock.cpp.obj) : warning LNK4099: PDB 'sfml-system-s-d.pdb' was not found with 'sfml-system-s-d.lib(Clock.cpp.obj)' or at 'C:\Users\Flash619\documents\visual studio 2010\Projects\Genesis\Debug\sfml-system-s-d.pdb'; linking object as if no debug info
1>sfml-system-s-d.lib(Err.cpp.obj) : warning LNK4099: PDB 'sfml-system-s-d.pdb' was not found with 'sfml-system-s-d.lib(Err.cpp.obj)' or at 'C:\Users\Flash619\documents\visual studio 2010\Projects\Genesis\Debug\sfml-system-s-d.pdb'; linking object as if no debug info
1>sfml-system-s-d.lib(Lock.cpp.obj) : warning LNK4099: PDB 'sfml-system-s-d.pdb' was not found with 'sfml-system-s-d.lib(Lock.cpp.obj)' or at 'C:\Users\Flash619\documents\visual studio 2010\Projects\Genesis\Debug\sfml-system-s-d.pdb'; linking object as if no debug info
1>sfml-system-s-d.lib(Mutex.cpp.obj) : warning LNK4099: PDB 'sfml-system-s-d.pdb' was not found with 'sfml-system-s-d.lib(Mutex.cpp.obj)' or at 'C:\Users\Flash619\documents\visual studio 2010\Projects\Genesis\Debug\sfml-system-s-d.pdb'; linking object as if no debug info
1>sfml-system-s-d.lib(Sleep.cpp.obj) : warning LNK4099: PDB 'sfml-system-s-d.pdb' was not found with 'sfml-system-s-d.lib(Sleep.cpp.obj)' or at 'C:\Users\Flash619\documents\visual studio 2010\Projects\Genesis\Debug\sfml-system-s-d.pdb'; linking object as if no debug info
1>sfml-system-s-d.lib(String.cpp.obj) : warning LNK4099: PDB 'sfml-system-s-d.pdb' was not found with 'sfml-system-s-d.lib(String.cpp.obj)' or at 'C:\Users\Flash619\documents\visual studio 2010\Projects\Genesis\Debug\sfml-system-s-d.pdb'; linking object as if no debug info
1>sfml-system-s-d.lib(ThreadLocal.cpp.obj) : warning LNK4099: PDB 'sfml-system-s-d.pdb' was not found with 'sfml-system-s-d.lib(ThreadLocal.cpp.obj)' or at 'C:\Users\Flash619\documents\visual studio 2010\Projects\Genesis\Debug\sfml-system-s-d.pdb'; linking object as if no debug info
1>sfml-system-s-d.lib(Time.cpp.obj) : warning LNK4099: PDB 'sfml-system-s-d.pdb' was not found with 'sfml-system-s-d.lib(Time.cpp.obj)' or at 'C:\Users\Flash619\documents\visual studio 2010\Projects\Genesis\Debug\sfml-system-s-d.pdb'; linking object as if no debug info
1>sfml-system-s-d.lib(ClockImpl.cpp.obj) : warning LNK4099: PDB 'sfml-system-s-d.pdb' was not found with 'sfml-system-s-d.lib(ClockImpl.cpp.obj)' or at 'C:\Users\Flash619\documents\visual studio 2010\Projects\Genesis\Debug\sfml-system-s-d.pdb'; linking object as if no debug info
1>sfml-system-s-d.lib(MutexImpl.cpp.obj) : warning LNK4099: PDB 'sfml-system-s-d.pdb' was not found with 'sfml-system-s-d.lib(MutexImpl.cpp.obj)' or at 'C:\Users\Flash619\documents\visual studio 2010\Projects\Genesis\Debug\sfml-system-s-d.pdb'; linking object as if no debug info
1>sfml-system-s-d.lib(SleepImpl.cpp.obj) : warning LNK4099: PDB 'sfml-system-s-d.pdb' was not found with 'sfml-system-s-d.lib(SleepImpl.cpp.obj)' or at 'C:\Users\Flash619\documents\visual studio 2010\Projects\Genesis\Debug\sfml-system-s-d.pdb'; linking object as if no debug info
1>sfml-system-s-d.lib(ThreadLocalImpl.cpp.obj) : warning LNK4099: PDB 'sfml-system-s-d.pdb' was not found with 'sfml-system-s-d.lib(ThreadLocalImpl.cpp.obj)' or at 'C:\Users\Flash619\documents\visual studio 2010\Projects\Genesis\Debug\sfml-system-s-d.pdb'; linking object as if no debug info
1>sfml-window-s-d.lib(GlContext.cpp.obj) : warning LNK4099: PDB 'sfml-window-s-d.pdb' was not found with 'sfml-window-s-d.lib(GlContext.cpp.obj)' or at 'C:\Users\Flash619\documents\visual studio 2010\Projects\Genesis\Debug\sfml-window-s-d.pdb'; linking object as if no debug info
1>sfml-window-s-d.lib(GlResource.cpp.obj) : warning LNK4099: PDB 'sfml-window-s-d.pdb' was not found with 'sfml-window-s-d.lib(GlResource.cpp.obj)' or at 'C:\Users\Flash619\documents\visual studio 2010\Projects\Genesis\Debug\sfml-window-s-d.pdb'; linking object as if no debug info
1>sfml-window-s-d.lib(JoystickManager.cpp.obj) : warning LNK4099: PDB 'sfml-window-s-d.pdb' was not found with 'sfml-window-s-d.lib(JoystickManager.cpp.obj)' or at 'C:\Users\Flash619\documents\visual studio 2010\Projects\Genesis\Debug\sfml-window-s-d.pdb'; linking object as if no debug info
1>sfml-window-s-d.lib(VideoMode.cpp.obj) : warning LNK4099: PDB 'sfml-window-s-d.pdb' was not found with 'sfml-window-s-d.lib(VideoMode.cpp.obj)' or at 'C:\Users\Flash619\documents\visual studio 2010\Projects\Genesis\Debug\sfml-window-s-d.pdb'; linking object as if no debug info
1>sfml-window-s-d.lib(Window.cpp.obj) : warning LNK4099: PDB 'sfml-window-s-d.pdb' was not found with 'sfml-window-s-d.lib(Window.cpp.obj)' or at 'C:\Users\Flash619\documents\visual studio 2010\Projects\Genesis\Debug\sfml-window-s-d.pdb'; linking object as if no debug info
1>sfml-window-s-d.lib(WindowImpl.cpp.obj) : warning LNK4099: PDB 'sfml-window-s-d.pdb' was not found with 'sfml-window-s-d.lib(WindowImpl.cpp.obj)' or at 'C:\Users\Flash619\documents\visual studio 2010\Projects\Genesis\Debug\sfml-window-s-d.pdb'; linking object as if no debug info
1>sfml-window-s-d.lib(WglContext.cpp.obj) : warning LNK4099: PDB 'sfml-window-s-d.pdb' was not found with 'sfml-window-s-d.lib(WglContext.cpp.obj)' or at 'C:\Users\Flash619\documents\visual studio 2010\Projects\Genesis\Debug\sfml-window-s-d.pdb'; linking object as if no debug info
1>sfml-window-s-d.lib(JoystickImpl.cpp.obj) : warning LNK4099: PDB 'sfml-window-s-d.pdb' was not found with 'sfml-window-s-d.lib(JoystickImpl.cpp.obj)' or at 'C:\Users\Flash619\documents\visual studio 2010\Projects\Genesis\Debug\sfml-window-s-d.pdb'; linking object as if no debug info
1>sfml-window-s-d.lib(VideoModeImpl.cpp.obj) : warning LNK4099: PDB 'sfml-window-s-d.pdb' was not found with 'sfml-window-s-d.lib(VideoModeImpl.cpp.obj)' or at 'C:\Users\Flash619\documents\visual studio 2010\Projects\Genesis\Debug\sfml-window-s-d.pdb'; linking object as if no debug info
1>sfml-window-s-d.lib(WindowImplWin32.cpp.obj) : warning LNK4099: PDB 'sfml-window-s-d.pdb' was not found with 'sfml-window-s-d.lib(WindowImplWin32.cpp.obj)' or at 'C:\Users\Flash619\documents\visual studio 2010\Projects\Genesis\Debug\sfml-window-s-d.pdb'; linking object as if no debug info
1>  Genesis.vcxproj -> C:\Users\Flash619\documents\visual studio 2010\Projects\Genesis\Debug\Genesis.exe
========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========

The error I get on running:

Quote
Unhandled exception at 0x770215de (ntdll.dll) in Genesis.exe: 0xC0000005: Access violation writing location 0x00000004.

^Not sure if thats related or not, just thought I would include it for safety sake.  Not even sure why that dll is causing a big issue unless its the conflicts above causing it.

I'm not entirely sure what I'm doing right or wrong. I used the -s-d Libraries in the 1.6 version without this much error. :/ It does work with the dynamic libraries, but I would rather stick close to what I was using. At this point however. I'm open for any suggestion or question.

I look foreward to hearing from you on this matter!

Thank you for your time, and huge thanks in advance! :)


139
The position of the sprite won't change, the only thing that does change are the properties of the window and its connected view, which will stretch the sprites.

A quick search on 'resize' would've probably answered your question (hint: this link leads you to the search function). ;)

I myself use something like this to adjust the window size and to preserve a minimum size:
if(event.type == sf::Event::Resized)
{
        sf::Vector2f size = static_cast<sf::Vector2f>(mWindow.getSize());

        // Minimum size
        if(size.x < 800)
                size.x = 800;
        if(size.y < 600)
                size.y = 600;

        view.setCenter(size/2.f);
        view.setSize(size);
        window.setSize(static_cast<sf::Vector2<unsigned int> >(size));
        window.setView(sf::View(sf::FloatRect(0.f, 0.f, size.x, size.y)));
}

You know out of all the times I used the search function, I never once thought of using it for this... -_-

You mentioned it would stretch the sprites, Thought, I suppose you could check the window size and if its resized below or above certain points, you could probably load a more high res image as the sprite? Or is there a simpler way. I just think using the normal resize might take a bit more cpu and have less quality than loading multiple images but I may be wrong, I have been before.

140
       Well I was programming the other day, and was wondering. If someone made the window bigger, or changed its size, it may throw off the positions of the sprites, ie, no longer symmetrical to the window.  For this I was wondering if there was a way to handle this, or if I would just have to write a bunch of code to handle it.

        Has anyone else had prior experience with this? I'm new to drawing sprites so I honestly have no clue. x3 I was thinking of making some massive file to be able to position them via percentages, but am worried that, that may make the program take longer to draw, or that it would be nearly impossible to cover every possible percentage.

         Any ideas? Perhaps make it that the window itself can't be resized and make resizing only a option via menu that updates variables for the positions of the sprites? That seems like the easiest way so far, but I don't want to go cheap if I don't have to. xD

         Anyway I look forward to hearing from you! :D

141
General / Re: Visual Studio, #include with SMFL problems.
« on: June 13, 2012, 05:25:43 pm »
It will probably work much better with the actual name of the library, which is SFML and not SMFL.

PHHHHHHHHHHHHHHHHHHHHHhhhhhhhhhh  :o

 ::) *feels dumb* Hahaha Thank you for your help! XD

142
General / Visual Studio, #include with SMFL problems.
« on: June 13, 2012, 05:02:17 pm »

       Today I started a small project to play with SMFL but for some reason, Visual studio does not like to import SMFL 1.6 via the code:

Quote
#include "SFML\Window.hpp"
#include <SMFL/Graphics.hpp>

Now the odd thing I found, the one on the top, actually works "just me playing around". The one on the bottom however, does not. I just compiled SMFL twice today to test this, I will also list all of my settings including the directory were SMFL currently sits on my drive. I ran into this error while following a tutorial here.

SMF Directory Location: C:\SFML-1.6

Visual Studio Project Settings:
C++ General: Aditional Included Directories: C:\SFML-1.6\include;%(AdditionalIncludeDirectories)
Linker General: C:\SFML-1.6\lib\vc1010D;%(AdditionalLibraryDirectories)
Linker Input: kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;sfml-system-d.lib;sfml-main-d.lib;sfml-graphics-d.lib;sfml-audio-d.lib;sfml-network-d.lib;sfml-window-d.lib;smfl-system-s.lib;%AdditionalDependencies)

I also have included screen shots to my configuration and the error in Visual Studio.

The error reads out: Error: Cannot open source file "SMFL/Graphics.hpp"

I wasn't really sure what type of an error this is, but tried my best to google it, and everywhere I was able to see people using "<SMFL/Anything.hpp>" just fine so I'm not sure what I have done wrong.

Huge thanks in advance to anyone who can help. I am willing to provide any information you need, but still feel like this is probably a simple problem, I figure having two sets of eyes may help.

I look foreward to hearing from you!

~Flash619

Pics,




Pages: 1 ... 8 9 [10]