Hi, I'm trying to build on my apple silicon mac, but has reached this problem. Does anyone know how to solve this?
Jun 16, 2022, 6:05 AM
I was following this guid https://ton.org/docs/#/compile
I've built a new libcrypto.dylib file to replace the old one, but I'm encountering another issue now
Done
thanks
Hi, I'm testing out fift
There is an error:
[ 1][t 0][2022-06-16 08:11:49.457012][fift-main.cpp:204] Error interpreting file `output.fif`: output.fif:2: DECLPROC:-?
[ 1][t 0][2022-06-16 08:11:49.457012][fift-main.cpp:204] Error interpreting file `output.fif`: output.fif:2: DECLPROC:-?
But the fif file is generated from func, so I don't really understand what's wrong
Jun 16, 2022, 8:14 AM
You need to add include Asm.fif
In func there is such flag
Jun 16, 2022, 8:14 AM
OK
It works now
Jun 16, 2022, 8:15 AM
Though I am seeing similar error messages to this error, I have indeed fed -SPA parameters to func.
Both https://society.ton.org/ton-hello-world-step-by-step-guide-for-writing-your-first-smart-contract-in-func and https://github.com/ton-defi-org/tonstarter-contracts output exactly this type of error messages on my mac.
Nvm switching to pre-compiled func at https://github.com/ton-defi-org/ton-binaries solved my problem… That’s really weird
Aug 5, 2022, 5:59 PM