Comments (5)
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.
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.
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.
permissive- is now supported
from corsl.
excellent thanks for the update,
from corsl.
Related Issues (3)
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 corsl.