How to fix error with SFML ln VS 2017? - c++

Hi i followed this video to set-up VS2017 for sfml using.
Youtube Video
I did what he says but when i debug project i get this error:
Error MSB6006 "CL.exe" exited with code -1073741515.
I find out on google that this is some sort of compiler error but not how to fix this. Can someone help me or point me to answer?
I'm using Visual Studio 2017 and i downloaded SFML: Visual C++ 14 (2015) - 32-bit

Indeed, you compiler crashed. The status code -1073741515 translates to 0xC0000135 which in turn translates to STATUS_DLL_NOT_FOUND. That is bad. That is not about the SFML dlls, but a library Visual Studio itself uses. Something is very wrong with your Visual Studio installation.
Chances are you will get the same error without using SFML.
I don't know what the tutorial did and I'm not going to watch a video to find out. Your best chance is to do a clean reinstall of your Visual Studio installation and then follow the official guide from the SFML homepage. That works.

Related

How can I solve the directory problem of cplex in eclipse?

[enter image description here][1]I'm developing a c++ code on eclipse and i need cplex.
#include "ilcplex/ilocplex.h".
I have made this passages:
- project\properties\C/C++ built\Settings\GCC C++ compiler\Includes:
"C:\Program Files\IBM\ILOG\CPLEX_Studio126\cplex\include"
-project\properties\C/C++ built\Settings\MinGW C++ Linker\libraries:
"C:\Program Files\IBM\ILOG\CPLEX_Studio126\cplex\include\ilcplex"
and the library seems to be ok, since if i use f3 it works.
Despite this, it continues to give me this message:
fatal error: ilcplex/ilocplex.h no such file or directory.
I have tried to follow the instructions of the other similar posts, but nothing changed.
Can you please help me?
Even if you fix the error you are getting now, using CPLEX with gcc on Windows is not something that is supported, and it's likely you'll just run into another error. If you look at the detailed system requirements for CPLEX on Windows, you will see that Visual Studio 2015 or Visual Studio 2017 is required. You should take a look at the c_cpp.html file that gets installed with CPLEX for instructions on how to set up the Visual Studio environment when working with C/C++ projects.

Can't run application on PC without visual studio

I developed a game using visual studio 2015, done using c++ and opneGL with these libraries: GLEW, GLFW, ASSIMP, IRRKLANG.
It works fine on my PC and on Pcs of friends that have visual studio on their PCs but it cannot be start on other PCs.
I downloaded redistributables and I always get the same error which is msvcp140d.dll not found or something like that.
I tried to manual download it anf then the error changes until I can't download anything else.
I read that I had to change a setting in visual studio: change Runtime libraries from MD to MT but I still got the same problem.
Anyone knows what I can do?
Thanks a lot

Debug Assertion failed in OpenCV HoughCircles Example (C++) from xstring in VS2013

I am using Visual Studio 2013 on Windows 8.1, with OpenCV installed. I have copied the example hoghCircles() code and have built it, but I get an error in "line 1168" of xstring.
Any help would be appreciated :)
http://docs.opencv.org/doc/tutorials/imgproc/imgtrans/hough_circle/hough_circle.html
Since you haven't really provided much detail I am hazarding a guess here.
Are you running the debug version from within the debugger? If so you need to go to the property pages of the project and add a command argument so it has an image to work with.

opencv 2.4.3 configuration issue with visual studio 2010

I have tried to install and configure opencv and link it with visual studio 2010 in 32bit windows 7 but after all the configuration when i debug a piece of code i get this error really need help please help.
"error LNK1181: cannot open file 'opencv_calib3d243d.lib'"
"'opencv_calib3d243d.lib'" was included during the configuration, but still i get this error.
I have followed the coniguration procedure from here.
Installing OpenCV 2.4.3 in Visual C++ 2010 Express
There might be 2 things that are the source of your woes:
You are trying to link to x64 instead of x86 (this is assuming that your OS is 32-bit, of course)
You haven't specified the Linker Directory properly.
I would advise you to use CMake to link your libraries as it will make your life a lot simpler.. Please refer to my answer to this question for details..

Unable to build my code using Microsoft Visual Studio 2010

I'm using Microsoft Visual Studio 2010. It was going fine until this morning when I try to build my code. It gave me this weird error:
C:\Program Files
(x86)\MSBuild\Microsoft.Cpp\v4.0\Platforms
\Win32\Microsoft.Cpp.Win32.Targets(147,5)
:error` MSB6006: "CL.exe" exited with code 1073741855.
I have no idea why this error is occuring. I need help please.
I am using Window 7.
1073741855 is 0x0x4000001f, and 0x1f is decimal 31, and 31 is ERROR_GEN_FAILURE. In other words, something is hosed and VS isn't going to tell you what it is.
Go to Control Panel/Programs and Features, right click, Uninstall/Change, Repair/Reinstall. If that doesn't fix the problem, I would uninstall VS completely and reinstall.
For those of you looking to avoid the (timely) process of uninstalling and reinstalling Visual Studio, a simple restart worked for me. I have noticed this happens more often when I have multiple Visual Studio windows open.