Ciao,
Ho da poco ripreso a programmare in c++... sto facendo un progetto (programmazione a oggetti) e durante la compilazione mi appare più volte il seguente errore:
codice:
Setting up for TinyOS 2.x
ituser@intTestbedVM:~$ cd Prog11.12.14
ituser@intTestbedVM:~/Prog11.12.14$ g++ main.cpp -o main
In file included from main.cpp:1:
robot.h:2:36: error: libplayerc++/playerc++.h: No such file or directory
In file included from Visibility.h:4,
from topologies_set.h:5,
from robot.h:13,
from main.cpp:1:
structures.h:3: error: multiple definition of ‘enum value’
structures.h:3: error: previous definition here
structures.h:3: error: conflicting declaration ‘ACC’
structures.h:3: error: ‘ACC’ has a previous declaration as ‘value ACC’
structures.h:3: error: conflicting declaration ‘DEC’
structures.h:3: error: ‘DEC’ has a previous declaration as ‘value DEC’
structures.h:3: error: conflicting declaration ‘NP_DEC’
structures.h:3: error: ‘NP_DEC’ has a previous declaration as ‘value NP_DEC’
structures.h:5: error: redefinition of ‘struct STATE’
structures.h:6: error: previous definition of ‘struct STATE’
structures.h:10: error: redefinition of ‘struct conf_vect’
structures.h:11: error: previous definition of ‘struct conf_vect’
structures.h:23: error: redefinition of ‘struct control_vect’
structures.h:24: error: previous definition of ‘struct control_vect’
structures.h:32: error: redefinition of ‘struct vectors’
structures.h:33: error: previous definition of ‘struct vectors’
structures.h:38: error: redefinition of ‘struct ncs’
structures.h:39: error: previous definition of ‘struct ncs’
qualcuno mi sa aiutare?
Grazie!!