Page 2 of 2
Re: Compile Errors on macOS
Posted: Wed Oct 04, 2023 1:08 pm
by aliakhavan89
Thank you!
Also, about the issue Travis mentioned, I figured that you only need to close and reopen Vensim. Here's the test:
https://youtu.be/hUMW7-qqBz0
Re: Compile Errors on macOS
Posted: Wed Oct 04, 2023 4:24 pm
by Travis
I can confirm it is working for me too. I had to `chmod +x` the scripts in the zip file above. I also changed the group ownership, but I think the +x was the key issue.
Glad we figured this out and it wasn't the certificate signing issue!
Re: Compile Errors on macOS
Posted: Thu Aug 29, 2024 2:50 pm
by aliakhavan89
aliakhavan89 wrote: ↑Wed Oct 04, 2023 1:08 pm
I figured that you only need to close and reopen Vensim. Here's the test:
On Vensim DSS 10.2.1 (MC), the compile error randomly happens (I have a hunch that it happens if it wants to recompile the model after some equations have changed) and the only workaround I've found so far is to close and reopen Vensim. I hope there should be an easy fix for this in the source code. Thank you so much!
Re: Compile Errors on macOS
Posted: Fri Aug 30, 2024 1:25 pm
by Administrator
aliakhavan89 wrote: ↑Thu Aug 29, 2024 2:50 pm
On Vensim DSS 10.2.1 (MC), the compile error randomly happens (I have a hunch that it happens if it wants to recompile the model after some equations have changed) and the only workaround I've found so far is to close and reopen Vensim. I hope there should be an easy fix for this in the source code. Thank you so much!
Can you summarise the problem again, this post is over a year old.
Re: Compile Errors on macOS
Posted: Thu Sep 05, 2024 6:57 pm
by aliakhavan89
Vensim works fine the first time a model is compiled. But if the model is changed and it's going to be compiled again, you'll get the error “Failed to compile the model (does not exist).” However, upon closing and reopening Vensim, it works without any error.
Re: Compile Errors on macOS
Posted: Fri Sep 06, 2024 10:28 am
by Administrator
ok, I'll test. Hopefully it's something very simple like a permissions issue.
Re: Compile Errors on macOS
Posted: Fri Sep 06, 2024 11:22 am
by Administrator
This is working fine for me.
Are you using a file sync application at all? Maybe the .c file that Vensim creates is being marked as in use?
Re: Compile Errors on macOS
Posted: Fri Sep 06, 2024 2:28 pm
by aliakhavan89
Interesting. Not really. It could be caused by some security software that my institution installs on macOS. I'll check more and let you know. Thank you!