Login Page - Create Account

Support Board


Date/Time: Thu, 06 Mar 2025 19:18:03 +0000



Post From: building dll from cpp; compile error

[2022-01-30 18:09:29]
User283743 - Posts: 38
This is the error message:

-- Starting remote build of Custom Studies Source files: CustomStockIndexCreator.cpp. 64-bit -- 13:06:50

Allow time for the server to compile the files and build the DLL.

The remote build did not succeed. Result:

CustomStockIndexCreator.cpp: In function 'void scsf_CustomStockIndexCreator(SCStudyInterfaceRef)':
CustomStockIndexCreator.cpp:453:52: error: invalid conversion from 'int' to 'HistoricalChartBarPeriodEnum' [-fpermissive]
453 | OpenChartParameters.HistoricalChartBarPeriod = pBarPeriod;
| ^~~~~~~~~~
| |
| int

-- End of Build -- 13:06:54