Support Board
Date/Time: Fri, 17 Jan 2025 23:34:18 +0000
Compilation error in newest version. 1148.
View Count: 1477
[2014-06-19 15:39:01] |
@sstfrederik - Posts: 405 |
My ACSIL files do not compile anymore since upgrading to 1148. Error message does not indicate anything wrong with my scripts however something seems wrong with the header file. Kind regards, Fhv In file included from C:\SierraChart\ACS_Source\twopointtrader.cpp:2:0: C:\SierraChart\ACS_Source\sierrachart.h:5334:22: error: expected identifier before '*' token C:\SierraChart\ACS_Source\sierrachart.h:5334:24: warning: '__cdecl__' attribute only applies to function types [-Wattributes] C:\SierraChart\ACS_Source\sierrachart.h:5334:74: error: ISO C++ forbids declaration of 'SCString' with no type [-fpermissive] C:\SierraChart\ACS_Source\sierrachart.h:5334:74: error: 'SCString' declared as function returning a function -- End of Build -- 11:35:53 |
[2014-06-19 15:53:45] |
ejtrader - Posts: 688 |
running into same issue as well starting 1148 ( with QT/minGW ). However the same code compiles fine in VS2012. This is the line running into issue with minGW: C:\sierrachart\acs_source\sierrachart.h:5334: error: ISO C++ forbids declaration of 'SCString' with no type [-fpermissive]
SCString (SCDLLCALL * DateTimeToString)(const double &DateTime,int Flags); ^ Date Time Of Last Edit: 2014-06-19 15:55:11
|
[2014-06-19 15:58:14] |
@sstfrederik - Posts: 405 |
I commented out this line in the header file and it compiles again. Hopefully someone of SC can tell me if this has any unintended consequences.
|
[2014-06-19 16:25:28] |
Sierra Chart Engineering - Posts: 104368 |
It is OK to comment out this line. We will solve the problem so that the compiler does not get this error.
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 |
[2014-06-19 16:43:05] |
ganz - Posts: 1048 |
Hi All FYI: yesterday I've compiled ZZ for v1148 using the linux native mingw g++ v. 4.6.3 everything was smooth and fast Date Time Of Last Edit: 2014-06-19 16:43:19
|
[2014-06-19 19:14:43] |
Sierra Chart Engineering - Posts: 104368 |
This is good to know. The problem is resolved in the latest revision. Update with Help >> Download Prerelease. 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-01-10 23:07:54] |
Jezz - Posts: 33 |
Hi All I'm looking for some info about how to (cross) compile some studies into a compatible DLL on linux , (maybe using mingw). Any pointer welcome Thanks |
[2018-01-10 23:20:02] |
ganz - Posts: 1048 |
Jezz How to build ACSIL study on Ubuntu/Linux |
[2018-01-10 23:54:58] |
Jezz - Posts: 33 |
good thread thanks ganz |
To post a message in this thread, you need to log in with your Sierra Chart account: