Cannot make Hydra Island working

Visual Studio 2017
Elements with Water - 10.0.0.2409
Hydra - 6.1.97.1221

I just created a Hydra/Island PluginModule, using Visual Studio wizard. When I compile, I got the following daunting errors.

The same problem with Water IDE too.

What is wrong?

------ Rebuild All started: Project: PluginModule1, Configuration: Debug ------
C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\RemObjects Software\Elements\RemObjects.Elements.Island.Windows.targets(70,3): error : undefined symbol: _mi_t15_Hydra_d_FakeIDispatche_QueryInterfacen_r_t7__1sGuidn_o_p_v
C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\RemObjects Software\Elements\RemObjects.Elements.Island.Windows.targets(70,3): error : undefined symbol: _mi_te_Hydra_d_Plugine_QueryInterfacen_r_t7__1sGuidn_o_p_v
C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\RemObjects Software\Elements\RemObjects.Elements.Island.Windows.targets(70,3): error : undefined symbol: _mi_t17_Hydra_d_NonVisualPlugine_QueryInterfacen_r_t7__1sGuidn_o_p_v
C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\RemObjects Software\Elements\RemObjects.Elements.Island.Windows.targets(70,3): error : undefined symbol: _mi_t15_Hydra_d_FakeIDispatche_QueryInterfacen_r_t7__1sGuidn_o_p_v
C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\RemObjects Software\Elements\RemObjects.Elements.Island.Windows.targets(70,3): error : undefined symbol: _mi_t18_Hydra_d_ModuleControllere_CreateInstancentc__1sOleStringn_o_t1e_Hydra_d_IHYCrossPlatformPlugin
C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\RemObjects Software\Elements\RemObjects.Elements.Island.Windows.targets(70,3): error : undefined symbol: _mi_t18_Hydra_d_ModuleControllere_QueryInterfacen_r_t7__1sGuidn_o_p_v
C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\RemObjects Software\Elements\RemObjects.Elements.Island.Windows.targets(70,3): error : undefined symbol: _ms_t2b_RemObjects_d_Elements_d_System_d_____Global1d_____elements__Default__AddRefnon_r_i32n_r_t29_RemObjects_d_Elements_d_System_d_GCHandle
C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\RemObjects Software\Elements\RemObjects.Elements.Island.Windows.targets(70,3): error : undefined symbol: _ms_t2b_RemObjects_d_Elements_d_System_d_____Global1e_____elements__Default__Releasenon_r_i32n_r_t29_RemObjects_d_Elements_d_System_d_GCHandle
C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\RemObjects Software\Elements\RemObjects.Elements.Island.Windows.targets(70,3): error : undefined symbol: _ms_t25_RemObjects_d_Elements_d_System_d_Guidc_op__Equalitynt25_RemObjects_d_Elements_d_System_d_Guidnt25_RemObjects_d_Elements_d_System_d_Guid
C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\RemObjects Software\Elements\RemObjects.Elements.Island.Windows.targets(70,3): error : undefined symbol: _f_t2b_RemObjects_d_Elements_d_System_d_____Global.IElementsObjectUID
C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\RemObjects Software\Elements\RemObjects.Elements.Island.Windows.targets(70,3): error : undefined symbol: _ms_t2b_RemObjects_d_Elements_d_System_d_COMHelpers14_IntObjectToComObjectnt2e_RemObjects_d_Elements_d_System_d_ICOMInterfacenp_v
C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\RemObjects Software\Elements\RemObjects.Elements.Island.Windows.targets(70,3): error : undefined symbol: _ms_t26_RemObjects_d_Elements_d_System_d_COMRCc_op__Assignedn_r_t26_RemObjects_d_Elements_d_System_d_COMRCn_r_t26_RemObjects_d_Elements_d_System_d_COMRC
C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\RemObjects Software\Elements\RemObjects.Elements.Island.Windows.targets(70,3): error : undefined symbol: __rtti_t2e_RemObjects_d_Elements_d_System_d_ICOMInterface
C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\RemObjects Software\Elements\RemObjects.Elements.Island.Windows.targets(70,3): error : undefined symbol: __rtti_t29_RemObjects_d_Elements_d_System_d_GCHandle
C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\RemObjects Software\Elements\RemObjects.Elements.Island.Windows.targets(70,3): error : undefined symbol: __rtti_t25_RemObjects_d_Elements_d_System_d_Guid
C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\RemObjects Software\Elements\RemObjects.Elements.Island.Windows.targets(70,3): error : undefined symbol: __rtti_t35_RemObjects_d_Elements_d_System_d_ElementsCOMInterface
C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\RemObjects Software\Elements\RemObjects.Elements.Island.Windows.targets(70,3): error : undefined symbol: __rtti_t3b_RemObjects_d_Elements_d_System_d_CallingConventionAttribute
C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\RemObjects Software\Elements\RemObjects.Elements.Island.Windows.targets(70,3): error : undefined symbol: _mi_t3b_RemObjects_d_Elements_d_System_d_CallingConventionAttribute3__d_nt32_RemObjects_d_Elements_d_System_d_CallingConvention
C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\RemObjects Software\Elements\RemObjects.Elements.Island.Windows.targets(70,3): error : undefined symbol: mi_t2a_RemObjects_d_Elements_d_System_d_Attribute3__d
C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\RemObjects Software\Elements\RemObjects.Elements.Island.Windows.targets(70,3): error : undefined symbol: __rtti_t38_RemObjects_d_Elements_d_System_d_AttributeUsageAttribute
C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\RemObjects Software\Elements\RemObjects.Elements.Island.Windows.targets(70,3): error : too many errors emitted, stopping now (use /errorlimit:0 to see all errors)

Hi,

I can’t reproduce this locally.
Is it reproduced on your side if you compile the Simple Non-Visual sample ( C:\Users\Public\Documents\RemObjects Samples\Hydra for Island\Oxygene\Simple Non-Visual) ?

Try to add Hydra itself (...\Hydra for Island\Source\Hydra.sln) into your project and use it instead of precompiled hydra.fx.
Will it solve this issue?

No - it doesn’t work either with Simple Non-Visual sample ( C:\Users\Public\Documents\RemObjects Samples\Hydra for Island\Oxygene\Simple Non-Visual ), using the existing Hydra.fx

I then launched ( ...\Hydra for Island\Source\Hydra.sln), from Water IDE. I built for i386 and i386x64 in DEBUG, and successfully.

Then I replaced the existing Hydra.fx files with the newlyt builts. And relaunch the “Simple Non-Visual” sample, it works fine with these DEBUG built Hydra.fx.

But there is still a PROBLEM!!! If I built ( ...\Hydra for Island\Source\Hydra.sln), from Water IDE. in RELEASE mode - it gave me an “INTERNAL ERROR”, as in below:
Solution ‘Hydra’ cleaned successfully.
No exact Windows SDK version was specified for target ‘Island-Windows’, using ‘Windows 10.0.17763.0’.
Reference ‘gc’ was resolved to ‘C:\Program Files (x86)\RemObjects Software\Elements\Island\SDKs\Windows\Windows 10.0.17763.0\i386\gc.fx’ for target ‘Island-Windows’.
Reference ‘gc’ was resolved to ‘C:\Program Files (x86)\RemObjects Software\Elements\Island\SDKs\Windows\Windows 10.0.17763.0\i386\gc.fx’ for target ‘Island-Windows’ (i386).
Reference ‘Island’ was resolved to ‘C:\Program Files (x86)\RemObjects Software\Elements\References\Island\Windows\i386\Island.fx’ for target ‘Island-Windows’.
Reference ‘Island’ was resolved to ‘C:\Program Files (x86)\RemObjects Software\Elements\References\Island\Windows\i386\Island.fx’ for target ‘Island-Windows’ (i386).
Reference ‘rtl’ was resolved to ‘C:\Program Files (x86)\RemObjects Software\Elements\Island\SDKs\Windows\Windows 10.0.17763.0\i386\rtl.fx’ for target ‘Island-Windows’.
Reference ‘rtl’ was resolved to ‘C:\Program Files (x86)\RemObjects Software\Elements\Island\SDKs\Windows\Windows 10.0.17763.0\i386\rtl.fx’ for target ‘Island-Windows’ (i386).
RemObjects Elements (Oxygene, C#, Swift and Java) Compiler for .NET, Cocoa, Java and Island.
Version 10.0.0.2409 (develop) built on bajor, 20190531-154938. Commit 5c2dbb7.
Copyright 2003-2019 RemObjects Software, LLC. All rights reserved.
Reference: C:\Program Files (x86)\RemObjects Software\Elements\Island\SDKs\Windows\Windows 10.0.17763.0\i386\winrt.fx
E: Internal error: Invalid record
Project ‘Hydra’ failed to build.
Solution ‘Hydra’ failed to build all projects.

Thanks, logged as bugs://82711

bugs://82711 got closed with status fixed.

Yeah. That’s a bug in the inliner logic we introduced. Fixed now.

When I have the installer that contains the fix? I need it to proceed with my project :slight_smile:

I need to fully test island/com and hydra before I release it; but are you on the betas? If so fridays elements should have this for sure.