Hello... again, an SFML problem for me :(
what linkers do i need to compile the SFML tutorial "Using render windows", because it said i only need
i link the sfml-graphics library, but it says "Segmentation Fault" what other libraries do i need?
Segmentation Fault is not a compile-time error. Check all your arrays for out-of-bounds problems and pointers for validity, as a Segmentation Fault occurs when you try to write to or read from a piece of memory that is write- or read-protected, respectively, inclusively.
1. Post the code.
2. Specify what line in the code causes the problem.
As Albatross said, forgetting to link a library would not cause a segmentation fault, but a link error.
I tested the code, compiles and runs fine for me too.
You don't even need to set any breakpoints, just run it with gdb. The callstack will tell you where the problem occured.
If you have read, and agree with The Arch Way philosophy, embrace the 'do-it-yourself' approach and require or desire a simple, elegant, highly customizable, bleeding edge, general purpose GNU/Linux distribution, chances are you may like Arch.
Wikipedia wrote:
Bleeding edge is a term that refers to technology that is so new (and thus, presumably, not perfected) that the user is required to risk reductions in stability and productivity in order to use it.
no i obviously havent reviewed every distro, but the one i compiled the program on " ubuntu " i know that sometimes it takes weeks for something new to come into the software manager/package manager and ive read a few reviews that arch has a better package manager ( pacman )
Well, that depends on your definition of "better". pacman is simpler and faster and IMO it is better; but that doesn't mean that it is.
Also, no review can beat experience. Most people reviewing Linux distros install <distro> and then proceed to download and install 50 .iso files of other distros, stick them all on an emulator and then benchmark them (remember that <distro> is the host OS, running on real hardware, and therefore has a massive advantage). I'm not even making this up; I've actually read such a review (IIRC it was Ubuntu vs. FreeBSD).
blah cross out the word better, change it to " more up to date "
true, i installed arch on vbox, i like it a lot, the only reason i dont put it on my accual computer is that is would be a pain reinstalling everything and also i need to back-up all my files