Message 1 of 7
[No Subject]
Not applicable
01-21-2009
12:13 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Gagan, If I add accui.dll and the *mgd.dll files all builds ok. No time to test but
I will tonight if you don't get it going.
From: "Gagan Gajabaharia"
Subject: Problems with AcRibbon.dll
Date: Wednesday, January 21, 2009 12:25 PM
In my Managed C++ project, I added a reference to AcRibbon.dll. After
having done that, in VS2005, the build is not successful; below are few
lines from the build Output. The build process seemingly goes on and on.
Any idea what is going on here? Thanks!
Gagan
-------------------------
1>------ Build started: Project: AppCore, Configuration: Debug Any CPU
------
1>AppCore -> C:\App\Starmaker\Output\Bin\debug\core\AppCore.dll
2>------ Build started: Project: ARXRunTime, Configuration: Debug Win32
------
2>Copying 'c:\Program Files\AutoCAD 2009\acdbmgd.dll' to target directory...
2>Copying 'c:\Program Files\AutoCAD 2009\acmgd.dll' to target directory...
2>Copying 'c:\Program Files\AutoCAD 2009\acmgdinternal.dll' to target
directory...
2>Copying 'c:\Program Files\AutoCAD 2009\AcWindows.dll' to target
directory...
2>Copying 'c:\Program Files\AutoCAD 2009\AcRibbon.dll' to target
directory...
2>Copying 'c:\Program Files\AutoCAD 2009\en-US\AcRibbon.resources.dll'
to target directory...
2>Compiling...
2>StdAfx.cpp
2>c:\program files\autocad 2009\acwindows.dll : error C2220: warning
treated as error - no 'object' file generated
2>c:\program files\autocad 2009\acwindows.dll : warning C4945:
'GeneratedInternalTypeHelper' : cannot import symbol from 'c:\program
files\autocad 2009\acwindows.dll': as
'XamlGeneratedNamespace::GeneratedInternalTypeHelper' has already been
imported from another assembly 'AdWindows'
2> c:\program files\autocad 2009\adwindows.dll : see declaration
of 'XamlGeneratedNamespace::GeneratedInternalTypeHelper'
2> first seen type is used; re-order imported assemblies to use
the current type
2> This diagnostic occurred while importing type
'XamlGeneratedNamespace.GeneratedInternalTypeHelper' from assembly
'AcWindows, Version=17.2.0.0, Culture=neutral, PublicKeyToken=null'.
2>c:\program files\autocad 2009\acribbon.dll : warning C4945:
'GeneratedInternalTypeHelper' : cannot import symbol from 'c:\program
files\autocad 2009\acribbon.dll': as
'XamlGeneratedNamespace::GeneratedInternalTypeHelper' has already been
imported from another assembly 'AdWindows'
2> c:\program files\autocad 2009\adwindows.dll : see declaration
of 'XamlGeneratedNamespace::GeneratedInternalTypeHelper'
2> first seen type is used; re-order imported assemblies to use
the current type
2> This diagnostic occurred while importing type
'XamlGeneratedNamespace.GeneratedInternalTypeHelper' from assembly
'AcRibbon, Version=17.2.0.0, Culture=neutral, PublicKeyToken=null'.
2>x:\output\bin\debug\core\acdbmgd.dll : warning C4945:
'LineWeightConverter' : cannot import symbol from
'x:\output\bin\debug\core\acdbmgd.dll': as
'Autodesk::AutoCAD::DatabaseServices::LineWeightConverter' has already
been imported from another assembly 'acdbmgd'
I will tonight if you don't get it going.
From: "Gagan Gajabaharia"
Subject: Problems with AcRibbon.dll
Date: Wednesday, January 21, 2009 12:25 PM
In my Managed C++ project, I added a reference to AcRibbon.dll. After
having done that, in VS2005, the build is not successful; below are few
lines from the build Output. The build process seemingly goes on and on.
Any idea what is going on here? Thanks!
Gagan
-------------------------
1>------ Build started: Project: AppCore, Configuration: Debug Any CPU
------
1>AppCore -> C:\App\Starmaker\Output\Bin\debug\core\AppCore.dll
2>------ Build started: Project: ARXRunTime, Configuration: Debug Win32
------
2>Copying 'c:\Program Files\AutoCAD 2009\acdbmgd.dll' to target directory...
2>Copying 'c:\Program Files\AutoCAD 2009\acmgd.dll' to target directory...
2>Copying 'c:\Program Files\AutoCAD 2009\acmgdinternal.dll' to target
directory...
2>Copying 'c:\Program Files\AutoCAD 2009\AcWindows.dll' to target
directory...
2>Copying 'c:\Program Files\AutoCAD 2009\AcRibbon.dll' to target
directory...
2>Copying 'c:\Program Files\AutoCAD 2009\en-US\AcRibbon.resources.dll'
to target directory...
2>Compiling...
2>StdAfx.cpp
2>c:\program files\autocad 2009\acwindows.dll : error C2220: warning
treated as error - no 'object' file generated
2>c:\program files\autocad 2009\acwindows.dll : warning C4945:
'GeneratedInternalTypeHelper' : cannot import symbol from 'c:\program
files\autocad 2009\acwindows.dll': as
'XamlGeneratedNamespace::GeneratedInternalTypeHelper' has already been
imported from another assembly 'AdWindows'
2> c:\program files\autocad 2009\adwindows.dll : see declaration
of 'XamlGeneratedNamespace::GeneratedInternalTypeHelper'
2> first seen type is used; re-order imported assemblies to use
the current type
2> This diagnostic occurred while importing type
'XamlGeneratedNamespace.GeneratedInternalTypeHelper' from assembly
'AcWindows, Version=17.2.0.0, Culture=neutral, PublicKeyToken=null'.
2>c:\program files\autocad 2009\acribbon.dll : warning C4945:
'GeneratedInternalTypeHelper' : cannot import symbol from 'c:\program
files\autocad 2009\acribbon.dll': as
'XamlGeneratedNamespace::GeneratedInternalTypeHelper' has already been
imported from another assembly 'AdWindows'
2> c:\program files\autocad 2009\adwindows.dll : see declaration
of 'XamlGeneratedNamespace::GeneratedInternalTypeHelper'
2> first seen type is used; re-order imported assemblies to use
the current type
2> This diagnostic occurred while importing type
'XamlGeneratedNamespace.GeneratedInternalTypeHelper' from assembly
'AcRibbon, Version=17.2.0.0, Culture=neutral, PublicKeyToken=null'.
2>x:\output\bin\debug\core\acdbmgd.dll : warning C4945:
'LineWeightConverter' : cannot import symbol from
'x:\output\bin\debug\core\acdbmgd.dll': as
'Autodesk::AutoCAD::DatabaseServices::LineWeightConverter' has already
been imported from another assembly 'acdbmgd'