Login Page - Create Account

Support Board


Date/Time: Fri, 29 Mar 2024 12:42:29 +0000



Compile error in latest SC version

View Count: 2332

[2018-06-22 19:25:43]
ertrader - Posts: 636
This appears to be resolved for me in v1767. I've recompiled and appears correct now.
[2018-06-22 20:00:43]
Sierra Chart Engineering - Posts: 104368
Yes this has been resolved.

It had nothing to do with the 64-bit version. It was simply a case of an uninitialized variable in a data structure.
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing
[2018-06-25 08:01:43]
T44 - Posts: 363
I can confirm that I'm receiving this error on version 1768 (32 bit)

scstructures.h:80:26: fatal error: SCSymbolData.h: No such file or directory
[2018-06-25 09:42:43]
Sierra Chart Engineering - Posts: 104368
How are you performing the build? Is this using Remote Build?
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing
Date Time Of Last Edit: 2018-06-28 18:33:21
[2018-06-25 21:11:42]
T44 - Posts: 363
Hello Support

This is both using remote build and ming/g++ on GNU/Linux (which has complied my studies successfully in the past)
[2018-06-28 17:21:32]
Sierra Chart Engineering - Posts: 104368
We cannot reproduce this problem on either the 64-bit or 32-bit version using 1768 with remote build. Or even the latest prerelease.

scstructures.h:80:26: fatal error: SCSymbolData.h: No such file or directory
Are you still having the problem with Remote Build?
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing
Date Time Of Last Edit: 2018-06-28 17:22:17
[2018-06-28 20:56:10]
T44 - Posts: 363
Hello Support

A different error this time

-- Starting remote build of Custom Studies Source files: x.cpp. -- 21:54:24
Allow time for the server to compile the files and build the DLL.

The remote build did not succeed. Result:

herbert.cpp:3:30: fatal error: scstudyfunctions.h: No such file or directory
#include "scstudyfunctions.h"
^
compilation terminated.

-- End of Build -- 21:54:27
[2018-06-28 20:59:09]
Sierra Chart Engineering - Posts: 104368
That particular header file is something that does not exist when doing a remote build. You need to take whatever code you need from that header and the associated CPP file, and add it to your own CPP file.
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing
[2018-08-26 12:00:29]
T44 - Posts: 363
Hello Support, I am still having this issue even on a local build:

In file included from sierrachart.h:15:0,
from MyStudy.cpp:2:
scstructures.h:80:26: fatal error: SCSymbolData.h: No such file or directory

My includes look like:

#include "sierrachart.h"
#include "scstudyfunctions.h"

command being run is
i686-w64-mingw32-g++ -fpermissive -march=i686 -mtune=i686 -O2 -shared -static -static-libgcc -static-libstdc++ -s -fno-rtti -fno-exceptions -w $MyStudy.cpp -o $MyStudy.dll
[2018-08-26 21:44:56]
Sierra Chart Engineering - Posts: 104368
Does this file exist:
SCSymbolData.h in the same folder where SierraChart.h exists? Make sure the case of the characters is the same.
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing
[2018-08-27 13:13:27]
T44 - Posts: 363
SCSymbolData.h in the same folder where SierraChart.h exists? Make sure the case of the characters is the same.

This is a Linux system, therefore case sensitive.

your scstructures.h: contains
#include "SCSymbolData.h"

However the filename is scsymboldata.h

Making a symlink fixed the issue. Thank you.
SierraChart/ACS_Source$ ln -s scsymboldata.h SCSymbolData.h

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

Login

Login Page - Create Account