Login Page - Create Account

Support Board


Date/Time: Mon, 26 Jan 2026 06:19:20 +0000



[Programming Help] - .h header file can't be found

View Count: 85

[2025-12-08 03:06:47]
TriStar Trading - Posts: 190
When I compile I get an error message:
TriStar_VIXContext_1Sec.cpp:2:10: fatal error: TriStarRTH.h: No such file or directory
2 | #include "TriStarRTH.h" // <-- shared RTH module
| ^~~~~~~~~~~~~~
compilation terminated.

Here are the #includes for the study.
#include "sierrachart.h"
#include "TriStarRTH.h" // <-- shared RTH module

Attached is the directory structure with the .cpp and the .h in the same directory.

Anyone know what I am missing here? I have tried all lowercase and different brackets.
Thanks! Mike

Apologies. This should be under programming help. Got a nasty cold. Really good meds! :)
Date Time Of Last Edit: 2025-12-08 03:12:23
imageScreenshot 2025-12-07 210436.jpg / V - Attached On 2025-12-08 03:04:56 UTC - Size: 19.5 KB - 30 views
[2025-12-08 16:21:30]
TriStar Trading - Posts: 190
I think I figured it out. I use remote compile and that doesn't support custom .h files. The .h does not get uploaded so there is no way for the compiler to know where it is.

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

Login

Login Page - Create Account