Code Monkey home page Code Monkey logo

Comments (10)

9il avatar 9il commented on June 2, 2024

@jmh530 What compiler version?

from mir-cpuid.

jmh530 avatar jmh530 commented on June 2, 2024

I was using ldc 1.2.0. I was originally having an issue because mine was too old to recognize Visual Studio 2017 Community. While the newer version recognized it, it still had issues.

I could check my dmd version later if that matters. I think it was the latest (2.074.1), but not entirely sure.

from mir-cpuid.

9il avatar 9il commented on June 2, 2024

I have not windows. Please report new issues too

from mir-cpuid.

jmh530 avatar jmh530 commented on June 2, 2024

from mir-cpuid.

9il avatar 9il commented on June 2, 2024

I was using ldc 1.2.0. I was originally having an issue because mine was too old to recognize Visual Studio 2017 Community. While the newer version recognized it, it still had issues.

Do you mean you have the same issue or you have another issue with the same compiler?

from mir-cpuid.

jmh530 avatar jmh530 commented on June 2, 2024

from mir-cpuid.

jmh530 avatar jmh530 commented on June 2, 2024

TLDR: You might consider adding to the readme that Windows users with Visual Studio 2017 will need ldc2-1.3.0 to run the mir-cpuid command. This may also need to get added to the mir-cpuid project readme.md.

I just playing around with it again and noticed that it says "Using Visual C++: C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC". When I look at my Program Files (x86) folder, I see Visual Studio 2017, 9, 11, 12, and 14. So it seems to be taking 12, but the latest.

I did some googling and found it was related to the following issue:
ldc-developers/ldc#2134

I went into the file they mention and noticed that it was only referring to Visual Studio 12. So I downloaded ldc2-1.3.0-beta2-win64-msvc, changed the environment path, and ran the code again and it worked just fine.

from mir-cpuid.

9il avatar 9il commented on June 2, 2024

@jmh530 What is tha status if this issue, should it be still open?

from mir-cpuid.

9il avatar 9il commented on June 2, 2024

(may be it is already resolved?)

from mir-cpuid.

jmh530 avatar jmh530 commented on June 2, 2024

@9il I believe it is resolved and will close. I have compiled it successfully on Windows 7 using LDC 1.10.0 and mir-cpuid-0.5.3.

from mir-cpuid.

Related Issues (19)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.