Login Page - Create Account

Support Board


Date/Time: Sun, 05 May 2024 06:07:11 +0000



Post From: trying to use IQfeed and IB to trade

[2013-05-07 15:26:33]
User32496 - Posts: 26
i updated to 971
now i have 2 SC with both IQfeed and IB
but:
but one of the dll i downloaded isn't loading.
when trying to recompile it i get an error:
"Source file "DeltaDivergence.cpp" is missing the SCDLLName line. Refer to ACSIL documentation."
can it be that i had the v5 (which i found on the support board) and sc added it to user contribution as v3?
when finished that and tried to compile i got this:

-- Starting build of Custom Studies Source File: DeltaDivergence_v5.cpp. -- 18:14:37
"C:\SierraChart\CPPCompiler\bin\g++.exe" "C:\SierraChart\ACS_Source\DeltaDivergence_v5.cpp" -march=i686 -mtune=i686 -O2 -shared -static -static-libgcc -static-libstdc++ -s -fno-rtti -fno-exceptions -o "C:\SierraChart\Data\DeltaDivergence_v5.dll"

In file included from c:\sierrachart\cppcompiler\bin\../lib/gcc/mingw32/4.7.2/include/c++/string:54:0,
from C:\SierraChart\ACS_Source\DeltaDivergence_v5.cpp:8:
c:\sierrachart\cppcompiler\bin\../lib/gcc/mingw32/4.7.2/include/c++/bits/basic_string.h: In member function 'int std::basic_string<_CharT, _Traits, _Alloc>::compare(const std::basic_string<_CharT, _Traits, _Alloc>&) const':
c:\sierrachart\cppcompiler\bin\../lib/gcc/mingw32/4.7.2/include/c++/bits/basic_string.h:2226:31: error: expected unqualified-id before '(' token
In file included from c:\sierrachart\cppcompiler\bin\../lib/gcc/mingw32/4.7.2/include/c++/string:55:0,
from C:\SierraChart\ACS_Source\DeltaDivergence_v5.cpp:8:
c:\sierrachart\cppcompiler\bin\../lib/gcc/mingw32/4.7.2/include/c++/bits/basic_string.tcc: In member function 'std::basic_string<_CharT, _Traits, _Alloc>::size_type std::basic_string<_CharT, _Traits, _Alloc>::rfind(const _CharT*, std::basic_string<_CharT, _Traits, _Alloc>::size_type, std::basic_string<_CharT, _Traits, _Alloc>::size_type) const':
c:\sierrachart\cppcompiler\bin\../lib/gcc/mingw32/4.7.2/include/c++/bits/basic_string.tcc:786:17: error: expected unqualified-id before '(' token
c:\sierrachart\cppcompiler\bin\../lib/gcc/mingw32/4.7.2/include/c++/bits/basic_string.tcc: In member function 'int std::basic_string<_CharT, _Traits, _Alloc>::compare(std::basic_string<_CharT, _Traits, _Alloc>::size_type, std::basic_string<_CharT, _Traits, _Alloc>::size_type, const std::basic_string<_CharT, _Traits, _Alloc>&) const':
c:\sierrachart\cppcompiler\bin\../lib/gcc/mingw32/4.7.2/include/c++/bits/basic_string.tcc:923:36: error: expected unqualified-id before '(' token
c:\sierrachart\cppcompiler\bin\../lib/gcc/mingw32/4.7.2/include/c++/bits/basic_string.tcc: In member function 'int std::basic_string<_CharT, _Traits, _Alloc>::compare(std::basic_string<_CharT, _Traits, _Alloc>::size_type, std::basic_string<_CharT, _Traits, _Alloc>::size_type, const std::basic_string<_CharT, _Traits, _Alloc>&, std::basic_string<_CharT, _Traits, _Alloc>::size_type, std::basic_string<_CharT, _Traits, _Alloc>::size_type) const':
c:\sierrachart\cppcompiler\bin\../lib/gcc/mingw32/4.7.2/include/c++/bits/basic_string.tcc:940:36: error: expected unqualified-id before '(' token
c:\sierrachart\cppcompiler\bin\../lib/gcc/mingw32/4.7.2/include/c++/bits/basic_string.tcc: In member function 'int std::basic_string<_CharT, _Traits, _Alloc>::compare(const _CharT*) const':
c:\sierrachart\cppcompiler\bin\../lib/gcc/mingw32/4.7.2/include/c++/bits/basic_string.tcc:956:36: error: expected unqualified-id before '(' token
c:\sierrachart\cppcompiler\bin\../lib/gcc/mingw32/4.7.2/include/c++/bits/basic_string.tcc: In member function 'int std::basic_string<_CharT, _Traits, _Alloc>::compare(std::basic_string<_CharT, _Traits, _Alloc>::size_type, std::basic_string<_CharT, _Traits, _Alloc>::size_type, const _CharT*) const':
c:\sierrachart\cppcompiler\bin\../lib/gcc/mingw32/4.7.2/include/c++/bits/basic_string.tcc:972:36: error: expected unqualified-id before '(' token
c:\sierrachart\cppcompiler\bin\../lib/gcc/mingw32/4.7.2/include/c++/bits/basic_string.tcc: In member function 'int std::basic_string<_CharT, _Traits, _Alloc>::compare(std::basic_string<_CharT, _Traits, _Alloc>::size_type, std::basic_string<_CharT, _Traits, _Alloc>::size_type, const _CharT*, std::basic_string<_CharT, _Traits, _Alloc>::size_type) const':
c:\sierrachart\cppcompiler\bin\../lib/gcc/mingw32/4.7.2/include/c++/bits/basic_string.tcc:988:36: error: expected unqualified-id before '(' token
C:\SierraChart\ACS_Source\DeltaDivergence_v5.cpp: In function 'int scdll_DLLVersion()':
C:\SierraChart\ACS_Source\DeltaDivergence_v5.cpp:10:1: error: redefinition of 'int scdll_DLLVersion()'
C:\SierraChart\ACS_Source\DeltaDivergence_v5.cpp:9:1: error: 'int scdll_DLLVersion()' previously defined here
C:\SierraChart\ACS_Source\DeltaDivergence_v5.cpp: In function 'const char* scdll_DLLName()':
C:\SierraChart\ACS_Source\DeltaDivergence_v5.cpp:10:1: error: redefinition of 'const char* scdll_DLLName()'
C:\SierraChart\ACS_Source\DeltaDivergence_v5.cpp:9:1: error: 'const char* scdll_DLLName()' previously defined here
-- End of Build -- 18:14:39