-
-
Notifications
You must be signed in to change notification settings - Fork 262
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
weird linking issues on windows #3402
Comments
This is apparently due to a wild mix of MinGW-based libs (default) and manually specified MS libs (without |
kinke
added a commit
to kinke/ldc
that referenced
this issue
Apr 29, 2020
This reduces the overhead for auto-detecting and setting up an MSVC toolchain from a very rough 1 second to about 8 milliseconds on my box. Enabling the auto-detection by default (and so preferring MSVC over the 'internal' toolchain if there's a Visual C++ installation) is now possible, fixing issues like ldc-developers#3402. The MSVC setup now consists of the bare minimum - prepending 3 directories to the LIB env var and 1-2 directories to PATH.
kinke
added a commit
to kinke/ldc
that referenced
this issue
Apr 29, 2020
This reduces the overhead for auto-detecting and setting up an MSVC toolchain from a very rough 1 second to about 8 milliseconds on my box. Enabling the auto-detection by default (and so preferring MSVC over the 'internal' toolchain if there's a Visual C++ installation) is now possible, fixing issues like ldc-developers#3402. The MSVC setup now consists of the bare minimum - prepending 3 directories to the LIB env var and 1-2 directories to PATH.
kinke
added a commit
to kinke/ldc
that referenced
this issue
Apr 29, 2020
This reduces the overhead for auto-detecting and setting up an MSVC toolchain from a very rough 1 second to about 8 milliseconds on my box. Enabling the auto-detection by default (and so preferring MSVC over the 'internal' toolchain if there's a Visual C++ installation) is now possible, fixing issues like ldc-developers#3402. The MSVC setup now consists of the bare minimum - prepending 3 directories to the LIB env var and 1-2 directories to PATH.
kinke
added a commit
to kinke/ldc
that referenced
this issue
Apr 29, 2020
This reduces the overhead for auto-detecting and setting up an MSVC toolchain from a very rough 1 second to about 8 milliseconds on my box. Enabling the auto-detection by default (and so preferring MSVC over the 'internal' toolchain if there's a Visual C++ installation) is now possible, fixing issues like ldc-developers#3402. The MSVC setup now consists of the bare minimum - prepending 3 directories to the LIB env var and 1-2 directories to PATH.
kinke
added a commit
to kinke/ldc
that referenced
this issue
Apr 29, 2020
This reduces the overhead for auto-detecting and setting up an MSVC toolchain from a very rough 1 second to about 8 milliseconds on my box. Enabling the auto-detection by default (and so preferring MSVC over the 'internal' toolchain if there's a Visual C++ installation) is now possible, fixing issues like ldc-developers#3402. The MSVC setup now consists of the bare minimum - prepending 3 directories to the LIB env var and 1-2 directories to PATH.
kinke
added a commit
to kinke/ldc
that referenced
this issue
Apr 30, 2020
This reduces the overhead for auto-detecting and setting up an MSVC toolchain from a very rough 1 second to about 8 milliseconds on my box. Enabling the auto-detection by default (and so preferring MSVC over the 'internal' toolchain if there's a Visual C++ installation) is now possible, fixing issues like ldc-developers#3402. The MSVC setup now consists of the bare minimum - prepending 3 directories to the LIB env var and 1-2 directories to PATH.
I was getting:
Fixed it by setting a dummy env path: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi folks,
What we are doing wrong?
Is there a way to make LDC automatically link with required win-runtime libs?
So, linking the
libcmt.lib
orlibcmtd.lib
forces you to link two dependent libs as well.Here are all the linked libs in
dub.sdl
:Now, when I try to compile the project I get:
Originally posted by @tastyminerals in libmir/mir-blas#6 (comment)
The text was updated successfully, but these errors were encountered: