I compile on a windows 7, 64 bit laptop with vs 2015. The program(s) works on my laptop, and my windows 7, 64 bit desktop; it does not work on 2 windows 10 computers and a windows 7 computer owned by my friends.
I am using sfml 2.3.2 with c++, when executing a program that i compiled (one with graphics, system, and window, and another with system and networking), the computer throws an error "The application was unable to start correctly (0xc000007b). Click OK to close the application" . I have programs that I made also with sfml that do not throw the error, but i still believe the issue to be sfml (or probably my handling of it) because if I remove one of the sfml files nessesary for dynamic linking, I get a window saying that such file (eg sfml-audio-d-2.dll) is missing like normal, but when I have all of the necessary files the window pops up.
looking for any real reason this might happen, or a solution to the issue.
just ask for more information if necessary as I don't know what to include. thanks for any response.
----EDIT----
I apoligize for not trying this sooner, but I tried to use another program without sfml at all
void Vector()
{
std::vector<int> x;
for (int i = 0; i < i + 1; i++)
{
x.resize(x.size() + 1);
x[x.size() - 1] = i;
std::cout << x << "::";
}
}
void main()
{
Vector();
while (true){}
}
and I received the same error message when executing, I'm still asking for help, it just probably isn't related to sfml.
----EDIT-----
Turns out I'm just dumb and needed to compile in release...