Archived OpenModelica forums. Posting is disabled.

Alternative forums include GitHub discussions or StackOverflow (make sure to read the Stack Overflow rules; you need to have well-formed questions)


Forgot password? | Forgot username? | Register

OPENMODELICAHOME environment variable is NULL

OPENMODELICAHOME environment variable is NULL

I'm trying to use OpenModelica MDT in Eclipse. I've noticed the following messages in the console:
OMCSTATUS: Will look for OMC object reference in 'C:\DOCUME~1\watkinsp\LOCALS~1\Temp\\openmodelica.objid.mdt'.
OMCSTATUS: No OMC object reference found, starting server.
OMCSTATUS: Using OPENMODELICAHOME environment variable to find omc-binary
OMCSTATUS: OPENMODELICAHOME environment variable is NULL, trying the PATH variable
OMCSTATUS: Environment variable OPENMODELICAHOME is not set and we could not find: omc.exe in the PATH
OMCSTATUS: Will look for OMC object reference in 'C:\DOCUME~1\watkinsp\LOCALS~1\Temp\\openmodelica.objid.mdt'.
Unable to parse list: Empty list: []

The OPENMODELICAHOME environment variable is reported as NULL, but when I look in Start->Control Panels->System->Advanced->Environment Variables, OPENMODELICAHOME is set to C:\OpenModelica1.9.0\

I'm using Windows XP SP3 (the only OS allowed at my work). Any idea why MDT isn't seeing my environment variable?

Re: OPENMODELICAHOME environment variable is NULL

Hi,

Have you restarted Eclipse since you installed OpenModelica?
I even suggest a Windows logoff and logon.

Cheers,
Adrian Pop/

Re: OPENMODELICAHOME environment variable is NULL

Sorry to revive and old thread, but restarting fixed the problem. Thanks.

There are 0 guests and 0 other users also viewing this topic
You are here: