Unfortunately, I faced with some errors to rum my program in CDT of eclipse
in ubentu .I'm not very experienced in CDT.
I am going to run a ann program to classify samples, but there are errors
such as:
Description Resource Path Location Type ‘class
GClasses::GNeuralNet’
has no member named ‘addLayer’
Description Resource Path Location Type ‘class
GClasses::GNeuralNet’
has no member named ‘setActivationFunction’
Description Resource Path Location Type ‘features_test’ was not
declared in this scope
Description Resource Path Location Type ‘predicted_labels’ was
not declared in this scope
Description Resource Path Location Type ‘test_features’ was not
declared in this scope
Description Resource Path Location Type no matching function
for call to ‘GClasses::GNeuralNet::GNeuralNet(GClasses::GRand&)’
I would appreciate if it is possible for you to help me.
Behzad Ghazanfari,
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Here are the steps I followed to build with CDT on Linux:
1- sudo apt-get install eclipse-cdt
2- eclipse
3- File->New Project
4- C/C++->Makefile Project with Existing Code
5- Browse->waffles/src->OK
6- Finish
7- Click on the "Open Perspective" button->Other->C/C++->OK
8- Project->Build All
9- In waffles/src/Makefile, change the line
dbg: $(DBG_SUBDIRS)
to
all: $(DBG_SUBDIRS)
10- Project->Build All
It worked for me with no errors. Can you identify which step gives you difficulty?
Hi,
Unfortunately, I faced with some errors to rum my program in CDT of eclipse
in ubentu .I'm not very experienced in CDT.
I am going to run a ann program to classify samples, but there are errors
such as:
Description Resource Path Location Type ‘class
GClasses::GNeuralNet’
has no member named ‘addLayer’
Description Resource Path Location Type ‘class
GClasses::GNeuralNet’
has no member named ‘setActivationFunction’
Description Resource Path Location Type ‘features_test’ was not
declared in this scope
Description Resource Path Location Type ‘predicted_labels’ was
not declared in this scope
Description Resource Path Location Type ‘test_features’ was not
declared in this scope
Description Resource Path Location Type no matching function
for call to ‘GClasses::GNeuralNet::GNeuralNet(GClasses::GRand&)’
I would appreciate if it is possible for you to help me.
Behzad Ghazanfari,
Here are the steps I followed to build with CDT on Linux:
1- sudo apt-get install eclipse-cdt
2- eclipse
3- File->New Project
4- C/C++->Makefile Project with Existing Code
5- Browse->waffles/src->OK
6- Finish
7- Click on the "Open Perspective" button->Other->C/C++->OK
8- Project->Build All
9- In waffles/src/Makefile, change the line
dbg: $(DBG_SUBDIRS)
to
all: $(DBG_SUBDIRS)
10- Project->Build All
It worked for me with no errors. Can you identify which step gives you difficulty?
Perhaps, the instructions at http://waffles.sourceforge.net/docs/linux.html or http://waffles.sourceforge.net/docs/windows.html might be more helpful.