Compile Errors on macOS

Use this forum to post Vensim related questions.
aliakhavan89
Senior Member
Posts: 135
Joined: Sun Oct 21, 2018 7:09 am
Vensim version: DSS

Re: Compile Errors on macOS

Post 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
Travis
Senior Member
Posts: 167
Joined: Tue Jul 15, 2008 8:42 pm

Re: Compile Errors on macOS

Post 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!
aliakhavan89
Senior Member
Posts: 135
Joined: Sun Oct 21, 2018 7:09 am
Vensim version: DSS

Re: Compile Errors on macOS

Post 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!
Administrator
Super Administrator
Posts: 4671
Joined: Wed Mar 05, 2003 3:10 am

Re: Compile Errors on macOS

Post 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.
Advice to posters seeking help (it really helps us to help you)
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391

Units are important!
http://www.bbc.co.uk/news/magazine-27509559
aliakhavan89
Senior Member
Posts: 135
Joined: Sun Oct 21, 2018 7:09 am
Vensim version: DSS

Re: Compile Errors on macOS

Post 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. 
Administrator
Super Administrator
Posts: 4671
Joined: Wed Mar 05, 2003 3:10 am

Re: Compile Errors on macOS

Post by Administrator »

ok, I'll test. Hopefully it's something very simple like a permissions issue.
Advice to posters seeking help (it really helps us to help you)
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391

Units are important!
http://www.bbc.co.uk/news/magazine-27509559
Administrator
Super Administrator
Posts: 4671
Joined: Wed Mar 05, 2003 3:10 am

Re: Compile Errors on macOS

Post 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?
Advice to posters seeking help (it really helps us to help you)
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391

Units are important!
http://www.bbc.co.uk/news/magazine-27509559
aliakhavan89
Senior Member
Posts: 135
Joined: Sun Oct 21, 2018 7:09 am
Vensim version: DSS

Re: Compile Errors on macOS

Post 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!
Post Reply