Support Board
Date/Time: Wed, 05 Feb 2025 20:09:47 +0000
Post From: Using Sierra Chart Internal Compiler w Dependencies
[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! |
![]() |