View Full Version : VS11 (2012) Maya 2013 projects

11 November 2012, 11:16 AM
Ive just tried compiling a vs10 project in 11- works fine in release, but when compiling debug, odbc.lib isnt in the search paths- Ive located the file in the windowsSDK / 7.0 directory, but being that the current version is 8.0, I looked in there and didnt see the file.

Ive experimented with a number of paths but always get missing symbols- maybe the WSDK 8.0 install is corrupt, or is there something else im missing?

11 November 2012, 01:31 PM
OK, seems that the upgrade process fails to update some of the default library paths.

You need to:
change the include path which lists:




and in the lib paths, change:




11 November 2012, 03:32 PM
You might already know this, but just in case you didn't:

You should try to compile your plug-ins using the same compiler revision that was used to compile Maya proper. For Maya 2013 that is VS2010 SP1. This is to avoid potential memory issues that might occur due to having two different CRTs. As an example, there are many cases where memory is allocated by the plug-in and passed into Maya (who then takes ownership of the memory and is responsible for freeing the data).

Depending on the plug-in this may not be a problem and if it isn't, then ignore this. However if you do encounter random memory issues, I would try compiling with the proper version of VS.

CGTalk Moderation
11 November 2012, 03:32 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.