Alex, we will be releasing an OS X installer for 1.4.5 that will include launch scripts for the Mac to properly set environment variables.

Stay tuned.

Eric


On Oct 16, 2008, at 10:20 AM, Adrian Pop wrote:


Hi,

I think you need to have ./ in the path before you run OMShell.
$ export PATH=${PATH}:./
$ /path/to/OMShell

Cheers,
Adrian Pop/

Alex Schenkman wrote:
Hi List:
I'm trying to follow the User Guide for version 1.4.3 in OSX, as version 1.4.4 is not available in binary form yet for OSX. From OMShell I followed the /dcmotor/ example, with the following output:
> simulate(dcmotor,startTime=0,stopTime=10)
record
   resultFile = "Simulation failed.
"
end record
I can see the compiled file dcmotor.exe, but there seems to be some path missing, as OMShell doesn't find the file.
$ more output.log
sh: dcmotor.exe: command not found
$ ./dcmotor.exe
$ file dcmotor.exe
dcmotor.exe: Mach-O executable i386
Thanks in advance!

_____________________________________________________________________
Adrian Pop                      | PhD
Open Source Modelica Consortium | Technical Coordinator
Department of Computer Science  | http://www.ida.liu.se/~adrpo
Linköping University            | phone:+46 76 2343499/+46 13 285781
S-581 83 Linköping, Sweden      | fax:  +46 13 142231
OSMC & LiU/IDA/PELAB            | office: 3B:478
                

Reply via email to