#Link.exe error

17 messages · Page 1 of 1 (latest)

smoky pier
#

I'm getting this error idk why

cedar river
#

try rustup toolchain install stable-gnu ? but idk about windows

smoky pier
#

rustup update stable ig

smoky pier
rose crest
#

Well it's not finding it for some reason. Maybe there's something in PATH that's also called link.exe.

smoky pier
#

i don't understand how it was working fine previosly

#

when i created a seperate file in src and then executed cargo run then it crashed

rose crest
#

The error message coming from link says to run link --help but that's not a msvc link flag (it would say /help) so it must surely be some other program from somewhere

smoky pier
#

i got this error while running ```cargo install --force cargo

rose crest
#

yeah, that sounds like you're using mingw's link somehow. E.g. when I run mingw's link I get a similar error as you:

$ link
link: missing operand
Try 'link --help' for more information.

Whereas msvc link is completely different.

smoky pier
#

i deleted visual studio