Open soklamon opened 7 months ago
Here are the details of the command line:
C:\Users\SON>cd C:\Users\SON\Documents\Unity\rnbo.unity.audioplugin\build
C:\Users\SON\Documents\Unity\rnbo.unity.audioplugin\build>cmake .. -DPLUGIN_NAME="My Custom Plugin" -- Building for: Visual Studio 16 2019 -- Selecting Windows SDK version 10.0.16299.0 to target Windows 10.0.19045. -- The CXX compiler identification is MSVC 19.29.30147.0 -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/cl.exe - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- building for WindowsStandalone64 with bit depth 64 for CPU AMD64 -- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) -- Configuring done (4.3s) -- Generating done (0.0s) -- Build files have been written to: C:/Users/SON/Documents/Unity/rnbo.unity.audioplugin/build
C:\Users\SON\Documents\Unity\rnbo.unity.audioplugin\build>cmake --build . --config Release Microsoft (R) Build Engine version 16.11.2+f32259642 for .NET Framework Copyright (C) Microsoft Corporation. All rights reserved.
1>Checking Build System Building Custom Rule C:/Users/SON/Documents/Unity/rnbo.unity.audioplugin/CMakeLists.txt RNBOWrapper.cpp AudioPluginUtil.cpp rnbo_source.cpp C:\Users\SON\Documents\Unity\rnbo.unity.audioplugin\export\rnbo_source.cpp(1456,186): warning C4804: '<': unsafe use of type 'bool' in operation [C:\Users\SON\Documents\Unity\rnbo.unity.audioplugin\build\RNBOUnityPlugin.vcxproj] C:\Users\SON\Documents\Unity\rnbo.unity.audioplugin\export\rnbo_source.cpp(1469,186): warning C4804: '<': unsafe use of type 'bool' in operation [C:\Users\SON\Documents\Unity\rnbo.unity.audioplugin\build\RNBOUnityPlugin.vcxproj] C:\Users\SON\Documents\Unity\rnbo.unity.audioplugin\export\rnbo_source.cpp(1490,186): warning C4804: '<': unsafe use of type 'bool' in operation [C:\Users\SON\Documents\Unity\rnbo.unity.audioplugin\build\RNBOUnityPlugin.vcxproj] C:\Users\SON\Documents\Unity\rnbo.unity.audioplugin\export\rnbo_source.cpp(1511,186): warning C4804: '<': unsafe use of type 'bool' in operation [C:\Users\SON\Documents\Unity\rnbo.unity.audioplugin\build\RNBOUnityPlugin.vcxproj] C:\Users\SON\Documents\Unity\rnbo.unity.audioplugin\export\rnbo_source.cpp(1525,182): warning C4804: '<': unsafe use of type 'bool' in operation [C:\Users\SON\Documents\Unity\rnbo.unity.audioplugin\build\RNBOUnityPlugin.vcxproj] C:\Users\SON\Documents\Unity\rnbo.unity.audioplugin\export\rnbo_source.cpp(1685,186): warning C4804: '<': unsafe use of type 'bool' in operation [C:\Users\SON\Documents\Unity\rnbo.unity.audioplugin\build\RNBOUnityPlugin.vcxproj] C:\Users\SON\Documents\Unity\rnbo.unity.audioplugin\export\rnbo_source.cpp(1698,186): warning C4804: '<': unsafe use of type 'bool' in operation [C:\Users\SON\Documents\Unity\rnbo.unity.audioplugin\build\RNBOUnityPlugin.vcxproj] C:\Users\SON\Documents\Unity\rnbo.unity.audioplugin\export\rnbo_source.cpp(1719,186): warning C4804: '<': unsafe use of type 'bool' in operation [C:\Users\SON\Documents\Unity\rnbo.unity.audioplugin\build\RNBOUnityPlugin.vcxproj] C:\Users\SON\Documents\Unity\rnbo.unity.audioplugin\export\rnbo_source.cpp(1740,186): warning C4804: '<': unsafe use of type 'bool' in operation [C:\Users\SON\Documents\Unity\rnbo.unity.audioplugin\build\RNBOUnityPlugin.vcxproj] C:\Users\SON\Documents\Unity\rnbo.unity.audioplugin\export\rnbo_source.cpp(1754,182): warning C4804: '<': unsafe use of type 'bool' in operation [C:\Users\SON\Documents\Unity\rnbo.unity.audioplugin\build\RNBOUnityPlugin.vcxproj] RNBO.cpp Generating Code... Creating library C:/Users/SON/Documents/Unity/rnbo.unity.audioplugin/build/Release/MyCustomPlugin.lib and object C :/Users/SON/Documents/Unity/rnbo.unity.audioplugin/build/Release/MyCustomPlugin.exp RNBOUnityPlugin.vcxproj -> C:\Users\SON\Documents\Unity\rnbo.unity.audioplugin\build\MyCustomPlugin\Assets\Plugins\Wi ndows\MyCustomPlugin.dll Building Custom Rule C:/Users/SON/Documents/Unity/rnbo.unity.audioplugin/CMakeLists.txt
The above test is within the RNBODrum example project. I tried to assign different index numbers to the different plugins I also tried to reimport the packages (MyCustomPlugin and RNBOTypes) but I got again the same error.
I made a new clean project and I do not get those errors. My hypothesis is that there is some kind of conflict in the test project because of the different RNBO exports.
Hi @soklamon -- I think your hypothesis makes sense! This RNBODrum example project might need some updating in order to work with the current state of RNBO / this plugin.
I'm assigning this issue to myself to see how we can update the test project.
thanx!
I exported from Max/RNBO a simple plugin and compiled it with CMake In addition, I added for windows: cmake --build . --config Release I had no errors
However, when starting Unity to test, I got this error: C:\Users\SON\Documents\Unity\rnbo.unity.audioplugin\build\MyCustomPlugin\Assets\Scripts\MyCustomPluginHelper.cs(628,20): error CS0246: The type or namespace name 'TransportRequestDelegate' could not be found (are you missing a using directive or an assembly reference?)
seems like Unity cannot find the type or namespace named 'TransportRequestDelegate.' Probably, it is a missing reference
any help please?