I'm trying to convert an old project that was build with VS2003 and compiled for maya 7. I thought running the plugin wizard would set the environment up correctly but I can't get it to work. The wizard fails at the point where it should bring up the html pages that let you customize your project settings and the project never gets made.

Anyway. the project already exists with my old source code and I thought the only thing I really should need to do is bring in the headers. My old code has stuff like this:

and so forth. So I searched the maya devkit folder and found all the headers that were listed in my code. I copied them all into a folder called 'maya' and put that folder in
\Microsoft Visual Studio 8\VC\include\ dir. The solution still won't build and I'm getting this kind of error:

Does anyone here have experience troubleshooting this sort of thing? Seems like an awfully silly thing to have as a bottleneck and I'm feeling terribly naive right now, I'm sure the answer is really simple but beyond my experience. Thanks in advance for any help, I'm under deadline and feeling the urgency.

cheers,
jazz

tredeger

06 June 2007, 09:39 PM

Um, err,

Rooted around in the maya directory and realized that there is an 'include/maya' folder there. Previously, I'd just done a search for *.h in the explorer. Copied the entire directory into the VC directory and it looks like that solved my problem. Feel silly. Should have realized that the headers were going to reference other headers themselves.

Though I'm still failing to build. My current error:

1>LINK : fatal error LNK1181: cannot open input file 'Foundation.lib'

any ideas? Haven't gotten that before.

thanks again.

tredeger

06 June 2007, 09:48 PM

SOLVED

sorry and thanks.

Found the .lib files I needed in the maya dir and copied them to the approriate VS dir.

Guess that wizard does some pretty useful stuff after all!

CGTalk Moderation

06 June 2007, 09:48 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.

Follow Us On:

The CGSociety

The CGSociety is the most respected and accessible global organization for creative digital artists. The CGS supports artists at every level by offering a range of services to connect, inform, educate and promote digital artists worldwide. More about us on TheArtSociety.com