Support Board
Date/Time: Mon, 13 Jan 2025 05:54:08 +0000
Post From: Linker error when using GDI
[2017-03-27 01:28:34] |
Usermb - Posts: 126 |
Using 1531 on Windows 10 x64. Trying to compile the default GDI example (GDIExample.cpp) leads to: -- Starting build of Custom Studies Source files: GDIExample.cpp. -- 03:04:37 C:\windows\system32\cmd.exe /C "C:\SierraChartScan\ACS_Source\VisualCCompile.Bat" C:\SierraChartScan\ACS_Source>call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" GDIExample.cpp Creating library GDIExample.lib and object GDIExample.exp GDIExample.obj : error LNK2001: unresolved external symbol __imp__CreateSolidBrush@4 GDIExample.obj : error LNK2001: unresolved external symbol __imp__DeleteObject@4 GDIExample.obj : error LNK2001: unresolved external symbol __imp__Rectangle@20 GDIExample.obj : error LNK2001: unresolved external symbol __imp__SelectObject@8 C:\SierraChartScan\Data\GDIExample.dll : fatal error LNK1120: 4 unresolved externals -- End of Build -- 03:04:49 All other studies compile fine, in some of my other studies I even use Boost, and still no problem, all compiles fine. |