White-Oak / qml-rust

QML (Qt Quick) bindings for Rust language
MIT License
205 stars 18 forks source link

Fails to compile: error: could not find native static library `DOtherSideStatic`, perhaps an -L flag is missing? #48

Closed bombless closed 7 years ago

bombless commented 7 years ago

I installed Qt SDK 5.7.0, installed cmake, set QTDIR=C:\Qt\Qt5.7.0\5.7\msvc2015_64 and cloned the project, git submodule init && git submodule update, with cargo run --example properties I get

   Compiling qml v0.0.9 (file:///C:/Users/bombless/qml-rust)
error: could not find native static library `DOtherSideStatic`, perhaps an -L flag is missing?

error: Could not compile `qml`.

To learn more, run the command again with --verbose.

I'm on Windows 10 64-bit, using Visual Studio 2017, cmake version 3.7.2

What did I posibilly missed?

bombless commented 7 years ago

Ah, seems that I need to build DOtherSide manually. Got another error though,

CMake Error: Error: generator : MSYS Makefiles
Does not match the generator used previously: NMake Makefiles
Either remove the CMakeCache.txt file and CMakeFiles directory or choose a different binary directory.
thread 'main' panicked at '
command did not execute successfully, got: exit code: 1