dilevin / computer-graphics-mass-spring-systems

Computer Graphics Assignment – Mass Spring Systems
1 stars 3 forks source link

Windows runtime problem... #9

Closed desmondlzy closed 4 years ago

desmondlzy commented 4 years ago

Hi! I noticed #6 and now am working on my windows 10. I cloned the repo (with --recursive) and complied, everything looked fine. But when I tried running massspring_dense, it gave me an error and I couldn't see any output before the error occurred. The error message is here

Unhandled exception at 0x010047F0 in masssprings_dense.exe: 0xC0000005: Access violation reading location 0x00000000.

Now I've implemented the three 'dense' source files and the same error is still there.

I followed the compilation instruction in the first assignments (which I finished on my windows!).....So I am wondering if anyone runs into the same problem or any solution maybe?

Thanks!

abhimadan commented 4 years ago

You need to pass a path to a json file in the data directory as a command line argument.

desmondlzy commented 4 years ago

It's working, thanks!