Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upI'm can't run cargo install diesel-cli --no-default-features --features mysql on windows 10 with MSVC2017 #1768
Comments
This comment has been minimized.
|
That sounds like something is wrong with your mysql setup. (I would guess libmysqlclient is missing) See the documentation of mysqlclient-sys (the crate we use for the mysql stuff) for details how to setup the environment. I close this issue because this is nothing actionable that could be fixed inside of diesel. |
weiznich
closed this
Jun 28, 2018
This comment has been minimized.
raintears
commented
Jun 29, 2018
|
It's not missing. I installed it. The error happens when compiling diesel_cli
|
This comment has been minimized.
That error is clearly a linker error. This means: (ordered by likelihood)
|
This comment has been minimized.
raintears
commented
Jul 2, 2018
•
|
1st case: I installed MySQL Connector/C 8.0 via Windows Installer. This entire process is not even found in the docs. I went with postgres instead and it gives me yet another fatal error LNK1181: cannot open input file 'libpq.lib' This was working fine with mac but now on windows is like a whack. Nothing works. The getting started guide only works for mac, it breaks in windows. |
raintears commentedJun 27, 2018
I met with a lot of errors but I read the thread only to realize we have to add some environment variables etc but I can't find any help on this issue. It's complaining about some linking error? Can someone help me? I'm on windows 10.
error: linking with
C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Tools\MSVC\14.14.26428\bin\HostX64\x64\link.exefailed: exit code: 1120