I'm developing a project that uses the Actor Framework. I have already made it to build an EXE for it, but I've been working for the last month without building new executables.
Recently, after building a new version of the executable and trying to run it, I'm receiving the error 1003 (VI not executable) from the Actor.vi in before calling it asynchronously in the Launch Root Actor mehod. I tried to build it with debugging enabled and with "Wait for debugger on lauch" set to true. As I tried to debug the Actor.vi, I noticed that several overrides of the Actor Core.vi (in case, the actors I developed) were broken.
In their block diagrams, I could see that these broken Actor Cores couldn't find some Send <Message>.vi. I tried several ways of forcing the App Builder to include these VIs, such as
- Inserting the message classes in the "Always included" list of source files;
- Explicitly defining the destination of the respective message classes and VIs;
- Disabling the options to remove unused members of project libraries.
None of these helped. I have even tried to look up the contents of the <ExecName>.exe folder that the AppBuilder creates before zipping it and packing to the .exe file, and these message classes were actually there!
I also found this strange since the Application Builder should include these classes implicitly, once they're called statically in my block diagrams.
Any clue on what can cause this problem?
Thanks!