dcsimg
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3

Thread: Meson and Visual Studio

  1. #1
    John E is offline Elite Member Power Poster
    Join Date
    Apr 2001
    Location
    Manchester, England
    Posts
    4,489

    Meson and Visual Studio

    Is anyone here using Meson in conjunction with MSVC? I'm just trying to get to grips with it by building a Gnome open source library called Glib.

    I've figured out that I need to open a VS Command Prompt and type meson --backend=vs. This does produce some vcxproj files for me - but they only contain 32-bit targets. I asked about this on the Glib forum and I was told that I need to create different VS Command Prompts (i.e. my existing one, plus a new one for building 64-bit targets).

    AFAICT my existing Command Prompt runs a batch file called VsDevCmd.bat. Looking at it in a text editor I can see various references to x86 and x32 - but no references to x64 (even though I'm running on a 64-bit OS).

    I'm working with VS2015 Community Edition and I've built 64-bit apps with it previously (so I do know it's 64-bit capable). But how do I create a "64-bit aware" version of the VS Command Prompt? (I must admit, it's kinda sounding like nonsense to me... )
    "A problem well stated is a problem half solved. - Charles F. Kettering

  2. #2
    Arjay's Avatar
    Arjay is online now Moderator / MS MVP Power Poster
    Join Date
    Aug 2004
    Posts
    12,769

    Re: Meson and Visual Studio

    Look in the Start menu under the Visual Studio tools entries. There should be a x64 command prompt. Are you developing on a x64 machine?

  3. #3
    John E is offline Elite Member Power Poster
    Join Date
    Apr 2001
    Location
    Manchester, England
    Posts
    4,489

    Re: Meson and Visual Studio

    Thanks Arjay and yes, it's a 64-bit system. There seem to be three x64 Command Prompts there, namely:-

    VS2015 X64 ARM Cross Tools Command Prompt
    VS2015 X64 Native Tools Command Prompt
    VS2015 X64 x86 Cross Tools Command Prompt

    [Edit..] VS2015 X64 Native Tools Command Prompt seems to be what I need
    Last edited by John E; June 11th, 2018 at 09:40 AM.
    "A problem well stated is a problem half solved. - Charles F. Kettering

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Windows Mobile Development Center


Click Here to Expand Forum to Full Width




On-Demand Webinars (sponsored)