In CodeBlocks with compiler GCC, libgcc_s_sjlj_1.dll is missing
<p>I'm trying to run my first SFML program using Code::Blocks 16.01. It compiles, but then warns me that libgcc_s_sjlj-1.dll is missing. My compiler is GCC 4.8.1-4. Other similar questions, such as: <a href="https://stackoverflow.com/questions/31091681/libgcc-s-sjlj-1-dll-is-missing">&quot;libgcc_s_sjlj-1.dll&quot; is missing</a>, have said to use linker flags, so I included <code>-static-libgcc</code> and <code>-static-libstdc++</code>as linker flags, but that didn't work. </p>

<p>The MinGW bin is included in my path. I have copied the .dlls into the directory with my executable. I looked in the actual bin and the .dll isn't even actually there, so I have reinstalled MinGW a couple times. </p>

<p>One thing I have not done is download the .dll itself which I have read is not a good idea. I'm not sure how to get past this error.</p>