-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Errors when building solution in Visual Studio 2017 #80
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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:
![link_error](https://private-user-images.githubusercontent.com/22625491/260328636-03d9c3e5-5425-4a49-86de-f5a9c49d65af.PNG?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjU5NjYwNjksIm5iZiI6MTcyNTk2NTc2OSwicGF0aCI6Ii8yMjYyNTQ5MS8yNjAzMjg2MzYtMDNkOWMzZTUtNTQyNS00YTQ5LTg2ZGUtZjVhOWM0OWQ2NWFmLlBORz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA5MTAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwOTEwVDEwNTYwOVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTEyZjJjNzU5YTBmZTg5MDg5ZGZkYzE3Yjc4NzY0YmU5Zjk4NDEzODc0NThiMzMwMjNiY2FiY2RmYTA4MGIwYTcmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.Dgca4pIYjTzkQQm2oj2xvfNJDjZijuEzHkENbi72Tro)
Does anyone know how this can be resolved? Also let me know if I am doing any of the other steps I described incorrectly.
The text was updated successfully, but these errors were encountered: