Login Page - Create Account

Support Board


Date/Time: Sat, 24 May 2025 21:05:33 +0000



Post From: Compiling Error

[2020-04-27 15:43:14]
User247273 - Posts: 39
UPDATE: I changed the following line of code:
#include "scstudyfunctions.h"
to read
#include "SCStudyFunctions.h"

That led to a new error.

ERROR TEXT
-- Starting remote build of Custom Studies Source files: COT.cpp. 64-bit -- 10:42:38
Allow time for the server to compile the files and build the DLL.

The remote build did not succeed. Result:

COT.cpp: In function 'void scsf_TradingLevelsStudy(SCStudyInterfaceRef)':
COT.cpp:299:29: error: conversion from 'SCString' to non-scalar type 'std::__cxx11::string {aka std::__cxx11::basic_string<char>}' requested
std::string Bufferas = sc.HTTPResponse;

^
COT.cpp:335:29: error: conversion from 'SCString' to non-scalar type 'std::__cxx11::string {aka std::__cxx11::basic_string<char>}' requested
std::string Bufferas = sc.HTTPResponse;

^

-- End of Build -- 10:42:42