Open MJVville opened 1 year ago
I just realized that maybe it was an issue that I downloaded the github code as a zip rather than cloning the repository properly with git. So I tried all this again using the cloned repository, but now I am getting a different error. There is a certain error() function used all over the place that the compiler says is undefined.
Hi,
I am trying to make the pd external by building the solution in Visual Studio 2017 so that I can add addons, as described here, but before I add any addons, I need to get the default version to work. I am using this version of ofelia.
I have followed the steps described here to properly configure ofxPd in the project. After creating the right files and putting the right ones in the bin folder like it says, I added "C:\OF\addons\ofxOfelia\libs\ofxPd\libs\libpd\lib\libpd.lib" to the "Additional dependencies" cell in the table in the project preferences. I think that took care of all the errors related to ofxPd.
Also as described here, I changed the properties of all the ofxLua source files in C:\OF\addons\ofxOfelia\libs\ofxLua\libs\lua to be compiled in C rather than C++. That took care of most of the errors related to ofxLua.
I had to copy the files "m_pd.h" and "g_canvas.h" into the folder C:\OF\addons\ofxOfelia\src so that they could be found by other files that referenced them. I'm not sure if this action causes any other problems or if it is not enough to fix the problem but it got rid of the errors associated with those files.
After these steps I am still left with one error when I try to build. It seems to be caused by a file that is generated and then deleted during the build process. At least, I can't find the file existing anywhere on my system. Here is what the error says:
Does anyone know how this can be resolved? Also let me know if I am doing any of the other steps I described incorrectly.