It looks like some of the files are not being compiled or linked. Depending on your build system you must either add them to your makefile or your visual studio configuration.
2016-06-22 12:07 GMT+02:00 lorenzobocchi99 <[email protected]>: > Hi Jakob, > Thanks for the link, but I tried to put all the files in the same > directory and change the paths in TraCIAPI.h but it gives me these errors: > > C:\Program Files (x86)\DLR\Sumo\src\traci\TraCIAPI.o:TraCIAPI.cpp|| > undefined reference to `tcpip::Socket::~Socket()'| > > C:\Program Files (x86)\DLR\Sumo\src\traci\TraCIAPI.o:TraCIAPI.cpp|| > undefined reference to `tcpip::Socket::Socket(std::string, int)'| > > C:\Program Files (x86)\DLR\Sumo\src\traci\TraCIAPI.o:TraCIAPI.cpp|| > undefined reference to `tcpip::Socket::connect()'| > > C:\Program Files (x86)\DLR\Sumo\src\traci\TraCIAPI.o:TraCIAPI.cpp|| > undefined reference to `tcpip::Socket::close()'| > > C:\Program Files (x86)\DLR\Sumo\src\traci\TraCIAPI.o:TraCIAPI.cpp|| > undefined reference to `tcpip::Storage::Storage()'| > > C:\Program Files (x86)\DLR\Sumo\src\traci\TraCIAPI.o:TraCIAPI.cpp|| > undefined reference to `tcpip::Storage::writeUnsignedByte(int)'| > > C:\Program Files (x86)\DLR\Sumo\src\traci\TraCIAPI.o:TraCIAPI.cpp|| > undefined reference to `tcpip::Storage::writeInt(int)'| > > C:\Program Files (x86)\DLR\Sumo\src\traci\TraCIAPI.o:TraCIAPI.cpp|| > undefined reference to `tcpip::Socket::sendExact(tcpip::Storage const&)'| > > C:\Program Files (x86)\DLR\Sumo\src\traci\TraCIAPI.o:TraCIAPI.cpp|| > undefined reference to `tcpip::Storage::writeString(std::string const&)'| > > C:\Program Files (x86)\DLR\Sumo\src\traci\TraCIAPI.o:TraCIAPI.cpp|| > undefined reference to `tcpip::Storage::writeStorage(tcpip::Storage&)'| > > What should I do? > > ------------------------------------------------------------------------------ > Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San > Francisco, CA to explore cutting-edge tech and listen to tech luminaries > present their vision of the future. This family event has something for > everyone, including kids. Get more information and register today. > http://sdm.link/attshape > _______________________________________________ > sumo-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/sumo-devel > ------------------------------------------------------------------------------ Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San Francisco, CA to explore cutting-edge tech and listen to tech luminaries present their vision of the future. This family event has something for everyone, including kids. Get more information and register today. http://sdm.link/attshape _______________________________________________ sumo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sumo-devel
