Menu

#7 Problem compiling Amygdala 0.4.0 on Linux

v1.0_(example)
open
nobody
None
5
2014-04-07
2014-04-07
mroms
No

Hi i have a problem "make"ing Amygdala

if /bin/sh ../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/libxml2 -I/usr/local/include -pthread -D_REENTRANT -O3 -Wall -MT network.lo -MD -MP -MF ".deps/network.Tpo" \ -c -o network.lo test -f 'network.cpp' || echo './'network.cpp; \ then mv -f ".deps/network.Tpo" ".deps/network.Plo"; \ else rm -f ".deps/network.Tpo"; exit 1; \ fi
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/libxml2 -I/usr/local/include -pthread -D_REENTRANT -O3 -Wall -MT network.lo -MD -MP -MF .deps/network.Tpo -c network.cpp -fPIC -DPIC -o .libs/network.o
In file included from network.cpp:22:0:
../amygdala/netloader.h:34:7: error: 'struct Amygdala::Factory' redeclared as different kind of symbol
class Factory;
^
In file included from network.cpp:20:0:
../amygdala/inputneuron.h:49:19: error: previous declaration of 'namespace Amygdala::Factory { }'
namespace Factory {
^
In file included from network.cpp:29:0:
../amygdala/synapse.h:111:58: error: declaration of 'typedef class Amygdala::NeuronConnector<Amygdala::StaticSynapse, Amygdala::StaticSynapseProperties=""> Amygdala::StaticSynapse::NeuronConnector' [-fpermissive]
typedef NeuronConnector<StaticSynapse, PropertyType=""> NeuronConnector;
^
In file included from ../amygdala/synapse.h:25:0,
from network.cpp:29:
../amygdala/nconnector.h:65:7: error: changes meaning of 'NeuronConnector' from 'class Amygdala::NeuronConnector<Amygdala::StaticSynapse, Amygdala::StaticSynapseProperties="">' [-fpermissive]
class NeuronConnector: public NConnector {
^
In file included from network.cpp:29:0:
../amygdala/synapse.h:161:59: error: declaration of 'typedef class Amygdala::NeuronConnector<Amygdala::DynamicSynapse, Amygdala::DynamicSynapseProperties=""> Amygdala::DynamicSynapse::NeuronConnector' [-fpermissive]
typedef NeuronConnector<DynamicSynapse, PropertyType=""> NeuronConnector;
^
In file included from ../amygdala/synapse.h:25:0,
from network.cpp:29:
../amygdala/nconnector.h:65:7: error: changes meaning of 'NeuronConnector' from 'class Amygdala::NeuronConnector<Amygdala::DynamicSynapse, Amygdala::DynamicSynapseProperties="">' [-fpermissive]
class NeuronConnector: public NConnector {
^
network.cpp: In constructor 'Amygdala::Network::Network(int&, char)':
network.cpp:141:38: error: 'strstr' was not declared in this scope
if(strstr(argv[i], "--visual")){
^
make[2]:
* [network.lo] Error 1
...

gcc version 4.8.1 20130909, on Linux 3.11.10

any help would be appreciated, thnx

Discussion


Log in to post a comment.