rbei-etas / busmaster

BUSMASTER is an Open Source Software tool to simulate, analyze and test data bus systems such as CAN. BUSMASTER was conceptualized, designed and implemented by Robert Bosch Engineering and Business Solutions (RBEI). Presently it is a joint project of RBEI and ETAS GmbH.
http://rbei-etas.github.com/busmaster/
GNU General Public License v3.0
928 stars 495 forks source link

I tried to convert a .CAN file to .CPP, then it was generated with a set of errors #1147

Open islamelhariry opened 6 years ago

islamelhariry commented 6 years ago

When I tried to convert the "Client.can" file to .cpp file, it gave me the errors in the attached file "Clientlog", after that when I tried to build the generated "Client.cpp" file it gave me the errors in the attached file "error" & "output". Kindly check these errors, I hope you can help if you have any clue why these errors took place. Clientlog.txt error.txt output.txt

ravenst0ne commented 6 years ago

I think there are two different problems. Busmaster is not able to convert all availaible functions from CAPL-files. I don't know CAPL very good, but as I can see in you ClientLog.txt, you can use Winsockets for TCP and UDP connections, which you have to implement manually. "'mingw32-g++' is not recognized as an internal or external command," looks like that you didnt't set up the compiler correctly.

islamelhariry commented 6 years ago

I tried another file without TCP and UDP connections and the tool displayed similar errors, kindly check it. For the installation of the MinGW compiler I installed it with the same version and at the same destination as described in the help. capture

error.txt output.txt testVS6log.txt