Support Board
Date/Time: Sun, 24 Nov 2024 00:02:21 +0000
Post From: Something not right with the compiler
[2013-08-24 07:04:55] |
maxpi - Posts: 181 |
I just built a machine, installed Win 7, SC [ver 1014, non-net] including the compiler. The compiler seems to be missing some libraries or something. A build of the skeleton study produces a lot of errors: -- Starting build of Custom Studies Source File: TestThingy.cpp. -- 23:52:51 "C:\SierraChart\CPPCompiler\bin\g++.exe" "C:\SierraChart\ACS_Source\TestThingy.cpp" -march=i686 -mtune=i686 -O2 -shared -static -static-libgcc -static-libstdc++ -s -fno-rtti -fno-exceptions -o "C:\SierraChart\Data\TestThingy.dll" In file included from C:\SierraChart\ACS_Source\sierrachart.h:155:0, from C:\SierraChart\ACS_Source\TestThingy.cpp:2: C:\SierraChart\ACS_Source\scdatetime.h: In function 'SCDateTime GetCurrentDateTimeInGMT()': C:\SierraChart\ACS_Source\scdatetime.h:1223:2: error: 'SYSTEMTIME' was not declared in this scope C:\SierraChart\ACS_Source\scdatetime.h:1223:13: error: expected ';' before 'st' C:\SierraChart\ACS_Source\scdatetime.h:1226:2: error: '::GetSystemTime' has not been declared C:\SierraChart\ACS_Source\scdatetime.h:1226:19: error: 'st' was not declared in this scope In file included from C:\SierraChart\ACS_Source\TestThingy.cpp:2:0: C:\SierraChart\ACS_Source\sierrachart.h: At global scope: C:\SierraChart\ACS_Source\sierrachart.h:182:45: warning: '__cdecl__' attribute only applies to function types [-Wattributes] C:\SierraChart\ACS_Source\sierrachart.h:182:45: error: typedef 'fp_ACSGDIFunction' is initialized (use decltype instead) C:\SierraChart\ACS_Source\sierrachart.h:182:45: error: 'HWND' was not declared in this scope C:\SierraChart\ACS_Source\sierrachart.h:182:64: error: 'HDC' was not declared in this scope C:\SierraChart\ACS_Source\sierrachart.h: In static member function 'static char* SCString::StringNew(size_t)': C:\SierraChart\ACS_Source\sierrachart.h:815:46: error: 'GetProcessHeap' was not declared in this scope C:\SierraChart\ACS_Source\sierrachart.h:815:53: error: 'SIZE_T' was not declared in this scope C:\SierraChart\ACS_Source\sierrachart.h:815:68: error: 'HeapAlloc' was not declared in this scope C:\SierraChart\ACS_Source\sierrachart.h: In static member function 'static void SCString::StringDelete(char*)': C:\SierraChart\ACS_Source\sierrachart.h:823:29: error: 'GetProcessHeap' was not declared in this scope C:\SierraChart\ACS_Source\sierrachart.h:823:41: error: 'HeapFree' was not declared in this scope C:\SierraChart\ACS_Source\sierrachart.h: At global scope: C:\SierraChart\ACS_Source\sierrachart.h:882:3: error: 'COLORREF' does not name a type C:\SierraChart\ACS_Source\sierrachart.h:909:3: error: 'COLORREF' does not name a type C:\SierraChart\ACS_Source\sierrachart.h:922:3: error: 'COLORREF' does not name a type C:\SierraChart\ACS_Source\sierrachart.h: In member function 'void s_UseTool::Clear()': C:\SierraChart\ACS_Source\sierrachart.h:993:4: error: 'Color' was not declared in this scope C:\SierraChart\ACS_Source\sierrachart.h:1001:4: error: 'SecondaryColor' was not declared in this scope C:\SierraChart\ACS_Source\sierrachart.h:1009:5: error: 'LevelColor' was not declared in this scope In file included from C:\SierraChart\ACS_Source\TestThingy.cpp:2:0: C:\SierraChart\ACS_Source\sierrachart.h: In member function 'long unsigned int s_SCInput_145::GetColor() const': C:\SierraChart\ACS_Source\sierrachart.h:2485:48: error: 'RGB' was not declared in this scope C:\SierraChart\ACS_Source\sierrachart.h: In member function 's_SCInput_145& s_SCInput_145::SetColor(unsigned char, unsigned char, unsigned char)': C:\SierraChart\ACS_Source\sierrachart.h:2795:39: error: 'RGB' was not declared in this scope C:\SierraChart\ACS_Source\sierrachart.h: In member function 's_SCInput_145& s_SCInput_145::SetString(const char*)': C:\SierraChart\ACS_Source\sierrachart.h:2876:28: error: 'GetProcessHeap' was not declared in this scope C:\SierraChart\ACS_Source\sierrachart.h:2876:52: error: 'HeapFree' was not declared in this scope C:\SierraChart\ACS_Source\sierrachart.h:2888:55: error: 'GetProcessHeap' was not declared in this scope C:\SierraChart\ACS_Source\sierrachart.h:2888:90: error: 'HeapAlloc' was not declared in this scope In file included from C:\SierraChart\ACS_Source\TestThingy.cpp:2:0: C:\SierraChart\ACS_Source\sierrachart.h: At global scope: C:\SierraChart\ACS_Source\sierrachart.h:2989:2: error: 'COLORREF' does not name a type C:\SierraChart\ACS_Source\sierrachart.h: In constructor 's_NumericInformationGraphDrawTypeConfig::s_NumericInformationGraphDrawTypeConfig()': C:\SierraChart\ACS_Source\sierrachart.h:3002:3: error: 'TextBackgroundColor' was not declared in this scope C:\SierraChart\ACS_Source\sierrachart.h:3002:25: error: 'RGB' was not declared in this scope C:\SierraChart\ACS_Source\sierrachart.h: At global scope: C:\SierraChart\ACS_Source\sierrachart.h:4521:2: error: 'COLORREF' does not name a type C:\SierraChart\ACS_Source\sierrachart.h:4672:2: error: 'HWND' does not name a type C:\SierraChart\ACS_Source\sierrachart.h:5704:66: error: 'COLORREF' has not been declared C:\SierraChart\ACS_Source\sierrachart.h:5704:92: error: 'COLORREF' has not been declared C:\SierraChart\ACS_Source\sierrachart.h:5756:2: error: 'fp_ACSGDIFunction' does not name a type -- End of Build -- 23:52:52 Date Time Of Last Edit: 2013-08-24 07:06:27
|