Ultralight icon indicating copy to clipboard operation
Ultralight copied to clipboard

Cannot link with rust: "__NULL_IMPORT_DESCRIPTOR already defined"

Open CXCubeHD opened this issue 2 years ago • 1 comments

Cannot link AppCore.lib with Ultralight.lib within rustc. Those are the lib files provided in the main readme section (x64-win)

  = note: Ultralight.lib(Ultralight.dll) : error LNK2005: __NULL_IMPORT_DESCRIPTOR already defined in AppCore.lib(AppCore.dll)
          F:\src\ultralight-sys\target\debug\deps\ultralight_sys.exe : fatal error LNK1169: one or more multiply defined symbols found

Btw I needed to make my own bindings because the ul and ul-sys crates don't work. (https://crates.io/crates/ul & https://crates.io/crates/ul-sys)

CXCubeHD avatar Feb 04 '22 16:02 CXCubeHD

#406

CXCubeHD avatar Feb 04 '22 16:02 CXCubeHD