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 - conflux

Pages: [1]
1
General / Re: Can't compile on Visual Studio
« on: March 10, 2017, 04:52:19 am »
There are way better places to deal with such problems - like I bet you'll find someone on SO who has run into this issue once before.

I've no idea what it is, but your compiler or from where ever you got that output from (were did you get that from?), can't find and/or open the STL include headers. Which can only mean that you've screwed up something somewhere.

Other remarks:
Why go with VS 2015 when you can get the shiny VS 2017 with a nicer install setup?
What's your concern about using MinGW? What do you expect to work better with the "default" Windows compiler?

1. i came here first because there is 1 error related to SFML, but i guess that is just because the STL problem snowballed

2. got the errors from VS, ofc

3. i don't like experimenting beta things, but now that you said, I'll think about it

4. VS outputs native apps, mingw is a workaround that outputs apps that relies on some kind of layer, i don't have technical knowledge on that kind of thing, but i think it's pretty obvious that i should get used to VS even if i hate it

2
General / Can't compile on Visual Studio
« on: March 09, 2017, 11:53:33 pm »
I know this problem is more related to Visual Studio than to SFML, but Microsoft is known for their legendary useless and annoying user support, so, please guys, be nice to me, be the savior of my day!

I've been on a crusade to make Visual Studio work, just to install it was a nightmare, I've always used mingw and codeblocks, but now it's time to move on and accept the fact that VC++ is the default windows compiler and therefore it's the only viable choice for the platform, others are just workaround.

After a lot of tries to install it, i finnaly got Visual Studio running, BUT, it couldn't create C++ projects, only C#, after an eternal repair/uninstall/install loop, now it's creating C++ projects, but it's really broken, take a loot at the error log that i gor after completing the tutorial:
Severity        Code    Description     Project File    Line    Suppression State
Error (active)          no instance of constructor "sf::RenderWindow::RenderWindow" matches the argument list   FreakRunner     e:\code\FreakRunner\windows\FreakRunner\main.cpp        5      
Error (active)          cannot open source file "vector"        FreakRunner     e:\code\SFML\vc2015\SFML-2.4.2\include\SFML\Graphics\ConvexShape.hpp    33     
Error (active)          cannot open source file "map"   FreakRunner     e:\code\SFML\vc2015\SFML-2.4.2\include\SFML\Graphics\Font.hpp   37     
Error (active)          cannot open source file "string"        FreakRunner     e:\code\SFML\vc2015\SFML-2.4.2\include\SFML\Graphics\Font.hpp   38     
Error (active)          cannot open source file "vector"        FreakRunner     e:\code\SFML\vc2015\SFML-2.4.2\include\SFML\Graphics\Font.hpp   39     
Error (active)          namespace "std" has no member "size_t"  FreakRunner     e:\code\SFML\vc2015\SFML-2.4.2\include\SFML\Graphics\Glsl.inl   40     
Error (active)          cannot open source file "string"        FreakRunner     e:\code\SFML\vc2015\SFML-2.4.2\include\SFML\Graphics\Image.hpp  34     
Error (active)          cannot open source file "vector"        FreakRunner     e:\code\SFML\vc2015\SFML-2.4.2\include\SFML\Graphics\Image.hpp  35     
Error (active)          cannot open source file "algorithm"     FreakRunner     e:\code\SFML\vc2015\SFML-2.4.2\include\SFML\Graphics\Rect.hpp   32     
Error (active)          cannot open source file "string"        FreakRunner     e:\code\SFML\vc2015\SFML-2.4.2\include\SFML\Graphics\RenderWindow.hpp   35     
Error (active)          cannot open source file "map"   FreakRunner     e:\code\SFML\vc2015\SFML-2.4.2\include\SFML\Graphics\Shader.hpp 37     
Error (active)          cannot open source file "string"        FreakRunner     e:\code\SFML\vc2015\SFML-2.4.2\include\SFML\Graphics\Shader.hpp 38     
Error (active)          cannot open source file "string"        FreakRunner     e:\code\SFML\vc2015\SFML-2.4.2\include\SFML\Graphics\Text.hpp   38     
Error (active)          cannot open source file "vector"        FreakRunner     e:\code\SFML\vc2015\SFML-2.4.2\include\SFML\Graphics\Text.hpp   39     
Error (active)          namespace "std" has no member "string"  FreakRunner     e:\code\SFML\vc2015\SFML-2.4.2\include\SFML\Graphics\Texture.hpp        127    
Error (active)          namespace "std" has no member "size_t"  FreakRunner     e:\code\SFML\vc2015\SFML-2.4.2\include\SFML\Graphics\Texture.hpp        159    
Error (active)          cannot open source file "vector"        FreakRunner     e:\code\SFML\vc2015\SFML-2.4.2\include\SFML\Graphics\VertexArray.hpp    36     
Error (active)          cannot open source file "ostream"       FreakRunner     e:\code\SFML\vc2015\SFML-2.4.2\include\SFML\System\Err.hpp      32     
Error (active)          namespace "std" has no member "ostream" FreakRunner     e:\code\SFML\vc2015\SFML-2.4.2\include\SFML\System\Err.hpp      41     
Error (active)          cannot open source file "cstdio"        FreakRunner     e:\code\SFML\vc2015\SFML-2.4.2\include\SFML\System\FileInputStream.hpp  35     
Error (active)          cannot open source file "string"        FreakRunner     e:\code\SFML\vc2015\SFML-2.4.2\include\SFML\System\FileInputStream.hpp  36     
Error (active)          cannot open source file "cstdlib"       FreakRunner     e:\code\SFML\vc2015\SFML-2.4.2\include\SFML\System\MemoryInputStream.hpp        34     
Error (active)          cannot open source file "iterator"      FreakRunner     e:\code\SFML\vc2015\SFML-2.4.2\include\SFML\System\String.hpp   33     
Error (active)          cannot open source file "locale"        FreakRunner     e:\code\SFML\vc2015\SFML-2.4.2\include\SFML\System\String.hpp   34     
Error (active)          cannot open source file "string"        FreakRunner     e:\code\SFML\vc2015\SFML-2.4.2\include\SFML\System\String.hpp   35     
Error (active)          explicit type is missing ('int' assumed)        FreakRunner     e:\code\SFML\vc2015\SFML-2.4.2\include\SFML\System\String.hpp   52     
Error (active)          namespace "std" has no member "basic_string"    FreakRunner     e:\code\SFML\vc2015\SFML-2.4.2\include\SFML\System\String.hpp   52     
Error (active)          expected a ';'  FreakRunner     e:\code\SFML\vc2015\SFML-2.4.2\include\SFML\System\String.hpp   52     
Error (active)          explicit type is missing ('int' assumed)        FreakRunner     e:\code\SFML\vc2015\SFML-2.4.2\include\SFML\System\String.hpp   53     
Error (active)          namespace "std" has no member "basic_string"    FreakRunner     e:\code\SFML\vc2015\SFML-2.4.2\include\SFML\System\String.hpp   53     
Error (active)          expected a ';'  FreakRunner     e:\code\SFML\vc2015\SFML-2.4.2\include\SFML\System\String.hpp   53     
Error (active)          namespace "std" has no member "size_t"  FreakRunner     e:\code\SFML\vc2015\SFML-2.4.2\include\SFML\System\String.hpp   58     
Error (active)          namespace "std" has no member "locale"  FreakRunner     e:\code\SFML\vc2015\SFML-2.4.2\include\SFML\System\String.hpp   78     
Error (active)          namespace "std" has no member "locale"  FreakRunner     e:\code\SFML\vc2015\SFML-2.4.2\include\SFML\System\String.hpp   78     
Error (active)          namespace "std" has no member "locale"  FreakRunner     e:\code\SFML\vc2015\SFML-2.4.2\include\SFML\System\String.hpp   106    
Error (active)          namespace "std" has no member "locale"  FreakRunner     e:\code\SFML\vc2015\SFML-2.4.2\include\SFML\System\String.hpp   106    
Error (active)          namespace "std" has no member "string"  FreakRunner     e:\code\SFML\vc2015\SFML-2.4.2\include\SFML\System\String.hpp   118    
Error (active)          namespace "std" has no member "locale"  FreakRunner     e:\code\SFML\vc2015\SFML-2.4.2\include\SFML\System\String.hpp   118    
Error (active)          namespace "std" has no member "locale"  FreakRunner     e:\code\SFML\vc2015\SFML-2.4.2\include\SFML\System\String.hpp   118    
Error (active)          namespace "std" has no member "wstring" FreakRunner     e:\code\SFML\vc2015\SFML-2.4.2\include\SFML\System\String.hpp   134    
Error (active)          explicit type is missing ('int' assumed)        FreakRunner     e:\code\SFML\vc2015\SFML-2.4.2\include\SFML\System\String.hpp   150    
Error (active)          expected a ')'  FreakRunner     e:\code\SFML\vc2015\SFML-2.4.2\include\SFML\System\String.hpp   150    
Error (active)          explicit type is missing ('int' assumed)        FreakRunner     e:\code\SFML\vc2015\SFML-2.4.2\include\SFML\System\String.hpp   221    
Error (active)          expected an operator    FreakRunner     e:\code\SFML\vc2015\SFML-2.4.2\include\SFML\System\String.hpp   221    
Error (active)          explicit type is missing ('int' assumed)        FreakRunner     e:\code\SFML\vc2015\SFML-2.4.2\include\SFML\System\String.hpp   236    
Error (active)          expected an operator    FreakRunner     e:\code\SFML\vc2015\SFML-2.4.2\include\SFML\System\String.hpp   236    
Error (active)          namespace "std" has no member "string"  FreakRunner     e:\code\SFML\vc2015\SFML-2.4.2\include\SFML\System\String.hpp   253    
Error (active)          namespace "std" has no member "locale"  FreakRunner     e:\code\SFML\vc2015\SFML-2.4.2\include\SFML\System\String.hpp   253    
Error (active)          namespace "std" has no member "locale"  FreakRunner     e:\code\SFML\vc2015\SFML-2.4.2\include\SFML\System\String.hpp   253    
Error (active)          namespace "std" has no member "wstring" FreakRunner     e:\code\SFML\vc2015\SFML-2.4.2\include\SFML\System\String.hpp   266    
Error (active)          this declaration has no storage class or type specifier FreakRunner     e:\code\SFML\vc2015\SFML-2.4.2\include\SFML\System\String.hpp   276    
Error (active)          namespace "std" has no member "basic_string"    FreakRunner     e:\code\SFML\vc2015\SFML-2.4.2\include\SFML\System\String.hpp   276    
Error (active)          expected a ';'  FreakRunner     e:\code\SFML\vc2015\SFML-2.4.2\include\SFML\System\String.hpp   276    
Error (active)          this declaration has no storage class or type specifier FreakRunner     e:\code\SFML\vc2015\SFML-2.4.2\include\SFML\System\String.hpp   286    
Error (active)          namespace "std" has no member "basic_string"    FreakRunner     e:\code\SFML\vc2015\SFML-2.4.2\include\SFML\System\String.hpp   286    
Error (active)          expected a ';'  FreakRunner     e:\code\SFML\vc2015\SFML-2.4.2\include\SFML\System\String.hpp   286    
Error (active)          this declaration has no storage class or type specifier FreakRunner     e:\code\SFML\vc2015\SFML-2.4.2\include\SFML\System\String.hpp   299    
Error (active)          namespace "std" has no member "basic_string"    FreakRunner     e:\code\SFML\vc2015\SFML-2.4.2\include\SFML\System\String.hpp   299    
Error (active)          expected a ';'  FreakRunner     e:\code\SFML\vc2015\SFML-2.4.2\include\SFML\System\String.hpp   299    
Error (active)          namespace "std" has no member "size_t"  FreakRunner     e:\code\SFML\vc2015\SFML-2.4.2\include\SFML\System\String.hpp   332    
Error (active)          namespace "std" has no member "size_t"  FreakRunner     e:\code\SFML\vc2015\SFML-2.4.2\include\SFML\System\String.hpp   345    
Error (active)          namespace "std" has no member "size_t"  FreakRunner     e:\code\SFML\vc2015\SFML-2.4.2\include\SFML\System\String.hpp   365    
Error (active)          namespace "std" has no member "size_t"  FreakRunner     e:\code\SFML\vc2015\SFML-2.4.2\include\SFML\System\String.hpp   387    
Error (active)          namespace "std" has no member "size_t"  FreakRunner     e:\code\SFML\vc2015\SFML-2.4.2\include\SFML\System\String.hpp   387    
Error (active)          namespace "std" has no member "size_t"  FreakRunner     e:\code\SFML\vc2015\SFML-2.4.2\include\SFML\System\String.hpp   399    
Error (active)          namespace "std" has no member "size_t"  FreakRunner     e:\code\SFML\vc2015\SFML-2.4.2\include\SFML\System\String.hpp   413    
Error (active)          namespace "std" has no member "size_t"  FreakRunner     e:\code\SFML\vc2015\SFML-2.4.2\include\SFML\System\String.hpp   413    
Error (active)          namespace "std" has no member "size_t"  FreakRunner     e:\code\SFML\vc2015\SFML-2.4.2\include\SFML\System\String.hpp   427    
Error (active)          namespace "std" has no member "size_t"  FreakRunner     e:\code\SFML\vc2015\SFML-2.4.2\include\SFML\System\String.hpp   427    
Error (active)          namespace "std" has no member "size_t"  FreakRunner     e:\code\SFML\vc2015\SFML-2.4.2\include\SFML\System\String.hpp   456    
Error (active)          namespace "std" has no member "size_t"  FreakRunner     e:\code\SFML\vc2015\SFML-2.4.2\include\SFML\System\String.hpp   456    
Error (active)          identifier "Iterator" is undefined      FreakRunner     e:\code\SFML\vc2015\SFML-2.4.2\include\SFML\System\String.hpp   479    
Error (active)          identifier "ConstIterator" is undefined FreakRunner     e:\code\SFML\vc2015\SFML-2.4.2\include\SFML\System\String.hpp   489    
Error (active)          identifier "Iterator" is undefined      FreakRunner     e:\code\SFML\vc2015\SFML-2.4.2\include\SFML\System\String.hpp   503    
Error (active)          identifier "ConstIterator" is undefined FreakRunner     e:\code\SFML\vc2015\SFML-2.4.2\include\SFML\System\String.hpp   517    
Error (active)          this declaration has no storage class or type specifier FreakRunner     e:\code\SFML\vc2015\SFML-2.4.2\include\SFML\System\String.hpp   527    
Error (active)          namespace "std" has no member "basic_string"    FreakRunner     e:\code\SFML\vc2015\SFML-2.4.2\include\SFML\System\String.hpp   527    
Error (active)          expected a ';'  FreakRunner     e:\code\SFML\vc2015\SFML-2.4.2\include\SFML\System\String.hpp   527    
Error (active)          cannot open source file "cstdlib"       FreakRunner     e:\code\SFML\vc2015\SFML-2.4.2\include\SFML\System\Thread.hpp   33     
Error (active)          cannot open source file "cstdlib"       FreakRunner     e:\code\SFML\vc2015\SFML-2.4.2\include\SFML\System\ThreadLocal.hpp      33     
Error (active)          cannot open source file "algorithm"     FreakRunner     e:\code\SFML\vc2015\SFML-2.4.2\include\SFML\System\Utf.hpp      32     
Error (active)          cannot open source file "locale"        FreakRunner     e:\code\SFML\vc2015\SFML-2.4.2\include\SFML\System\Utf.hpp      33     
Error (active)          cannot open source file "string"        FreakRunner     e:\code\SFML\vc2015\SFML-2.4.2\include\SFML\System\Utf.hpp      34     
Error (active)          cannot open source file "cstdlib"       FreakRunner     e:\code\SFML\vc2015\SFML-2.4.2\include\SFML\System\Utf.hpp      35     
Error (active)          cannot open source file "vector"        FreakRunner     e:\code\SFML\vc2015\SFML-2.4.2\include\SFML\Window\VideoMode.hpp        32     
Error   TRK0005 Failed to locate: "CL.exe". The system cannot find the file specified.  FreakRunner     E:\code\FreakRunner\windows\FreakRunner\TRACKER 1      
 

OBS: every time i install Visual Studio it says on the end that it couldn't get the Debug compilers(x86 and x64), but i checked and CL.exe is there, it exists, so I'm trying to build it as release(x64).

Thanks in advance.

Pages: [1]
anything