jingwood / d2dlib

A .NET library for hardware-accelerated, high performance, immediate mode rendering via Direct2D.
MIT License
239 stars 42 forks source link

Cannot compile in pure .NET FW #118

Closed LexaGV closed 1 month ago

LexaGV commented 1 month ago

Hello, guys! Help is needed. I use .NET Framework 4.8 and try to compile project D2DLibExport. I created empty lib and added all *.cs files. Then I added FW-edition System.Numerics.Vectors.dll and System.Drawing, but no luck: a lot of errors about undefined symbols like D2DPoint, HWND, HANDLE, FLOAT. Can you point me from where they are taken??

LexaGV commented 1 month ago

I solved it - found missing classes. Who knew they are declared as aliases in a project!