Rus Posted September 21, 2011 Share Posted September 21, 2011 Hello, I have recently got into Plug-in development with the SDK, with not much luck though. I am constantly getting these 2 errors when I build something (Even if it is a sample plug in from SDK folder): 1. Command /Developer/usr/bin/gcc-4.2 failed with exit code 1 2. mv: rename /SDK Vectorworks/SDKLib/ToolsMac/VectorWorks SDK Plug-in/Plug-in Library Stationery/build/Library./Contents/Resources/Library.rsrc to /SDK Vectorworks/SDKLib/ToolsMac/VectorWorks SDK Plug-in/Plug-in Library Stationery/build/Library./Contents/Resources/Library.qtr: No such file or directory Does anyone know what exactly is happening? Quote Link to comment
Rus Posted September 21, 2011 Author Share Posted September 21, 2011 Also when I open the xcodeproj file with the sample plugin it can not find some references, unless I reinclude them like NNA_PluginBuild.xcconfig, NNA_StdBuild_Dev.xcconfig etc. And I unless the file MacTypes.r is included into the project it gives me error: 1. /SDK Vectorworks/SDKLib/ToolsMac/VectorWorks SDK Plug-in/Plug-in Tool Stationery/Tool.r:9:0 SysError 0 during open of "MacTypes.r". Quote Link to comment
Rus Posted September 22, 2011 Author Share Posted September 22, 2011 Ok, so after hours of experimentation I have compiled an object .vwlibrary. Another set of stupid questions: 1.how do I access the .vwlibrary plug-in through Vectorworks? 2.Is there any way to decompile existing plug-ins and look at the source code. Thank you in advance. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.