Login Page - Create Account

Support Board


Date/Time: Wed, 05 Feb 2025 17:06:59 +0000



Using Sierra Chart Internal Compiler w Dependencies

View Count: 137

[2024-12-02 23:44:14]
gambotage - Posts: 20
I have an opensource study I'm trying to compile (in v2710) where the header of the document contains references to other libraries as follows:

#include <boost/format.hpp>
#include <curl/curl.hpp>
#include <filesystem>
#include <iostream>
#include <fstream>
#include <thread>
#include <json.hpp>

#include "sierrachart.h"

There are two issues I'm running into:

1. The compiler UI will not pick up .hpp files. When adding json.hpp, for example, it displays as json.hpp.cpp, not json.hpp

I solved this renaming .hpp files to .h, not sure if this is the correct approach but the files are findable in the compile process as a result and the build will be attempted.

2. The compiler's file browser won't allow you to drop into subdirectories of ACS_Source. Only files in ACS_Source are selectable, therefore this community code needed to be modified by bringing format.hpp & curl.hpp into ACS_Source along with the parent study.

This configuration will attempt to compile but additional include files referenced (within format.hpp for example) cause the compile process to bomb as the compiler does not have the needed files to successfully build the study (attached). Again, the files are not selectable using the Select Files button as all subdirectories are hidden & no browsing is allowed.

What is the solution for this to get the study to finally compile? Thanks!
imageScreenshot 2024-12-02 at 6.37.30 PM.png / V - Attached On 2024-12-02 23:37:48 UTC - Size: 98.42 KB - 27 views
[2024-12-03 15:50:42]
John - SC Support - Posts: 37753
You can not do this using the Remote Compiler. You would have to compile the study using a local copy of Visual Studio. Refer to Step #10 in particular at the following link:
Advanced Custom Study Interface and Language (ACSIL): Step-By-Step Instructions to Create an Advanced Custom Study Function
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2024-12-03 16:03:40]
gambotage - Posts: 20
Yes OK thanks for confirming & thank you for the assistance.

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account