Hi, I did everything described in the README.CMake file and I got successfully built the FLTK.sln using the command prompt.
But when I open it with Visual Studio I have only x64 solutions available, so I selected "create new" and converted everything to Win32. Then I wanted to build the FLTK.dll but in the end I got many link errors "GDIplus".
Can someone please explain to me step by step what I have to configure before building the solution?
I want to update the fltk.dll from the game "Amnesia: The Dark Descent" which is from 2010 so can I even replace the old fltk.dll with a new from version 1.4.0 ?
I got successfully built FLTK 1.3.8 by opening the "ide" folder which has a vs2010 solution and the game works with it. But even here I got warnings during the build process and I don't know whether everything is correct inside.
Or please can you pre-build an official fltk.dll when the stable version of FLTK 1.4.0 is released?
For you developers it should be done in 2 minutes I think and everyone would be happy to have an easier life.
Thank you.
Hi, I did everything described in the README.CMake file and I got successfully built the FLTK.sln using the command prompt.
But when I open it with Visual Studio I have only x64 solutions available, so I selected "create new" and converted everything to Win32. Then I wanted to build the FLTK.dll but in the end I got many link errors "GDIplus".Can someone please explain to me step by step what I have to configure before building the solution?
I want to update the fltk.dll from the game "Amnesia: The Dark Descent" which is from 2010 so can I even replace the old fltk.dll with a new from version 1.4.0 ?
I got successfully built FLTK 1.3.8 by opening the "ide" folder which has a vs2010 solution and the game works with it. But even here I got warnings during the build process and I don't know whether everything is correct inside.
Or please can you pre-build an official fltk.dll when the stable version of FLTK 1.4.0 is released?
For you developers it should be done in 2 minutes I think and everyone would be happy to have an easier life.
Hi Baal,
I posted a couple of weeks ago the tweaks I had to make to VS2019 flow to build the 1.4 snapshot at the time. From what you say all you need to add is the MS library gdiplus.lib to the list of static libraries you need to include in the linker.
To build 32-bit you need to add a switch to CMake (-A Win32).
Regards Phil.
Sent from Mail for Windows
--
You received this message because you are subscribed to the Google Groups "fltk.general" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fltkgeneral...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fltkgeneral/d30f2479-c5a3-4a80-86f3-b6f46205ba77n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fltkgeneral/622e6a95.1c69fb81.998eb.9578SMTPIN_ADDED_BROKEN%40gmr-mx.google.com.
Hey, can you tell me which is the GDI+ I have to use? There are many different sources on Github by different companies and I don't know which is the right one to build FLTK.
On 20 March 2022, at 12:05, imm <imaca...@gmail.com> wrote:
>
>
>On Sun, 20 Mar 2022, 11:57 Baal Lukor wrote:
>
>Hey, can you tell me which is the GDI+ I have to use? There are many different sources on Github by different companies and I don't know which is the right one to build FLTK.
>
>None of them.
>
>GDI+ is a part of the Windows system and should be available as a DLL in your build system.
I just added to the list of .lib to link. As I was already linking ms libraries, I already had the location.
Phik.
>
>With the MS tools you would link against gdiplus.lib (if I recall correctly, I seldom use VS tooling) or with the mingw tools it would be libgdiplus.a.
>
>You do not need any third party library for this.
>
>If you don't already have the requisite libs on your system, then your tools installation is broken.
>
>--
>Ian
>From my Fairphone FP3
>
>--
>You received this message because you are subscribed to the Google Groups "fltk.general" group.
>To unsubscribe from this group and stop receiving emails from it, send an email to fltkgeneral...@googlegroups.com.
>To view this discussion on the web visit https://groups.google.com/d/msgid/fltkgeneral/CAGFM6daY%2BuyetyBOgU02E0ZG4s%2B3qq5sej6A7u4ugtF07GO59g%40mail.gmail.com.