Login Page - Create Account

Support Board


Date/Time: Sat, 18 May 2024 14:59:52 +0000



Post From: Can't compile header files in SierraCharts built in compiler

[2016-11-11 19:42:58]
doubletop11 - Posts: 5
So I'm still having this issue. When I try to build out multiple .cpp files in SierraChart (4 to be exact) I'm getting a 'cl' not found error. So then I thought maybe I can just put it all into one file and turn the .cpp files into headers. So when I build out one single file that have 3 different header files it won't compile in Sierra charts. It keeps giving me errors saying that parts of the code was "was not declared in this scope". The file that I'm building is the security .cpp file that has the other indicator code as .h files so everything should be inline. I'm declaring the additional header
files before I declare sierrachart.h

#include "apa.h"
#include "apa_zones.h"
#include "apa_time.h"
#include "sierrachart.h"

SCDLLName("APA Zones")

Any thoughts??? or do I need to rebuild it all in Visual studio everytime?