Comments (7)
The issue was that the code was still referencing an older version of axodox-common. On my setup I use env vars to allow simultaneous building of of common, machinelearning and unpaint without regenerating nuget packages or updating any references, while the build script is designed to pull the latest nuget no matter what.
In your case you build straight from Studio, and have not run the update_dependencies.ps1, this resulting in VS trying to build the code with the old version of common, which failed.
from axodox-machinelearning.
You may close the issue, if you see that my latest change resolved it for you.
from axodox-machinelearning.
@alex-aparin Usually VS would prompt you with a GUI to install when opening the solution. You can just open VS installer and install the "C++ (v143) Universal Windows Platform tools" from individual components tab.
from axodox-machinelearning.
That is weird, those types should come from the directX part of https://github.com/axodox/axodox-common/blob/main/Axodox.Common.Shared/includes.h
Can you verify that it is included?
Also you might need to run the update_dependencies.ps1 to use the latest nuget packages.
from axodox-machinelearning.
I have the same issue. It sounds like solution cannot be built from visual studio application directly. I suppose it's related with usage of axodox.common package, because it defines needed macro for direct3d. (My visual studio showed errors that common's headers cannot be found) But usage build_nuget.ps1 script allowed me to build library. I hope this may help
from axodox-machinelearning.
I have ran update_dependencies.ps1 and committed the results. It will work now.
from axodox-machinelearning.
@axodox Thank you, now it looks better. I have built Desktop/Test project via studio. Unfortunately Universal project outputs error: 1>The build tools for 'v143' application Type Windows Store (Platform Toolset = 'v143') cannot be found. Please install the workflow for this application type and include the build tools for the
. It seems like I missed some toolset during setup. I will try to use only desktop version. In the case of success I will return to investigae Universal project later.
from axodox-machinelearning.
Related Issues (14)
- Projects with Win32 target fail to build
- LoRA support HOT 5
- Failed to set to the execution context HOT 1
- Should StableDiffusionTest.cpp generate an image?
- How to set the enviroment variable to use the library HOT 1
- Could you compile and release a Windows CLI.exe for your project, please?
- NuGet fails with fresh Unreal Engine 5.2 Project HOT 2
- hi,What kind of library is this, is onnx running on the onnxruntime? HOT 1
- custom_op_cliptok.onnx HOT 2
- Has iOS support and what model is supported? HOT 1
- LCM support HOT 1
- Is it possible to build the project in mac arm model or linux platform? HOT 3
- Is it possible to use library without WinRt? HOT 12
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 axodox-machinelearning.