Support Board
Date/Time: Wed, 27 Nov 2024 22:34:31 +0000
Post From: Compiling Error
[2020-06-20 09:44:42] |
User330484 - Posts: 2 |
Hi, I get this error when compiling the cot.cpp file -- Starting remote build of Custom Studies Source files: COT.cpp. 64-bit -- 11:40:23 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; COT.cpp:427:43: error: ambiguous overload for 'operator-' (operand types are 'SCDateTime' and 'double') SCDateTime DataDateLessOne = DataDate - 1*DAYS; COT.cpp:427:43: note: candidate: operator-(double, double) <built-in> In file included from scstructures.h:98:0, from sierrachart.h:21, from COT.cpp:1: scdatetime.h:1506:19: note: candidate: SCDateTime SCDateTime::operator-(const SCDateTime&) const inline SCDateTime SCDateTime::operator -(const SCDateTime& DateTime) const -- End of Build -- 11:40:26 Who can help? thank you |