Skip to content
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

Fix Dragonfly.NET compilation error regarding the usage of array #4

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

hongweimao
Copy link

This compilation error was due to some changes made to the include structure in the C++ Standard Library headers since Visual Studio 2015, and the usage of "using namespace std;" in some header file that Dragonfly.NET depends on. The C++/CLI array in the cli namespace should be used in the scripts, not the one in the std namespace.

hongweimao and others added 4 commits January 7, 2019 17:06
This compilation error was due to some changes made to the include structure in the C++ Standard Library headers since Visual Studio 2015, and the usage of "using namespace std;" in some header file that Dragonfly.NET depends on. The C++/CLI array in the cli namespace should be used, not the one in the std namespace.
Wrapped the Dragonfly library into an unmanaged C++ DLL that can be loaded by Unity C# script.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants