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

Pages: [1]
1
SFML 2.4 Entry Point Not Found The procedure entry point _ZSt24_throw_out_of_range_fmtPKcz could not be located in the dynamic link library libstdc++-6.dll. When I compile it from the source code(I use code::blocks), it works just fine, but I want it to work on other computers that don't have code::blocks,so I put the dlls in the exe folder. I Get this when I try to open my SFML program from the exe(I go to bin then debug), I put all the dlls that are required(alteast I think so) sfml-audio-2.dll sfml-audio-d-2.dll sfml-graphics-2.dll sfml-graphics-d-2.dll sfml-network-2.dll sfml-network-d-2.dll sfml-system-2.dll sfml-system-d-2.dll sfml-window-2.dll sfml-window-d-2.dll openal32.dll. Please explain me like I'm 5 years old.

2
General / Re: Function problems in c++ and SFML
« on: August 30, 2016, 10:36:10 pm »
Ah my bad I look realy dumb here, I suceeded but I didn't realise I was compiling the wrong thing the whole time sorry!

3
General / Re: Function problems in c++ and SFML
« on: August 30, 2016, 05:09:26 pm »
Okay, just tell me how do I do it, I will be very happy, I have a few years of problem solving expirience in c++ so I suck with pointers as I never needed them for problem solving competitions(logic and math), thank you!
I am very good from learning from seeing a example!

4
General / Function problems in c++ and SFML
« on: August 30, 2016, 02:45:07 pm »
.........
void foo(RenderWindow window){

 window.draw(bar);

}
........
int main(){

 RenderWindow window(....);//i have to define it in int main!

 foo(window);


return 0;
}


I need the function to work but the problem is that i need to define the window in int main but then i can't use the function, I tried using pointers but I suck with pointers so that was no good, offer a solution please.

Pages: [1]