Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8248373
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T23:10:19+00:00 2026-06-07T23:10:19+00:00

I am fairly new to C++ programming and very new to programming using the

  • 0

I am fairly new to C++ programming and very new to programming using the Maya C++ API. I have been trying to use the GNU C++ compiler because I have the 64-bit version of Maya, but I only have the free to use 32-bit version of Visual C++. This is all running in 64-bit Windows Vista.

The problem is when I try to compile the helloWorldCmd.cpp example which comes with Maya I get errors saying there are problems with the Maya header files that are included. Are there actually problems with Maya’s compiler headers, or is it just that GNU C++ cannot be used for compiling plugins for Maya? I need help because this issue may stop me dead on going further with learning how to write plug-ins for Maya.

Below are the generated compiler errors. If anyone can decipher what the issue might be I would be most grateful:

C:\MyPrograms>c++ helloWorldCmd.cpp -o helloWorld.exe
In file included from c:\mingw\bin\../lib/gcc/mingw32/4.6.2/../../../../include/
maya/MString.h:47:0, from c:\mingw\bin\../lib/gcc/mingw32/4.6.2/../../../../include/
maya/MSimple.h:48, from helloWorldCmd.cpp:30:
c:\mingw\bin\../lib/gcc/mingw32/4.6.2/../../../../include/maya/MTypes.h:239:8: e
rror: expected identifier before 'false'
c:\mingw\bin\../lib/gcc/mingw32/4.6.2/../../../../include/maya/MTypes.h:239:8: e
rror: expected '}' before 'false'
c:\mingw\bin\../lib/gcc/mingw32/4.6.2/../../../../include/maya/MTypes.h:239:8: e
rror: expected unqualified-id before 'false'
c:\mingw\bin\../lib/gcc/mingw32/4.6.2/../../../../include/maya/MTypes.h:239:18:
error: expected declaration before '}' token
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-07T23:10:21+00:00Added an answer on June 7, 2026 at 11:10 pm

    The problem with using a full version of Visual Studio is that for a learner the cost of buying it is a bit prohibitive and a native install of Visual C++ Express only compiles to 32-bit targets. However, I came across this blog post which explained how to get Software Development Kit to use with Visual C++ Express which does compile to 64-bit. It also explains how to do all further setup ready to build Maya plugins:

    http://prilisa.com/2012/01/my-first-maya-2011-c-plug-in.html

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm very much new to programming and have been doing fairly well so far.
I'm fairly new to database programming in WinForms, and have been using BindingSource, DataSet,
I am fairly new to DirectX 10 programming, and I have been trying to
I'm fairly new to Visual Studio (specifically Visual Basic .NET) but have been programming
I'm fairly new to programming and have been focussing a great deal on Java
I'm fairly new to programming in general but have been working with Java for
I'm fairly new to programming in Objective-C. While I have been able to find
I am fairly new to programming and to python and wxpython. I have looked
I'm a fairly new programmer and very new to web programming and I need
I am fairly new to Objective C and iOS programming but am constantly trying

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.