# Error Compiling on 32bit Parabola Linux with gcc

**URL:** https://discourse.cataclysmdda.org/t/error-compiling-on-32bit-parabola-linux-with-gcc/13733
**Category:** The Garage
**Created:** [May 11, 2017, 3:57am UTC](https://discourse.cataclysmdda.org/t/error-compiling-on-32bit-parabola-linux-with-gcc/13733 "2017-05-11T03:57:16Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Amaranth](https://avatars.discourse-cdn.com/v4/letter/a/47e85d/32.png) [@Amaranth](https://discourse.cataclysmdda.org/u/Amaranth)
#### Post date: [May 11, 2017, 3:57am UTC](https://discourse.cataclysmdda.org/t/error-compiling-on-32bit-parabola-linux-with-gcc/13733/1 "2017-05-11T03:57:16Z")

</div>

Hello, I’ve recently started playing C:DDA again on the ncurses stable release, but I’d also like to compile from source too. Sadly, I’m getting an error, and I was wondering if someone would help diagnose it for me.  
I’ve been using make like so:  
make -j4 CCACHE=1 NATIVE=linux32 RELEASE=1 LOCALIZE=0

which then ends at:

…  
In file included from /usr/include/c++/6.3.1/string:52:0,  
from mtype.h:6,  
from game.h:4,  
from item\_factory.h:4,  
from item\_factory.cpp:1:  
/usr/include/c++/6.3.1/bits/basic\_string.h:5340:5: note: candidate: template\<class \_CharT, class \_Traits, class \_Alloc\> std::basic\_ostream\<\_CharT, \_Traits\>& std::operator\<\<(std::basic\_ostream\<\_CharT, \_Traits\>&, const std::\_\_cxx11::basic\_string\<\_CharT, \_Traits, \_Alloc\>&)  
operator\<\<(basic\_ostream\<\_CharT, \_Traits\>& \_\_os,  
^ ~~~~~~~  
/usr/include/c++/6.3.1/bits/basic\_string.h:5340:5: note: template argument deduction/substitution failed:  
item\_factory.cpp:579:64: note: ‘std::ifstream {aka std::basic\_ifstream}’ is not derived from ‘const std::\_\_cxx11::basic\_string\<\_CharT, \_Traits, \_Alloc\>’  
std::cerr \<\< “In JSON file “” \<\< file\_name \<\< “”” \<\< data\_file \<\< “:” \<\< err \<\< std::endl;  
^ ~~~~~~~~  
make: \*\*\* [Makefile:194: obj/item\_factory.o] Error 1  
make: \*\*\* Waiting for unfinished jobs…

I can try to attach the full output of make if needed, but for some reason I can’t attach the 33.8kB file, or even use a pastebin link / code tags. Hopefully it’s just some kind of spam protection on new accounts or something and I can upload it later.  
Regardless, I would be extremely grateful for the help!
