Comments (6)
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.
Hi @amitsingh19975,
I tried option /std:c++latest, the error still exists. And the msvc version as below:
from ublas.
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.
I try to update the build steps as follows:
- .\bootstrap
- .\b2 headers variant=release cxxstd=latest --build-dir=..\out\x86rel address-model=32
- .\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.
Try to follow the steps in the following yml file https://github.com/boostorg/ublas/blob/develop/.github/workflows/windows.yml.
from ublas.
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)
- Exception raised on the construction of the tensor from the `tensor_expression`
- Wrong `to_strides_v` computation
- Transpose for Rank One Tensors HOT 1
- Exception Raised for Static Rank Tensor inside the Tensor Times Tensor Product
- Use of Template Type in the Wrong Place HOT 4
- Extension of lifetime within tensor expression templates for prvalues not guaranteed. HOT 1
- Incorrect parameter ordering in element_sub HOT 4
- Error in Github Actions due to incorrect msvc toolset version
- Compiler cannot perform small-object and other optimizations in algorithms.cpp HOT 5
- Use function call operator for indexing instead of at HOT 2
- Fixing iteration-type of for-loop. HOT 3
- Wrong implementation of copy constructor for the different type of layout
- Tensor examples in the documentation are not correct.
- Deprecated Inheritance From std::iterator Didn't Make It To Release HOT 7
- ublas::matrix broken with compiler error with build 1.80 but not 1.63 HOT 2
- ublas::matrix::resize with preserve= true, can it be implemented without temporary storage?
- No type named ''allocator_size_type“ in namespace 'boost' HOT 1
- Modular Boost C++ Libraries Request HOT 1
- Wrong behavior of map_array copy constructor.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ublas.