Guest FEN Posted November 27, 2019 Report Share Posted November 27, 2019 Can we please get a precompiled dll that we can just use the way we want??? All I need is a dll. And the instructions do not work for mingw, it get's compile errors like cannot find file half way thru. Broken win32 build is so sad. win32dll please that is at least winXP compatible just cause. Link to comment Share on other sites More sharing options...
Joel Bodenmann Posted November 29, 2019 Report Share Posted November 29, 2019 Hello and welcome to the µGFX community. Providing pre-built libraries (either static or dynamic) for µGFX is not a very good idea. The library makes heavy use of compile time optimization based on the various configuration options given in the main configuration file and the driver configuration files. All those compile-time options influence the code that is being presented to the compiler during the pre-processor stage. Therfore, the binary code produced by the compiler (and eventually also the linker) depend on those options. This reason makes it very useless to publish binaries. For certain things such as the GDISP feature set we could just enable everything which would result in a larger binary and call it a day but for many of the other options that's simply not possible because the pre-processor makes changes based on the underlying system, the compiler being used and so on. Furthermore, some options are application specific (eg. GDISP_NEED_MULTITHREAD). TL;DR: Publishing pre-built binaries for uGFX is not a good idea because of lots of pre-processor modifications. Link to comment Share on other sites More sharing options...
Joel Bodenmann Posted November 30, 2019 Report Share Posted November 30, 2019 If you're having issues compiling µGFX successfully, you can always open a thread in the support forum where you'll find people that are happy to help where they can. µGFX is being compiled a lot against / for the win32 platform as it is being used a lot as a development environment. Link to comment Share on other sites More sharing options...
Guest le sigh... Posted December 7, 2019 Report Share Posted December 7, 2019 I wanted to just use Python and ctypes to use ugfx as a lib instead. The example won't even compile so I can't get that far yet. Link to comment Share on other sites More sharing options...
Joel Bodenmann Posted December 11, 2019 Report Share Posted December 11, 2019 Feel free to open a thread in the support section of this forum stating what you're trying to accomplish, what you already have (how far you got) and what problem(s) you're facing. "Doesn't even compile" is not enough information for us to help you in any way. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now