Login Page - Create Account

Support Board


Date/Time: Mon, 24 Feb 2025 00:19:22 +0000



Post From: GDIExample.cpp does not compile on remote build.

[2021-02-14 12:57:09]
Nicolas Hervé - Posts: 14
GDIExample.cpp does not compile on remote build with SierraChart 2229 (even after adding the scDLLName).
And it neither does with default settings of Visual Studio downloaded through sierrachart.

-- Starting remote build of Custom Studies Source files: GDIExample.cpp. 64-bit -- 13:54:56

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

The remote build did not succeed. Result:

/usr/bin/x86_64-w64-mingw32-ld: /tmp/ccVWtb8I.o:GDIExample.cpp:(.text+0x15): undefined reference to `__imp_CreateSolidBrush'
/usr/bin/x86_64-w64-mingw32-ld: /tmp/ccVWtb8I.o:GDIExample.cpp:(.text+0x1c): undefined reference to `__imp_SelectObject'
/usr/bin/x86_64-w64-mingw32-ld: /tmp/ccVWtb8I.o:GDIExample.cpp:(.text+0x46): undefined reference to `__imp_Rectangle'
/usr/bin/x86_64-w64-mingw32-ld: /tmp/ccVWtb8I.o:GDIExample.cpp:(.text+0x63): undefined reference to `__imp_DeleteObject'
collect2: error: ld returned 1 exit status

-- End of Build -- 13:55:00