Win32 support > 8bpp ?

Mark G 20 Reputation points
2023-07-26T07:49:40.5766667+00:00

Running through the initial demos, and I can't get any GUIX Studio project to compile, if I use anything above 8BPP, I get linker errors when looking for a class of drivers called. " win32_dave2d_graphics_driver_setup_xxxx"

Googling for "Dave2D" graphics driver brings is literally nothing, and there is no mention of this on the GUIX site.

For now, sticking to 8BPP fixes the issue, however confused, what have I missed?

Azure RTOS
Azure RTOS
An Azure embedded development suite including a small but powerful operating system for resource-constrained devices.
330 questions
{count} votes

Accepted answer
  1. AshokPeddakotla-MSFT 30,511 Reputation points
    2023-07-26T13:37:40.5033333+00:00

    Mark G Greetings!

    I'm glad that you were able to resolve your issue and thank you for posting your solution so that others experiencing the same thing can easily reference this! Since the Microsoft Q&A community has a policy that "The question author cannot accept their own answer. They can only accept answers by others ", I'll repost your solution in case you'd like to accept the answer .

    Issue:  

    Running through the initial demos, and I can't get any GUIX Studio project to compile, if I use anything above 8BPP, I get linker errors when looking for a class of drivers called. " win32_dave2d_graphics_driver_setup_xxxx"

    Solution:

     The "fix" is to not use Dave's drivers, but use one of the others defined in gx_win32_driver.h , selecting the correct one based on your GUIX Studio display depth setting.

    • win32_graphics_driver_setup_monochrome
    • win32_graphics_driver_setup_4bpp_grayscale
    • win32_graphics_driver_setup_8bit_palette
    • win32_graphics_driver_setup_8bit_palette_rotated
    • win32_graphics_driver_setup_565rgb
    • win32_graphics_driver_setup_565rgb_rotated
    • win32_graphics_driver_setup_565bgr
    • win32_graphics_driver_setup_1555xrgb
    • win32_graphics_driver_setup_4444argb
    • win32_graphics_driver_setup_24xrgb
    • win32_graphics_driver_setup_24xrgb_rotated
    • win32_graphics_driver_setup_32argb
    • win32_graphics_driver_setup_32argb_rotated
    • win32_chromeart_graphics_driver_setup_565rgb

    If I missed anything please let me know and I'd be happy to add it to my answer, or feel free to comment below with any additional information.

    I hope this helps!

    If you have any other questions, please let me know. Thank you again for your time and patience throughout this issue.


0 additional answers

Sort by: Most helpful