Inventor Customization

Reply
Distinguished Contributor
ADNpati
Posts: 125
Registered: ‎07-01-2012
Message 1 of 2 (288 Views)
Accepted Solution

Plug in Build Error

288 Views, 1 Replies
01-30-2013 03:25 PM

Hello there,

 

I am convenrting VB 6.0 macros to Plug-in's... using Visual Basic 2010 Express.

 

After selecting AUtodesk InventorAddIn Template from Project templates when doing  build in Visual Studio 2010 express Getting Following Error..

 

Error 1 The command "call "%VS100COMNTOOLS%vsvars32"
mt.exe -manifest "C:\Users\amoolya\AppData\Local\Temporary Projects\MyInvPlug\MyInvPlug.X.manifest" -outputresource:"C:\Users\amoolya\AppData\Local\Temporary Projects\MyInvPlug\bin\Release\MyInvPlug.dll";#2" exited with code 9009. MyInvPlug

 


Looks very unususal. can somebody help me please..

Mechanical Engineer
Inventor Applications Engineer

--------------------------------------------------------------------------------------

If my solution seems to remedy your problem, please press the Accept Solution button, Some KUDOS -

-------------------------------------------------------------------------------------
Distinguished Contributor
ADNpati
Posts: 125
Registered: ‎07-01-2012
Message 2 of 2 (275 Views)

Re: Plug in Build Error

01-31-2013 02:59 PM in reply to: ADNpati

 

I checked this problem and find that the point is that the mt.exe may not on your machine.

 

Since Inventor 2012 we take use of the registry-free tech for the addins, and we updated the InventorWizards to help users to create the registry-free addins easily. The problem you encountered here is that the macro in the post-event of the addin project could not run, and the point is that it will call the MT.exe(manifest tool) is not found on your machine. I guess that you may not have the Windows SDK installed on your machine, and the VS Express version does not include the Windows SDK installer neither. So I would recommend that you download and install the Windows SDK from  http://msdn.microsoft.com/en-us/windowsserver/bb980924.aspx, and then try to compile the addin.

 

The above procedure is from Rocky Zhang from Autodesk Solutions.

 

When I started Installing SDK, Installation is getting failed and I googled around trying to fix the installation issue.

And found Solution.

 

Microsoft now has a knowledge base article called Windows SDK Fails To install with Return Code 5100   that describes this problem and its fix.

 

Solution: Uninstall any existing Visual C++ 2010 redistributable. 

 


I googled around and found this page: http://notepad.patheticcockroach.com/1666/installing-visual-c-2010-and-windows-sdk-for-windows-7-off...

 

and the advice there worked. Basically you could have one of several problems, and you have to look in the log file to see whats going on. In my log file i had:

 

 

6:17:07 PM Saturday, February 02, 2013: C:\Program Files\Microsoft SDKs\Windows\v7.1\Setup\SFX\vcredist_x64.exe installation failed with return code 5100

 

Although you might have a different problem then me. Try the solutions at the ctrl+f5 and patheticcockroach.com websites that i linked.

 

Then reinstall SDK and compile Addin.

 

In Shortcut,

 

Install windows SDK from Windows website if you are getting installation Error Uninstall any existing Visual C++ 2010 redistributable.  (both x86 and x64) and reinstall SDK. Then compile.

 

Hoped this helped!!!!

 

Mechanical Engineer
Inventor Applications Engineer

--------------------------------------------------------------------------------------

If my solution seems to remedy your problem, please press the Accept Solution button, Some KUDOS -

-------------------------------------------------------------------------------------

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Announcements
Welcome to the new Autodesk Community!
If this is your first visit, click here to get started and make the most of the Community. Let us know what you think of the new experience in the Community Feedback Forum.

Need installation help?

Start with some of our most frequented solutions to get help installing your software.

Ask the Community


Inventor Exchange Apps

Created by the community for the community, Autodesk Exchange Apps for Autodesk Inventor helps you achieve greater speed, accuracy, and automation from concept to manufacturing.

Connect with Inventor

Twitter

Facebook

Blogs

Pinterest

Youtube