F2588 linker error - undefined symbols for architecture x86_64
i’m working on a new port of VirtualTreeview and i moved the most patches from your fork on github to the source.
it’s not allmost done, but i get this linker error
F2588 linker error - undefined symbols for architecture x86_64
can you give me an hint, what’s going wring?
Thanks sven
Comments (9)
-
repo owner -
reporter i’ve invited you on github
-
reporter sry, i missunderstood
Error: "_GetCursorInfo", referenced from: __ZN6Winapi7Windows13GetCursorInfoER13tagCURSORINFO in Winapi.Windows.o; ld: symbol(s) not found for architecture x86_64
-
reporter ok, i commented out GetCursorInfo, but what’s now the problem?
[dccosx64 Fehler] E2597 duplicate symbol ___rsrc_N6CURSOR1_11E in:
C:\Program Files (x86)\CrossVcl\Lib\21.0\OSX64\Debug\Vcl.Controls.o
D:\projekte\src_landrix_git_CrossVCL-Components\Demos\Virtual-TreeView\OSX64\Debug\VirtualTrees.o
duplicate symbol ___rsrc_N6CURSOR1_12E in:
C:\Program Files (x86)\CrossVcl\Lib\21.0\OSX64\Debug\Vcl.Controls.o
D:\projekte\src_landrix_git_CrossVCL-Components\Demos\Virtual-TreeView\OSX64\Debug\VirtualTrees.o
duplicate symbol ___rsrc_N6CURSOR1_13E in:
C:\Program Files (x86)\CrossVcl\Lib\21.0\OSX64\Debug\Vcl.Controls.o
D:\projekte\src_landrix_git_CrossVCL-Components\Demos\Virtual-TreeView\OSX64\Debug\VirtualTrees.o
duplicate symbol ___rsrc_N6CURSOR1_14E in:
C:\Program Files (x86)\CrossVcl\Lib\21.0\OSX64\Debug\Vcl.Controls.o
D:\projekte\src_landrix_git_CrossVCL-Components\Demos\Virtual-TreeView\OSX64\Debug\VirtualTrees.o
duplicate symbol ___rsrc_N6CURSOR1_15E in:
C:\Program Files (x86)\CrossVcl\Lib\21.0\OSX64\Debug\Vcl.Controls.o
D:\projekte\src_landrix_git_CrossVCL-Components\Demos\Virtual-TreeView\OSX64\Debug\VirtualTrees.o
duplicate symbol ___rsrc_N6CURSOR1_16E in:
C:\Program Files (x86)\CrossVcl\Lib\21.0\OSX64\Debug\Vcl.Controls.o
D:\projekte\src_landrix_git_CrossVCL-Components\Demos\Virtual-TreeView\OSX64\Debug\VirtualTrees.o
duplicate symbol ___rsrc_N6CURSOR1_17E in:
C:\Program Files (x86)\CrossVcl\Lib\21.0\OSX64\Debug\Vcl.Controls.o
D:\projekte\src_landrix_git_CrossVCL-Components\Demos\Virtual-TreeView\OSX64\Debug\VirtualTrees.o
ld: 7 duplicate symbols for architecture x86_64
[dccosx64 Fataler Fehler] F2588 Linker-Fehlercode: 1 ($00000001) -
reporter ok, i’ve found it out, i’ve removed these cursors from .res
-
reporter OK, another not found Win32 method:
AccessibleObjectFromWindow
and a ECVclException “ImageList_Write not implemented“ in Winapi.CrossVcl.pas
Check the Advanced-VirtualTreeview-Demo on
https://github.com/landrix/CrossVCL-Components
it’s now public
-
repo owner ImageList_Write still not implemented in CrossVcl. Since it uses only at design-time and in some particular case like in Advanced demo. See main.pas - ConvertToHighColor. Just comment out this procedure. We will try to impleemnt this if this is really important.
-
reporter ok, thanks, i will try to improve the main functionality of vst
-
repo owner - changed status to resolved
- Log in to comment
Please post full error log. I guess some WinAPI is missing.