Davide,
I take it that you are working now *outside* the Chrono source and build trees. And yet, you still want to use data files from the Chrono data/ directory. The error message from tiny_obj is pretty clear: it cannot find the specified OBJ file at the given path *relative* to where your executable is.
The default path for the Chrono data/ directory is set up so that it works fine for the demos executable as they are created in the Chrono build tree.
If you work now in some other location, you must tell Chrono where to find those files. You have 2 options:
See for example how that is done in the template_project distributed with Chrono.
--Radu
--
You received this message because you are subscribed to the Google Groups "ProjectChrono" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
projectchron...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/projectchrono/ebc711cf-151f-4ebc-8c64-01d82e6b1b0bn%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/projectchrono/PH0PR06MB82374CE85F12B1F9AF1BDCFAA7692%40PH0PR06MB8237.namprd06.prod.outlook.com.