Hi Gilles,
I followed your suggestion and the error is no more shown. Thanks a lot. However it is showing so many warnings as pasted below. What does these mean? Can I ignore them?
“main.cpp: In function ‘int main()’:
main.cpp:41: warning: deprecated conversion from string constant to ‘char’
main.cpp:47: warning: deprecated conversion from string constant to ‘char’
main.cpp:51: warning: deprecated conversion from string constant to ‘char’
main.cpp:56: warning: deprecated conversion from string constant to ‘char’
main.cpp:61: warning: deprecated conversion from string constant to ‘char’
main.cpp:66: warning: deprecated conversion from string constant to ‘char’
main.cpp:69: warning: deprecated conversion from string constant to ‘char’
main.cpp:102: warning: deprecated conversion from string constant to ‘char’
main.cpp:107: warning: deprecated conversion from string constant to ‘char’
main.cpp:109: warning: deprecated conversion from string constant to ‘char’
/tmp/tmpxft_00006f2e_00000000-1_main.o: In function main': main.cpp:(.text+0x43): undefined reference to
CpuSNN::CpuSNN(int, int, int, char*, int)’
main.cpp:(.text+0x7c): undefined reference to CpuSNN::createInitGroup(char*, int, float, float, float, float)' main.cpp:(.text+0xbb): undefined reference to
CpuSNN::createInitGroup(char*, int, float, float, float, float)’
main.cpp:(.text+0xfe): undefined reference to CpuSNN::connect(int, int, char*, float, int, unsigned char, unsigned char)' main.cpp:(.text+0x13b): undefined reference to
CpuSNN::connect(int, int, char*, float, int, unsigned char, unsigned char)’
main.cpp:(.text+0x178): undefined reference to CpuSNN::connect(int, int, char*, float, int, unsigned char, unsigned char)' main.cpp:(.text+0x194): undefined reference to
CpuSNN::snnProperty(char*, float)’
main.cpp:(.text+0x1b8): undefined reference to CpuSNN::randomNoiseCurrent(float, float, int)' main.cpp:(.text+0x213): undefined reference to
CpuSNN::stdp(float, float, float, float)’
main.cpp:(.text+0x252): undefined reference to CpuSNN::spikeMonitor(int, float, int)' main.cpp:(.text+0x276): undefined reference to
CpuSNN::spikeMonitor(int, float, int)’
main.cpp:(.text+0x2a3): undefined reference to CpuSNN::runNetwork(int, int, int)' main.cpp:(.text+0x2c1): undefined reference to
CpuSNN::printHistogram(char*, bool, unsigned int)’
main.cpp:(.text+0x2e2): undefined reference to CpuSNN::rasterPlot(int, char*, bool)' main.cpp:(.text+0x303): undefined reference to
CpuSNN::rasterPlot(int, char*, bool)’
main.cpp:(.text+0x335): undefined reference to CpuSNN::printSimSummary(_IO_FILE*)' main.cpp:(.text+0x34b): undefined reference to
CpuSNN::~CpuSNN()’
main.cpp:(.text+0x368): undefined reference to `CpuSNN::~CpuSNN()’
collect2: ld returned 1 exit status”
Kindly let me know. Thank you.