Modelica-Arduino
Modelica-Arduino copied to clipboard
64 bit error under Blink example
Error message:
Compiling and linking the model (Visual C++).
64-bit mode activated. dsmodel.c dsmodel.c(4664): warning C4267: 'function': conversion from 'size_t' to 'int', possible loss of data LINK : fatal error LNK1181: cannot open input file 'ModelicaArduino.lib'
Error generating Dymosim.
Can you provide steps to reproduce the problem including Dymola and compiler versions?
Using Dymola2023X and Visual Studio 2019: After downloading the zip file: Under “Tools”, click on “Library Management”
- Go to the “Install” tab:
- Click on “Browse…”
- Navigate to where you have saved the .zip file Install library to MODELICAPATH Navigate to Arduino Library to open library Close Dymola and open file explorer Locate location of unzipped folder and click on properties Unclick read only permission to gain write access Open Examples->Blink in the Arduino folder Go to Simulation tab Clicking simulate or translate->normal results in an error as shown above.