Skip to content
This repository has been archived by the owner on Feb 17, 2021. It is now read-only.

unresolved external symbols on Windows 8.1 #50

Open
Boscop opened this issue Sep 19, 2017 · 0 comments
Open

unresolved external symbols on Windows 8.1 #50

Boscop opened this issue Sep 19, 2017 · 0 comments

Comments

@Boscop
Copy link

Boscop commented Sep 19, 2017

Trying to build this with the latest nightly:

   Compiling sousa v0.1.0 (file:///D:/projects/sousa)
error: linking with `link.exe` failed: exit code: 1120
note: "D:\\Program Files\\Microsoft Visual Studio 14.0\\VC\\bin\\amd64\\link.exe" "/NOLOGO" "/NXCOMPAT" "/LIBPATH:D:\\Program Files\\.multirust\\toolchains\\nightly-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib" "D:\\projects\\sousa\\target\\debug\\deps\\sousa-cc9d6e6379baec73.0.o" "/OUT:D:\\projects\\sousa\\target\\debug\\deps\\sousa-cc9d6e6379baec73.exe" "D:\\projects\\sousa\\target\\debug\\deps\\sousa-cc9d6e6379baec73.crate.allocator.o" "/OPT:REF,NOICF" "/DEBUG" "/NATVIS:D:\\Program Files\\.multirust\\toolchains\\nightly-x86_64-pc-windows-msvc\\lib\\rustlib\\etc\\liballoc.natvis" "/NATVIS:D:\\Program Files\\.multirust\\toolchains\\nightly-x86_64-pc-windows-msvc\\lib\\rustlib\\etc\\libcore.natvis" "/LIBPATH:D:\\projects\\sousa\\target\\debug\\deps" "/LIBPATH:C:\\Windows\\system32" "/LIBPATH:D:\\data\\Qt\\Qt5.8.0\\5.8\\msvc2015_64\\lib" "/LIBPATH:D:\\projects\\sousa\\target\\debug\\build\\qml-b3da3924b4fd8479\\out\\lib" "/LIBPATH:D:\\projects\\sousa\\target\\debug\\build\\qml-b3da3924b4fd8479\\out\\build\\lib\\Release" "/LIBPATH:D:\\Program Files\\.multirust\\toolchains\\nightly-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib" "D:\\projects\\sousa\\target\\debug\\deps\\libqml-8b7edbfc429f2223.rlib" "D:\\projects\\sousa\\target\\debug\\deps\\liblazy_static-cb739ed98755003d.rlib" "D:\\projects\\sousa\\target\\debug\\deps\\liblibc-d147521939f78f0c.rlib" "D:\\Program Files\\.multirust\\toolchains\\nightly-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\libstd-dca4b73029f3479e.rlib" "D:\\Program Files\\.multirust\\toolchains\\nightly-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\libpanic_unwind-e1674c3de8a486d7.rlib" "D:\\Program Files\\.multirust\\toolchains\\nightly-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\libunwind-795d569cacd9eec9.rlib" "D:\\Program Files\\.multirust\\toolchains\\nightly-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\liblibc-ff2b57c12e14fd49.rlib" "D:\\Program Files\\.multirust\\toolchains\\nightly-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\liballoc_system-6108368a26c0af1c.rlib" "D:\\Program Files\\.multirust\\toolchains\\nightly-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\liballoc-8293dc8c9ac9fe00.rlib" "D:\\Program Files\\.multirust\\toolchains\\nightly-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\libstd_unicode-75578c31b1e15ba3.rlib" "D:\\Program Files\\.multirust\\toolchains\\nightly-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\librand-122e151e5c31e37b.rlib" "D:\\Program Files\\.multirust\\toolchains\\nightly-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\libcore-08a2018b8fb6bf88.rlib" "D:\\Program Files\\.multirust\\toolchains\\nightly-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\libcompiler_builtins-3d953567610cee9c.rlib" "Qt5Core.lib" "Qt5Gui.lib" "Qt5Qml.lib" "Qt5Quick.lib" "Qt5Svg.lib" "Qt5Widgets.lib" "DOtherSide.lib" "advapi32.lib" "ws2_32.lib" "userenv.lib" "shell32.lib" "msvcrt.lib"
note: libqml-8b7edbfc429f2223.rlib(qml-8b7edbfc429f2223.0.o) : error LNK2019: unresolved external symbol dos_qabstractlistmodel_beginRemoveRows referenced in function _ZN3qml17qabstactlistmodel10QListModel10remove_row17h5aee948953d5d8d4E

libqml-8b7edbfc429f2223.rlib(qml-8b7edbfc429f2223.0.o) : error LNK2019: unresolved external symbol dos_qabstractlistmodel_endRemoveRows referenced in function _ZN3qml17qabstactlistmodel10QListModel10remove_row17h5aee948953d5d8d4E

libqml-8b7edbfc429f2223.rlib(qml-8b7edbfc429f2223.0.o) : error LNK2019: unresolved external symbol dos_qabstractlistmodel_beginResetModel referenced in function _ZN3qml17qabstactlistmodel10QListModel8set_data17hbd67b04ee140cd24E

libqml-8b7edbfc429f2223.rlib(qml-8b7edbfc429f2223.0.o) : error LNK2019: unresolved external symbol dos_qabstractlistmodel_endResetModel referenced in function _ZN3qml17qabstactlistmodel10QListModel8set_data17hbd67b04ee140cd24E

D:\projects\poc\sousa\target\debug\deps\sousa-cc9d6e6379baec73.exe : fatal error LNK1120: 4 unresolved externals


error: Could not compile `sousa`.

Caused by:
  process didn't exit successfully: `rustc --crate-name sousa src\main.rs --error-format json --crate-type bin --emit=dep-info,link -C debuginfo=2 -C metadata=cc9d6e6379baec73 -C extra-filename=-cc9d6e6379baec73 --out-dir D:\projects\poc\sousa\target\debug\deps -L dependency=D:\projects\poc\sousa\target\debug\deps --extern qml=D:\projects\poc\sousa\target\debug\deps\libqml-8b7edbfc429f2223.rlib -L native=C:\Windows\system32 -L native=D:\data\Qt\Qt5.8.0\5.8\msvc2015_64\lib -L native=D:\projects\poc\sousa\target\debug\build\qml-b3da3924b4fd8479\out\lib -L native=D:\projects\poc\sousa\target\debug\build\qml-b3da3924b4fd8479\out\build\lib\Release` (exit code: 101)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant