Coder Social home page Coder Social logo

Comments (5)

AlexBAV avatar AlexBAV commented on August 17, 2024

It looks like you incorrectly integrate the library into your project. Make sure corsl\include path is in your Include locations list.

Look at the sample project - under sample1 project properties in "VC++ Directories" it has "$(SolutionDir)\include" which points to the required folder.

from corsl.

IkoLogs avatar IkoLogs commented on August 17, 2024

Hi Alex

Thanks for the feedback. it confirmed for me that you never heard such symptoms regards corsl future declaration, so i had to look closer to home for a solution, given that the corsl sample builds.

I am using quite a number of third party libraries such as boost, poco, and cppwinrt to name a few which all have their path included in c++ include path, now that also has Corsl/include, and an excellent addition .

The problem for building corsl::future was "for me" related to /d1permissive- .

After trying various cpp-winrt projects, i found about 2 out of 6 samples that dont contain /d1permissive- in command line options, usually declared after std latest etc.
example IBuffer cpp-winrt example does not contain permissive.
corsl sample also does not contain permissive.

Took that out and at least now i can build corsl future and promise declarations.

Thank you very much for your effort with this, the detailed examples add a lot of value.

cheers

from corsl.

AlexBAV avatar AlexBAV commented on August 17, 2024

I've tried to build the library with permissive mode switched off, but had strange (to my understanding) compilation errors.

Currently, library supported only permissive mode.

from corsl.

AlexBAV avatar AlexBAV commented on August 17, 2024

permissive- is now supported

from corsl.

IkoLogs avatar IkoLogs commented on August 17, 2024

excellent thanks for the update,

from corsl.

Related Issues (3)

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.