Compile error for SimpleToolPalette.vcproj ARX2010

Compile error for SimpleToolPalette.vcproj ARX2010

Anonymous
Not applicable
1,918 Views
2 Replies
Message 1 of 3

Compile error for SimpleToolPalette.vcproj ARX2010

Anonymous
Not applicable
Using Visual Studio 2008 (VS9) Standard Edition.

I'm able to compile ArxDbg.arx and load in ACAD2010, but when compiling

ARX2010\samples\editor\SimpleToolPalette_dg\SimpleToolPalette.vcproj

I get:

1>------ Build started: Project: asdkSimpleToolPalette, Configuration: Debug Win32 ------
1>Compiling...
1>StdAfx.cpp
1>C:\Program Files\Microsoft Visual Studio 9.0\VC\atlmfc\include\AtlCom.h(431) : error C2146: syntax error : missing ';' before identifier 'rgclsidAllowed'
1>C:\Program Files\Microsoft Visual Studio 9.0\VC\atlmfc\include\AtlCom.h(431) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files\Microsoft Visual Studio 9.0\VC\atlmfc\include\AtlCom.h(431) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files\Microsoft Visual Studio 9.0\VC\atlmfc\include\AtlCom.h(6053) : error C2039: 'rgclsidAllowed' : is not a member of 'ATL::ATL_PROPMAP_ENTRY'
1> C:\Program Files\Microsoft Visual Studio 9.0\VC\atlmfc\include\AtlCom.h(422) : see declaration of 'ATL::ATL_PROPMAP_ENTRY'
1>C:\Program Files\Microsoft Visual Studio 9.0\VC\atlmfc\include\AtlCom.h(6053) : error C2660: 'ATL::CComVariant::ReadFromStream' : function does not take 4 arguments
1>Project : warning PRJ0018 : The following environment variables were not found:
1>$(GINC)
1>Build log was saved at "file://c:\Autodesk\SDK\ARX2010\samples\editor\SimpleToolPalette_dg\Debug\BuildLog.htm"
1>asdkSimpleToolPalette - 5 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========


The migration doc does not specify which VS edition is required. Do I need at least the Professional edition?

Thanks,
John
0 Likes
1,919 Views
2 Replies
Replies (2)
Message 2 of 3

pavanjella
Alumni
Alumni
Hi John,
Can you try installing the below ATL update from Microsoft and see if it fixes the errors you are seeing?

http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=294de390-3c94-49fb-a014-9a38...

Hope this helps.
0 Likes
Message 3 of 3

Anonymous
Not applicable
Problem fixed. Thanks!
0 Likes