I have fixed most of the errors that have been popping up so far but not sure what this one means.
|Error||5||error C1189: #error : The C++ Standard Library forbids macroizing keywords. Enable warning C4005 to find the forbidden macro.||C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\xkeycheck.h||242||1|
That seems to be the main error and everything after that says IntelliSense in front of it. I am assuming those errors are comming from the error C1189 though.
Any thoughts on what this might be or how to fix it?
Maybe this is your problem. Did you recently add some includes?
I did not add any includes that were not with the dissolve project. But I think I may of not followed some directions correctly. I started over on the pgwinplugins.html to try to successfully build the plugin. I am currently stuck on step 3 in enter overall build settings for the project. I am not seeing "Inherited Property Project Sheets" Under the "Configurations Properties - General"
I am in Visual Studio 2012 and have attached an image so you can see what I am seeing. Looks like the image is going to be scaled so not sure if it will be helpful.
Thanks for all the help Tom, you helped me get the dissolve plugin working on the mac side last week.
Hmm, creating a Visual C++ 2005 Project, someone should update those instructions! Any reason you cannot use Studio 2010, that is what CS6 was built with and what we recommend. Using the same tool set is a good idea. We are looking at updating to 2012 some time in the future.
Ok I have downloaded a 2010 version of Visual Studio but am stuck on entering the Custom Build Settings. First off when I save the myfilter.r file it does not ask me if I want to create custom build settings. Then when I go onto the properties of the file after it is created and added it does not have a custom build step. I have again attached an image so you can see what I am seeing.
any help is appreciated.
I am still having the same problems. when I save the myfilter.r it does not ask me to create custom build settings and when I go into the properties of the file it does not show any of the steps the documentation is asking for.
Ok, I figured out how to get the custom build settings to show up. next spot I am stuck on is the inherited property project sheets are not in VS 2010. I found documentation that it was removed by reading some microsoft posts but I have not run across a fix for it yet.
This is in reference to step 3. under Enter Overall Build Settings for the Project in the pgwinplugins.html documentation.
Thanks again for any help,
I saw you posted an answer in another post where on the windows side you need to compile the .r file first then the .rc then comple the plugin. Aside from having issues adding the inherited property project sheet when I try to compile the .r file I get the following error.
>cl : Command line error D8004: '/Tc' requires an argument
Not sure if this has to do with the not being able to add the line of code to the inherited property project sheet or not.
I would suggest getting the SDK again and then opening up the Dissolve.sln file in MSDEV 2012 and letting the auto convert do it for you. When I did the conversion from 2010 to 2012 on our internal plugins I didn't have any issues with the MSDEV auto project converter. I wonder if you have some quotes out of place in your .r custom build step.
Here is an example that i have. You would need to edit the include paths and path to cnvtpipl for your environment.
cl /I..\..\..\..\shared\include\photoshop /I..\..\..\..\shared\include\sweetpea\spapi /DMSWindows=1 /EP /Tc"%(FullPath)" > "$(IntDir)\%(Filename).rr"
..\..\..\utilities\cnvtpipl "$(IntDir)\%(Filename).rr" "$(IntDir)\%(Filename).pipl"