Coder Social home page Coder Social logo

Comments (6)

amitsingh19975 avatar amitsingh19975 commented on May 29, 2024

If you are trying to use Tensor, the minimum C++ standard is 20. Furthermore, for windows, the msvc >= 14.29. If it doesn't work, please post the msvc version.

from ublas.

Zhaojun-Liu avatar Zhaojun-Liu commented on May 29, 2024

Hi @amitsingh19975,
I tried option /std:c++latest, the error still exists. And the msvc version as below:
image

from ublas.

amitsingh19975 avatar amitsingh19975 commented on May 29, 2024

Are you using b2 for compiling? If yes, try passing c++ standard cxxstd=latest like this. If the problem persists, send me the command you use to compile. Try to use GCC on windows to check if the same problem occurs. If it does, you are doing something wrong while compiling, like using b2 incorrectly.

from ublas.

Zhaojun-Liu avatar Zhaojun-Liu commented on May 29, 2024

I try to update the build steps as follows:

  1. .\bootstrap
  2. .\b2 headers variant=release cxxstd=latest --build-dir=..\out\x86rel address-model=32
  3. .\b2 variant=release cxxstd=latest --build-dir=..\out\x86rel address-model=32
    and then runtest as below
    .\b2 -j16 variant=release cxxstd=latest --build-dir=..\out\x86rel libs\numeric\ublas\test

and the issue persists.

from ublas.

amitsingh19975 avatar amitsingh19975 commented on May 29, 2024

Try to follow the steps in the following yml file https://github.com/boostorg/ublas/blob/develop/.github/workflows/windows.yml.

from ublas.

Zhaojun-Liu avatar Zhaojun-Liu commented on May 29, 2024

I compared the difference between our compilation steps and the yml file you provided, and after executing different parts, the error can still be reproduced.

from ublas.

Related Issues (20)

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.