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

windows build failed #35

Closed
wicast opened this issue May 7, 2019 · 2 comments
Closed

windows build failed #35

wicast opened this issue May 7, 2019 · 2 comments

Comments

@wicast
Copy link

wicast commented May 7, 2019

when build with examples\graph

My desktop get:

note: "gcc" "-Wl,--enable-long-section-names" "-fno-use-linker-plugin" "-Wl,--nxcompat" "-nostdlib" "-m64" "D:\\Program Files\\Scoop\\persist\\rustup\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\crt2.o"
 "D:\\Program Files\\Scoop\\persist\\rustup\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\rsbegin.o"
  "-L" "D:\\Program Files\\Scoop\\persist\\rustup\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib" "E:\\Thrid-parts\\Rusts\\qmetaobject-rs\\examples\\graph\\target\\debug\\deps\\graph-1975c62115467d3e.148xxcrhbggx386u.rcgu.o" 
"E:\\Thrid-parts\\Rusts\\qmetaobject-rs\\examples\\graph\\target\\debug\\deps\\graph-1975c62115467d3e.148zi9wffmug4dhs.rcgu.o" 
"E:\\Thrid-parts\\Rusts\\qmetaobject-rs\\examples\\graph\\target\\debug\\deps\\graph-1975c62115467d3e.19xkrbkap0pt3q11.rcgu.o" 
"E:\\Thrid-parts\\Rusts\\qmetaobject-rs\\examples\\graph\\target\\debug\\deps\\graph-1975c62115467d3e.1bbw8h7hx5dg8fdr.rcgu.o" 
"E:\\Thrid-parts\\Rusts\\qmetaobject-rs\\examples\\graph\\target\\debug\\deps\\graph-1975c62115467d3e.1g5smaxp70leihx8.rcgu.o" 
"E:\\Thrid-parts\\Rusts\\qmetaobject-rs\\examples\\graph\\target\\debug\\deps\\graph-1975c62115467d3e.1hqxebx0yvtyu19l.rcgu.o" 
"E:\\Thrid-parts\\Rusts\\qmetaobject-rs\\examples\\graph\\target\\debug\\deps\\graph-1975c62115467d3e.1i0p5bk37jh432vq.rcgu.o" 
"E:\\Thrid-parts\\Rusts\\qmetaobject-rs\\examples\\graph\\target\\debug\\deps\\graph-1975c62115467d3e.1ibfowx8xdzw1q3a.rcgu.o" 
"E:\\Thrid-parts\\Rusts\\qmetaobject-rs\\examples\\graph\\target\\debug\\deps\\graph-1975c62115467d3e.1knmh5188q61h1js.rcgu.o" 
"E:\\Thrid-parts\\Rusts\\qmetaobject-rs\\examples\\graph\\target\\debug\\deps\\graph-1975c62115467d3e.1m602v7zcnldwxvs.rcgu.o" 
"E:\\Thrid-parts\\Rusts\\qmetaobject-rs\\examples\\graph\\target\\debug\\deps\\graph-1975c62115467d3e.1pwrk6e2pht91639.rcgu.o" 
"E:\\Thrid-parts\\Rusts\\qmetaobject-rs\\examples\\graph\\target\\debug\\deps\\graph-1975c62115467d3e.1uapqait2jic1g1f.rcgu.o" 
"E:\\Thrid-parts\\Rusts\\qmetaobject-rs\\examples\\graph\\target\\debug\\deps\\graph-1975c62115467d3e.1woyinjqmm7t3n39.rcgu.o" 
"E:\\Thrid-parts\\Rusts\\qmetaobject-rs\\examples\\graph\\target\\debug\\deps\\graph-1975c62115467d3e.20okdd3l74blw4p8.rcgu.o" 
"E:\\Thrid-parts\\Rusts\\qmetaobject-rs\\examples\\graph\\target\\debug\\deps\\graph-1975c62115467d3e.23e6yz6y8ofg4gye.rcgu.o" 
"E:\\Thrid-parts\\Rusts\\qmetaobject-rs\\examples\\graph\\target\\debug\\deps\\graph-1975c62115467d3e.26c95qoswr00e4xm.rcgu.o" 
"E:\\Thrid-parts\\Rusts\\qmetaobject-rs\\examples\\graph\\target\\debug\\deps\\graph-1975c62115467d3e.2romyg7twnhtyb7o.rcgu.o" 
"E:\\Thrid-parts\\Rusts\\qmetaobject-rs\\examples\\graph\\target\\debug\\deps\\graph-1975c62115467d3e.2wbso8shweaeki0p.rcgu.o" 
"E:\\Thrid-parts\\Rusts\\qmetaobject-rs\\examples\\graph\\target\\debug\\deps\\graph-1975c62115467d3e.38o8kmvipb6aph32.rcgu.o" 
"E:\\Thrid-parts\\Rusts\\qmetaobject-rs\\examples\\graph\\target\\debug\\deps\\graph-1975c62115467d3e.39shocpck4nxg9sz.rcgu.o" 
"E:\\Thrid-parts\\Rusts\\qmetaobject-rs\\examples\\graph\\target\\debug\\deps\\graph-1975c62115467d3e.3cc4iua8nq7fldo2.rcgu.o" 
"E:\\Thrid-parts\\Rusts\\qmetaobject-rs\\examples\\graph\\target\\debug\\deps\\graph-1975c62115467d3e.3khuft6jiuryil4i.rcgu.o" 
"E:\\Thrid-parts\\Rusts\\qmetaobject-rs\\examples\\graph\\target\\debug\\deps\\graph-1975c62115467d3e.3m4k4f5dsepoeba2.rcgu.o" 
"E:\\Thrid-parts\\Rusts\\qmetaobject-rs\\examples\\graph\\target\\debug\\deps\\graph-1975c62115467d3e.3rz2l7274q7ngxp6.rcgu.o" 
"E:\\Thrid-parts\\Rusts\\qmetaobject-rs\\examples\\graph\\target\\debug\\deps\\graph-1975c62115467d3e.3szeqwizo6ige2ur.rcgu.o" 
"E:\\Thrid-parts\\Rusts\\qmetaobject-rs\\examples\\graph\\target\\debug\\deps\\graph-1975c62115467d3e.3v31rfomihj44h7w.rcgu.o" 
"E:\\Thrid-parts\\Rusts\\qmetaobject-rs\\examples\\graph\\target\\debug\\deps\\graph-1975c62115467d3e.3xu30hm54ibrspax.rcgu.o" 
"E:\\Thrid-parts\\Rusts\\qmetaobject-rs\\examples\\graph\\target\\debug\\deps\\graph-1975c62115467d3e.4198231dmk8s3le9.rcgu.o" 
"E:\\Thrid-parts\\Rusts\\qmetaobject-rs\\examples\\graph\\target\\debug\\deps\\graph-1975c62115467d3e.41fs3i5aucmshtur.rcgu.o" 
"E:\\Thrid-parts\\Rusts\\qmetaobject-rs\\examples\\graph\\target\\debug\\deps\\graph-1975c62115467d3e.42saol1i63zjw9a9.rcgu.o" 
"E:\\Thrid-parts\\Rusts\\qmetaobject-rs\\examples\\graph\\target\\debug\\deps\\graph-1975c62115467d3e.43cg1kx6y1x9qdgf.rcgu.o" 
"E:\\Thrid-parts\\Rusts\\qmetaobject-rs\\examples\\graph\\target\\debug\\deps\\graph-1975c62115467d3e.43fwfrqsiv7pumtm.rcgu.o" 
"E:\\Thrid-parts\\Rusts\\qmetaobject-rs\\examples\\graph\\target\\debug\\deps\\graph-1975c62115467d3e.45yjuvls9kbsb6a5.rcgu.o" 
"E:\\Thrid-parts\\Rusts\\qmetaobject-rs\\examples\\graph\\target\\debug\\deps\\graph-1975c62115467d3e.47oxt8phzhrtyior.rcgu.o" 
"E:\\Thrid-parts\\Rusts\\qmetaobject-rs\\examples\\graph\\target\\debug\\deps\\graph-1975c62115467d3e.4eoai1jetsk14lb2.rcgu.o" 
"E:\\Thrid-parts\\Rusts\\qmetaobject-rs\\examples\\graph\\target\\debug\\deps\\graph-1975c62115467d3e.4gi0fsvpzfggxic7.rcgu.o" 
"E:\\Thrid-parts\\Rusts\\qmetaobject-rs\\examples\\graph\\target\\debug\\deps\\graph-1975c62115467d3e.4mty15gvg88148b3.rcgu.o" 
"E:\\Thrid-parts\\Rusts\\qmetaobject-rs\\examples\\graph\\target\\debug\\deps\\graph-1975c62115467d3e.4nyq7h40d02a9ch2.rcgu.o" 
"E:\\Thrid-parts\\Rusts\\qmetaobject-rs\\examples\\graph\\target\\debug\\deps\\graph-1975c62115467d3e.5cdmjvgi1a5mnzwm.rcgu.o" 
"E:\\Thrid-parts\\Rusts\\qmetaobject-rs\\examples\\graph\\target\\debug\\deps\\graph-1975c62115467d3e.5ga7h8hbj1rjzp7x.rcgu.o" 
"E:\\Thrid-parts\\Rusts\\qmetaobject-rs\\examples\\graph\\target\\debug\\deps\\graph-1975c62115467d3e.eghrnffjw1c1q7z.rcgu.o" 
"E:\\Thrid-parts\\Rusts\\qmetaobject-rs\\examples\\graph\\target\\debug\\deps\\graph-1975c62115467d3e.fr15q230f1xbrxx.rcgu.o" 
"E:\\Thrid-parts\\Rusts\\qmetaobject-rs\\examples\\graph\\target\\debug\\deps\\graph-1975c62115467d3e.h8s52mwfxn6dke8.rcgu.o" 
"E:\\Thrid-parts\\Rusts\\qmetaobject-rs\\examples\\graph\\target\\debug\\deps\\graph-1975c62115467d3e.mdis3dfwxnsydk2.rcgu.o" 
"E:\\Thrid-parts\\Rusts\\qmetaobject-rs\\examples\\graph\\target\\debug\\deps\\graph-1975c62115467d3e.qty97tr9chjpssf.rcgu.o" 
"E:\\Thrid-parts\\Rusts\\qmetaobject-rs\\examples\\graph\\target\\debug\\deps\\graph-1975c62115467d3e.sn9awu6n81ebzlu.rcgu.o" 
"E:\\Thrid-parts\\Rusts\\qmetaobject-rs\\examples\\graph\\target\\debug\\deps\\graph-1975c62115467d3e.wtb78svz6g5v7g0.rcgu.o" "-o" 
"E:\\Thrid-parts\\Rusts\\qmetaobject-rs\\examples\\graph\\target\\debug\\deps\\graph-1975c62115467d3e.exe" 
"E:\\Thrid-parts\\Rusts\\qmetaobject-rs\\examples\\graph\\target\\debug\\deps\\graph-1975c62115467d3e.4iflwlhqlu3h5mcu.rcgu.o" "-Wl,--gc-sections" "-nodefaultlibs" "-L" 
"E:\\Thrid-parts\\Rusts\\qmetaobject-rs\\examples\\graph\\target\\debug\\deps" "-L" "E:\\Thrid-parts\\Rusts\\qmetaobject-rs\\examples\\graph\\target\\debug\\build\\graph-a056b6de24ee5b45\\out" 
"-L" "D:/Qt/Qt5.12.3/5.12.3/mingw73_64/lib" "-L" "E:\\Thrid-parts\\Rusts\\qmetaobject-rs\\examples\\graph\\target\\debug\\build\\qmetaobject-539f4ffe674c8e1d\\out" "-L" "D:/Qt/Qt5.12.3/5.12.3/
mingw73_64/lib" "-L" "D:\\Program Files\\Scoop\\persist\\rustup\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib" "-Wl,-Bstatic" "-Wl,
--whole-archive" "-lrust_cpp_generated" "-Wl,--no-whole-archive" "-Wl,-Bdynamic" "-lstdc++" "-lQt5Widgets" "-lQt5Gui" "-lQt5Core" "-lQt5Quick" "-lQt5Qml" "-Wl,-Bstatic" 
"E:\\Thrid-parts\\Rusts\\qmetaobject-rs\\examples\\graph\\target\\debug\\deps\\libcstr-932baf4480840992.rlib" 
"E:\\Thrid-parts\\Rusts\\qmetaobject-rs\\examples\\graph\\target\\debug\\deps\\libprocedural_masquerade-8948c7c3e0e57276.rlib" 
"E:\\Thrid-parts\\Rusts\\qmetaobject-rs\\examples\\graph\\target\\debug\\deps\\libqmetaobject-0a49030cabe32987.rlib" 
"E:\\Thrid-parts\\Rusts\\qmetaobject-rs\\examples\\graph\\target\\debug\\deps\\liblazy_static-88a8c67644caa57c.rlib" "E:\\Thrid-parts\\Rusts\\qmetaobject-rs\\examples\\graph\\target\\debug\\deps\\libcpp-a87d2ad68fb13164.rlib" "-Wl,--start-group"
"D:\\Program Files\\Scoop\\persist\\rustup\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libstd-0db2f2486be64fbb.rlib"
"D:\\Program Files\\Scoop\\persist\\rustup\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libpanic_unwind-b16ee64d7fc61f32.rlib"
"D:\\Program Files\\Scoop\\persist\\rustup\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libbacktrace_sys-3bac90ec46d946ff.rlib"
"D:\\Program Files\\Scoop\\persist\\rustup\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libunwind-2b6d48fc4bc1e636.rlib"
"D:\\Program Files\\Scoop\\persist\\rustup\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\librustc_demangle-79b7de5af2157903.rlib" 
"D:\\Program Files\\Scoop\\persist\\rustup\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\liblibc-6e9f89f57c87fe8e.rlib"
"D:\\Program Files\\Scoop\\persist\\rustup\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\liballoc-3cfb37c8d77f32ab.rlib"
"D:\\Program Files\\Scoop\\persist\\rustup\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\librustc_std_workspace_core-d417f17ac59efd97.rlib" 
"D:\\Program Files\\Scoop\\persist\\rustup\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libcore-eab30361114789ca.rlib" "-Wl,--end-group" 
"D:\\Program Files\\Scoop\\persist\\rustup\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libcompiler_builtins-b848c20e995892aa.rlib"
 "-Wl,-Bdynamic" "-lstdc++" "-lQt5Widgets" "-lQt5Gui" "-lQt5Core" "-lQt5Quick" "-lQt5Qml" "-ladvapi32" "-lws2_32" "-luserenv" "-Wl,-Bstatic" "-lgcc_eh" "-lpthread" "-Wl,-Bdynamic" "-lmingwex" "-lmingw32" "-lgcc" "-lmsvcrt" "-lmsvcrt" "-luser32" "-lkernel32"
  "D:\\Program Files\\Scoop\\persist\\rustup\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\rsend.o"
  = note: E:\Thrid-parts\Rusts\qmetaobject-rs\examples\graph\target\debug\deps\libqmetaobject-0a49030cabe32987.rlib(cpp_closures.o): In function `QMessageLogContext::QMessageLogContext()':
          E:\Thrid-parts\Rusts\qmetaobject-rs\qmetaobject/src/qtdeclarative.rs:107: multiple definition of `.weak._ZN7rustcpp8metadataE._ZnwyPv'
          E:\Thrid-parts\Rusts\qmetaobject-rs\examples\graph\target\debug\build\graph-a056b6de24ee5b45\out\librust_cpp_generated.a(cpp_closures.o):D:/Qt/Qt5.12.3/5.12.3/mingw73_64/include/QtCore/qvector.h:555: first defined here

And I've other windows laptop which get :

rust_cpp\cpp_closures.cpp:1:10: error: incomplete universal character name \U

This one must be the cargo path starting with "C:\Users......"

@ogoffart
Copy link
Member

Thanks for fixing the bug in rust-cpp.
Note: I believe the "incomplete universal character name" issue was fixed by mystor/rust-cpp#49 (But no release were made to crates.io yet)

@ogoffart
Copy link
Member

I believe this is now fixed. So closing.

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

No branches or pull requests

2 participants