Compile SFML 2.1 for Visual Studio Express 2013 Windows Desktop - visual-c++

I am new to C++ programming, so I thought to get into it by getting familiar with SFML.
I downloaded Visual Studio 2013 Express Windows Desktop.
Then I realized that there is no SFML for VS2013.
So I have to compile/built it for me and I downloaded CMake.
When compiling it regarding some of the many tutorials on the internet, I get to the point, when I have to build in VS2013 with the "SFML_STATIC" flag.
Thus before, I build it successfully for the shared libs.
When I generate in CMake against the generator "Visual Studio 12 2013", it will create five projects:
sfml-audio.vcxproj
sfml-graphics.vcxproj
sfml-network.vcxproj
sfml-system.vcxproj
sfml-window.vcxproj
It starts off with a problem that 4 of 5 projects are corrupt, so I have to manually fix the .vcxproj files.
After that I reload the projects and I start building the solution.
I do get linker errors, telling me he/she/it cannot find several files:
opengl32.lib;winmm.lib;gdi32.lib;ws2_32.lib;
and some SFML specific files.
I have found out that those files are in a location where in VS2013 the variable #(WindowsSdkDir) points to. But still those .dlls are note found, see
I also have found that there are some issues with this for VS2013 targeted at MS.
Does anyone know how to fix this? Did anyone built it successfully?
Many thanks in advance. I appreciate your help.

Related

Recompile on save isn't working

I started a Node.js project on Visual Studio 2017 Community on my PC at home, just to test a few things out and play around.
When I begin "debugging" (as in get Visual Studio to compile and launch the website), any changes I make and save to files are not reflected until I restart the entire debugging process. I've Node.js projects through Visual Studio on other computers, and they seemed to recompile the individual files as they were saved, reflecting any changes immediately. I can't seem to find anything online that would suggest a solution, I guess Visual Studio/node.js is a pretty rare combination.
My Visual Studio Community 2017 installation on Windows 10 is fairly slim. In terms of components:
Cloud, database, and server:
Connectivity and publishing tools
Web Deploy
Code tools: Developer Analytics tools
Debugging and testing: JavaScript diagnostics
Development activities:
JavaScript and TypeScript language support
Node.js support
SDKs, libraries, and frameworks: TypeScript 2.5 SDK
Would anyone how I can make Visual Studio recompile each file on save while debugging? It's definitely possible, I'm probably just missing something!
I've since figured that this is not native functionality for VisualStudio to recompile each time an application-dependent file is changed. There are, however, packages available that can allow Node to do this, such as Nodemon.

c++ programs on computers without visual studios

My friend and I are making a game using C++ and the sfml graphics library. We are almost done, but every time we manually put the .exe (and necessary assets) on a computer that doesn't have visual studios installed it gives an error. The error is: The program can't start because MSVCP120D.dll is missing from your computer. Try reinstalling the program to fix this problem. After making a copy of the .dll file and placing it in the local application folder, it came up with another error: The application was unable to start correctly (0xc000007b). I've seen a few posts on stack over flow and other resources, but the questions are usually lacking in detail and go unanswered.
You need to download the Visual C++ Redistributable Package for Visual Studio 2013 (VC++ v12) and install it.

mscvp80d.dll is missing. How to link against a more recent version? (MS Visualstudio 2012)

im trying to compile a solution in MS VS 2012 which was original written in MS VS 2005 (? I'm not sure but it is a much older version).
The compiling and linken works without any problems. But when I try to start the exe I'll get an error which says:
"msvcp80d.dll is missing from your computer"
I tried to install the old vc++ redist package, but this ships only with non debug version of the library.
Anyone knows how to force VS to link against a newer version of msvcp80d.dll. (should be msvcp110d.dll in this case). I already updated the complete solution without success. The plattformtoolset is set to "Visual Studio 2012 (v110)" but this seems to be ignored.
I would appreciate any help. Thanks in advance!

resharper8 cannot find vs2012 on installation

I'm installing resharper 8 (the latest till now) onto vs2012, but when I ran the .msi file, it says "unsatisfied requirement: microsoft visualstudio" which means resharper cannot detect any visual studio installed on on PC. But I do have VS 2012 ultimate version installed and registered.
Can anyone give me help?
My vs2012 has also update3 installed. I'm now trying update4.
Thanks in advance.
Leo
After having the same problem I looked more into it reading the system requirements - I didn't realize it doesn't work with Visual studio Express versions, I'm guessing that's the problem you're having.
Source:
http://www.jetbrains.com/resharper/download/system_requirements.html

Are you missing a using directive or an assembly reference error when all other dependent projects compile

Please watch this screencast as a video would say a thousand pictures:
https://dl.dropbox.com/u/84476328/ShareX/2013-10/2013-10-26_06-49-48.mp4
I recently installed Visual Studio 2013 and attempted to compile a perfectly working Visual Studio 2012 solution.
Start-up project is ShareX and I can compile all other dependent projects as shown in the screencast. When it gets to compiling the main project, it fails.
I have no idea how this could happen.
All projects are on .NET Framework 3.5.
Entire solution was fully compilable in Visual Studio 2012.
I have removed references and re-added them to no avail.
Appreciate any pointers in the right direction.
It turned out to be a problem with Nuget. The following source code changes in all the csproj files fixed it. I am linking it for future reference just in case another person stumbles across the same problem:
https://code.google.com/p/sharex/source/detail?r=742
I just experienced this problem as well (Win7, VS2012, C#, WinForms). My solution includes a personal "framework" DLL project that I reference directly, the main EXE project and a UnitTests project. I admit I moved the directory structure around a bit and hand edited the relative paths of the solution in Notepad++. A few builds/hours later I was getting hundreds of errors stemming from the framework DLL project being mysteriously missing.
Here's what fixed the situation for me:
Remove the offending project(s) from the solution.
Save the solution.
Add project(s) back to solution.
Update the project-project dependencies
Update references to the solution's project(s).
Save
Clean
Verify build order
Verify configuration manager
Rebuild solution

Resources