Windows - Compilation fails for functors inside a file
jy95 opened this issue · 0 comments
jy95 commented
Hello,
It looks like there is some issue with compilation on Window.
Here is a test file named test.oz :
functor
import
Application
System
define
{System.show 'Hello Nurse'}
{System.showInfo "Hello Nurse"}
{Application.exit 0}
end
When I tried to build it ,
ozc -x test.oz
It gives :
%*********************** error in OS module *********************
%**
%** Operating system error
%**
%** System call: fopen
%** Error number: 2
%** Description: No such file or directory
%**
%** Call Stack:
%** procedure 'OS.fopen' in PC = 83835728
%** procedure 'CompatOpen' in file "c:/MozProj/mozart2/vm/boostenv/lib/OS.oz", line 366, column 4, PC = 50981211
%** procedure 'File,init' in file "c:/MozProj/mozart2/lib/main/op/Open.oz", line 291, column 10, PC = 61731079
%** procedure 'New' in file "c:/MozProj/mozart2/lib/main/base/Object.oz", line 570, column 4, PC = 50344439
%** procedure 'ReadFile' in file "c:/MozProj/mozart2/lib/main/ozbatch/Compile.oz", line 304, column 4, PC = 51242802
%** procedure in file "c:/MozProj/mozart2/lib/main/ozbatch/Compile.oz", line 394, column 11, PC = 51238632
%** procedure 'ForAll' in file "c:/MozProj/mozart2/lib/main/base/List.oz", line 106, column 1, PC = 50356061
%** procedure in file "c:/MozProj/mozart2/lib/main/ozbatch/Compile.oz", line 22, column 1, PC = 51257750
%** procedure 'RootManager,Pickle/fast' in file "c:/MozProj/mozart2/lib/main/init/Module.oz", line 244, column 7, PC = 50046843
%** procedure in file "c:/MozProj/mozart2/lib/main/base/Base.oz", line 84, column 22, PC = 50266040
%**--------------------------------------------------------------
Configuration
Settings | |
---|---|
OS | Windows 10 Version 1709 (OS build 16299.214) |
Architecture | 64 bits |
Mozart | Mozart Compiler 2.0.0-alpha.0+build.4105.5c06ced (Tue, 2 Sep 2014 18:39:07 +0200) Playing Oz 3 |
Sourceforge installer | https://sourceforge.net/projects/mozart-oz/files/v2.0.0-alpha.0/mozart2-2.0.0-alpha.0%2Bbuild.4105.5c06ced-x86_64-windows.exe/download |