Platform
- ISA: ARM64
- CPU: Apple M1 Pro
- OS: Ventura 13.1 (22C65)
- LLVM: 14.0.6_1
Description
When attempting to compile the samples, the compiler would spit outCan't create output file Undefined error: 0 for all files it's trying to compile. It seems like it is unable to write to output.o for some reason. (Message is generated here: amun_compiler.cpp, line 72; this commit's file tree 85457f4)
Unsuccessful attempts to fix the issue
- Replaced
OF_None with OF_Append
- Replaced
OpenFlags with FileAccess value of FA_Write
chmod'd Amun compiler binary (777)
chmod'd Amun compiler directory (777, recursively)
Reproduction
git clone https://github.com/amrdeveloper/amun.git
- Follow build instructions
cd amun
mkdir build
cd build
cmake ..
make
python scripts/compile_samples.py
Platform
Description
When attempting to compile the samples, the compiler would spit out
Can't create output file Undefined error: 0for all files it's trying to compile. It seems like it is unable to write tooutput.ofor some reason. (Message is generated here:amun_compiler.cpp, line 72; this commit's file tree 85457f4)Unsuccessful attempts to fix the issue
OF_NonewithOF_AppendOpenFlagswithFileAccessvalue ofFA_Writechmod'd Amun compiler binary (777)chmod'd Amun compiler directory (777, recursively)Reproduction