undefined reference to `std::__default_alloc_template<true, 0>::deallocate(void*, unsigned int)'
<p>During linking code on ubuntu I get following error<br>
<code>undefined reference to 'std::__default_alloc_template&lt;true, 0&gt;::deallocate(void*, unsigned int)'</code>
<br>
I tried several g++ compilers but nothing changes. The reason I found in previous answers is wrong configuration if includes. Here are includes in the code:</p>

<pre><code>#pragma warning(disable:4786)

#include &lt;stdio.h&gt;
#include &lt;map&gt;
#include &lt;string&gt;
#include &lt;vector&gt;
#include &lt;png.h&gt;
#include &lt;math.h&gt;
#include &lt;ft2build.h&gt;
#include &lt;gd.h&gt;
#include FT_FREETYPE_H

using namespace std;

#ifndef WIN32
#define stricmp strcasecmp
#else
#include &lt;io.h&gt;
#include &lt;fcntl.h&gt;
#endif
</code></pre>

<p>Please help to fix those includes?</p>
