Quick Links: Download Gideros Studio | Gideros Documentation | Gideros community chat | DONATE
Building UWP — Gideros Forum

Building UWP

I've started having trouble building a Windows export. I'm using Gideros 2025.2, and Visual Studio Community 2022 with the latest updates. I'm getting this error when I try to build the giderosgame.Windows projects in release x64 configuration:

The object or library file '..\..\x64\gideros.Windows.lib' was created by a different version of the compiler than other objects like 'x64\Release\DirectXPage.xaml.obj'; rebuild all objects and libraries with the same compiler

I'm wondering if the latest updates to Visual Studio are incompatible with the Gideros libary, or if I'm missing something. I've tried exports from Gideros 2024.6.1 which I've used for Windows releases in the past, but I'm still getting the same error.

Any ideas?

Likes: MoKaLux

+1 -1 (+1 / -0 )Share on Facebook

Comments

  • hgy29hgy29 Maintainer
    It happens once in a while, I try to always use the latest VS 2022 toolchain but sometimes MS releases them too fast, and unfortunately they don't allow to download a specific version of visual studio.

    Likes: MoKaLux

    +1 -1 (+1 / -0 )Share on Facebook
  • PaulHPaulH Member
    I see. So are the only options to build Gideros myself or wait for the next update?
  • hgy29hgy29 Maintainer
    I am afraid it is so. Luckily I am currently building 2025.3 :)

    Likes: keszegh

    +1 -1 (+1 / -0 )Share on Facebook
  • PaulHPaulH Member
    Great news! Thank you!
  • PaulHPaulH Member
    I'm still getting the same build error in VS 2022 with an export from Gideros 2025.3. I installed yet more updates for Visual Studio, but the error is still there. Any ideas?
  • hgy29hgy29 Maintainer
    Can you give the full error message (it typically includes which versions mismatch), and confirm you are using VS 2022 version 17.13.4 or newer ?
  • PaulHPaulH Member
    I'm using VS 2022 Version 17.13.5. The full error message is:

    Severity Code Description Project File Line Suppression State Details
    Error C1047 The object or library file '..\..\x64\gideros.Windows.lib' was created by a different version of the compiler than other objects like 'x64\Release\DirectXPage.xaml.obj'; rebuild all objects and libraries with the same compiler giderosgame.Windows F:\dev\gideros\uwp\ffshd\giderosgame\giderosgame.Windows\LINK 1
  • hgy29hgy29 Maintainer
    edited March 27
    Could it be that you exported your project in an already existing folder with previous .obj files ? if so can you try to clean and rebuild ?
  • PaulHPaulH Member
    I exported to an empty folder. I just repeated that to double check and got the same error. I've never encountered issues like this with Windows builds before. I wonder if I could have some corrupt files in VS 2022. Maybe I'll uninstall it and reinstall it. What tools and/or workloads to you install in VS for building Gideros exports?
  • hgy29hgy29 Maintainer
    Here is my VS installer config file.
    txt
    txt
    vsconfig.txt
    4K
  • PaulHPaulH Member
    Thanks! After a full uninstall and reinstall of Visual Studio it builds without errors. I'm getting a crash when I try to launch the app, but I haven't looked into it far enough to know if that's just an issue with the app itself. Being able to build it clears a major roadblock. I appreciate the help!

    Likes: MoKaLux

    +1 -1 (+1 / -0 )Share on Facebook
Sign In or Register to comment.