Hello,
I use a separate development folder for coding my strategies, mainly because the projects may become more complex later and I want to keep them under standalone version control. After compilation, a post-build script copies the generated .dll file into Zorro’s Strategy folder,
here's how.
This workflow normally works as expected.
However, after I included the Eval Shell (<evars.h> and the other stuff to _optimize), built one script successfully and try to run,
I get the following error:
Zorro64 S 3.11.2
(c) oP group Germany 2026
Registered: Zorro S Subscription
3 start
Error 062: Can't open "3.cpp" (rb:2)
As I see Zorro’s built-in compiler needs access to the source .cpp file in order to extract the _optimize variables and compile the individual strategy variants. In my setup, however, the source file is not located in Zorro’s Strategy folder. It also does not have the expected strategy name, since the entry file is called main.cpp.
Is there a supported way to use the Evaluation Shell with externally compiled strategies and a separate source directory?
I would prefer to keep the Zorro Strategy folder clean while preserving my Git-based workflow, especially for potentially large, multi-file codebases.