how to build on visual studio

  • DANGERR_X
    3rd Dec 2023 Member 0 Permalink

    when i click build solution (i havent changed anything) i just get 2 errors https://pastebin.com/dtviKa9n but its probably because im dumb

  • LBPHacker
    3rd Dec 2023 Developer 1 Permalink
    This is not you, this is a Meson bug wherein Meson neglects to disable an annoying feature of VS that is enabled by default. I've submitted a fix to Meson but it didn't make it into the 1.3.0 release :( You can either not use VS (see the MSVC part of the guide) as a permanent fix, or remove this line of code as a temporary fix.

    I've been aware of this problem for a few weeks but didn't mention it in the guide because the 1.3.0 release of Meson was near and I thought my fix would make it .-.

    Edit: It's in the guide now.
    Edited once by LBPHacker. Last: 3rd Dec 2023
  • DANGERR_X
    3rd Dec 2023 Member 0 Permalink

    @LBPHacker (View Post)

     not sure if i should make another post on this but after i did that it just gives me different errors

    https://pastebin.com/9RyCXP7Y

  • LBPHacker
    3rd Dec 2023 Developer 1 Permalink
    Feel free to stay in this thread. I've never seen that error and I don't feel like trying to figure out VS nonsense unless I really have to; can you try deleting your build site (the build-whatever directory) and setting it up again?
  • DANGERR_X
    3rd Dec 2023 Member 0 Permalink

    it somehow works now

    edit: nvm it only did it 1 time

    Edited once by DANGERR_X. Last: 3rd Dec 2023
  • LBPHacker
    3rd Dec 2023 Developer 0 Permalink
    Wait so it's broken again?
  • DANGERR_X
    4th Dec 2023 Member 0 Permalink

    @LBPHacker (View Post)

    yes i only could build it 1 time before it broke again

  • LBPHacker
    4th Dec 2023 Developer 0 Permalink
    That is extremely cursed, I've never seen that happen >_> I guess just use the MSVC guide?