Code Monkey home page Code Monkey logo

Comments (3)

adam-sawicki-a avatar adam-sawicki-a commented on May 27, 2024

What compiler do you use? I checked Visual Studio 2017 as well as 2019 and the release "v1.0.0+vs2017" compiles OK. I agree this is a bug. However, the function reserve is never used, so Microsoft compiler ignores it.

In order to have it fixed I recommend taking latest version from "master" branch, which is always in a good functional state and contains many additional features and fixes.

from d3d12memoryallocator.

RMichelsen avatar RMichelsen commented on May 27, 2024

Im using Visual Studio 2019 Version 16.4.4. The compilation error seems to happen during template instantiation, here is the compiler output.

1>C:\Users\Rasmus\Desktop\Untitled\Untitled\Dependencies\D3D12MemoryAllocator\include\D3D12MA\D3D12MemAlloc.cpp(596,18): error C3861: 'm_Allocator': identifier not found
1>C:\Users\Rasmus\Desktop\Untitled\Untitled\Dependencies\D3D12MemoryAllocator\include\D3D12MA\D3D12MemAlloc.cpp(721): message : see reference to class template instantiation 'D3D12MA::Vector<T>' being compiled
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\chrono(632): message : see reference to class template instantiation 'std::chrono::duration<double,std::ratio<1,1>>' being compiled
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\chrono(178): message : see reference to class template instantiation 'std::chrono::duration<__int64,std::nano>' being compiled
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\chrono(610): message : see reference to class template instantiation 'std::chrono::time_point<std::chrono::steady_clock,std::chrono::nanoseconds>' being compiled

from d3d12memoryallocator.

adam-sawicki-a avatar adam-sawicki-a commented on May 27, 2024

In version 16.4.5 it compiles successfully.

from d3d12memoryallocator.

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.