xodio / xod

XOD IDE
https://xod.io
GNU Affero General Public License v3.0
889 stars 119 forks source link

Error with digital-write, evaluate_on_pin disable. #2047

Closed Cesar-S closed 3 years ago

Cesar-S commented 3 years ago

Environment

Steps to reproduce

With the next patch

ba185a9b9c904510fd1d8ae0e718499317cba5ad 1

Temporary solution.

In order to compile I have to comment this line in digital-write node

//#pragma XOD evaluate_on_pin disable

Error

Begin compiling code for the board Arduino Uno 📦

C:\Users\Cesar\AppData\Local\Temp\xod_temp_sketchbook98XhiA\xod_1601190379205_sketch\xod_1601190379205_sketch.ino: In function 'void xod::detail::handleDebugProtocolMessages()':
C:\Users\Cesar\AppData\Local\Temp\xod_temp_sketchbook98XhiA\xod_1601190379205_sketch\xod_1601190379205_sketch.ino:1331:35: error: 'struct xod::TransactionState' has no member named 'node_0_isOutputDirty_OUT'; did you mean 'node_2_isOutputDirty_TICK'?
                     g_transaction.node_0_isOutputDirty_OUT = true;
                                   ^~~~~~~~~~~~~~~~~~~~~~~~
                                   node_2_isOutputDirty_TICK

C:\Users\Cesar\AppData\Local\Temp\xod_temp_sketchbook98XhiA\xod_1601190379205_sketch\xod_1601190379205_sketch.ino: In function 'void xod::runTransaction()':
C:\Users\Cesar\AppData\Local\Temp\xod_temp_sketchbook98XhiA\xod_1601190379205_sketch\xod_1601190379205_sketch.ino:1391:55: error: 'struct xod::TransactionState' has no member named 'node_0_isOutputDirty_OUT'; did you mean 'node_2_isOutputDirty_TICK'?
             ctxObj._isOutputDirty_OUT = g_transaction.node_0_isOutputDirty_OUT;
                                                       ^~~~~~~~~~~~~~~~~~~~~~~~
                                                       node_2_isOutputDirty_TICK

Error during build: exit status 1

forum XOD

brusherru commented 3 years ago

@Cesar-S thanks for the report. Fixed in the just-released v0.35.3: https://github.com/xodio/xod/releases/tag/v0.35.3