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.


Topics - Memorix101

Pages: [1]
1
General / Weird console output
« on: July 03, 2016, 08:57:14 pm »
Hello,

Since a few days I've a problem using SFML.
Every time I compile a SFML application I get weird symbols in console and after that the exe crashes after
a few seconds. Does anybody know how to fix this ? It's pretty weird and even on old project who used to work flawlessly :O It doesn't matter what version of Visual Studio (2013 / 2015) I use for this :(

My VS 2015 project file: https://drive.google.com/file/d/0B5ILUdQjFzf2am1HdmhUTmg4aUU/view?usp=sharing

Thanks :)

2
General / Difficult C2664 error
« on: April 17, 2015, 09:59:18 pm »
Hey guys,

I'm new here :)

I'm currently trying to rewrite the Cube engine step by step in SFML by replacing the old SDL 1.2 code.
So, I decided to start first with the audio stuff from the engine. After a few time of writing I got into an error.
Now, I found out that this error occurs when I just write one SFML line.

Just writing #include <SFML/xxxx.hpp> causes to throw a C2664 error. This thing seems to be a compiler error. I have absolutely no idea, why this is happening and why it only happens with SFML. I'm running Windows 7 x64 and my IDE is Visual Studio 2013. I hope you guys can help me :)

Here the complete error message:
Code: [Select]
Error 16 error C2664: 'std::ostreambuf_iterator<char,std::char_traits<char>> std::num_put<char,std::ostreambuf_iterator<char,std::char_traits<char>>>::_Iput(_OutIt,std::ios_base &,_Elem,char *,size_t) const' : cannot convert argument 5 from 'sprintf_s_f' to 'size_t'
c:\program files (x86)\microsoft visual studio 12.0\vc\include\xlocnum 1213 1 cube

Pages: [1]
anything