Comments (6)
@olilarkin thanks! I think this is more a concern for people trying to build locally.
from neuralnote.
You can build onnxruntime.lib yourself by following the steps indicated in the readme (Build from source, Windows).
Using the instructions from onnxruntime documentation won't work as it will create a dynamic library.
from neuralnote.
Argh, this is because the static onnxruntime.lib was compiled with VS 2022 (MSVC 19.35.32215)
According to https://github.com/MicrosoftDocs/cpp-docs/blob/main/docs/porting/binary-compat-2015-2017.md, you would have this error when there's a compiler version mismatch even by a minor version.
Possible solutions:
- You build onnxruntime.lib yourself (pros: works, cons: much longer build time + extra steps for building)
- We compile onnxruntime.lib as part of NeuralNote repo's build scripts adding a lot more build time (pros: seamless build, cons: much longer build time)
- Investigate what happens if we turn off LTO flags such as /GL and /LTCG.
- Get rid of onnxruntime altogether. But I'll leave that to you to detail what it entails in a separate issue.
from neuralnote.
If you use github actions and do your build in the cloud, you can cache the ort-builder output so it doesn't take a long time to build if you didn't change the model. This is of course a bit annoying for local builds. Or just say it requires VS2022?
from neuralnote.
Still having this problem currently on Windows. Any clue on how to build onnxruntime.lib
yourself?
Would it suffice to follow these onnxruntime inferencing build instructions from within the ThirdParty directory before running build.bat
?
from neuralnote.
Oh I see, didn't notice that part of the README was related to this issue. I did follow it but seems like I missed an error.
Had to install python 3.10 because the specific requirements.txt versions are not available anymore in 3.11 and had to update cmake from version 3.23 to the latest. Not sure if it was relevant but I also executed everything from the developer command prompt for VS 2022.
Now it builds, thanks!
from neuralnote.
Related Issues (20)
- android support HOT 3
- GUI improvement HOT 2
- Pixelated NeuralNote text
- separate midi files for separate voices HOT 1
- irrelevent request HOT 1
- Standalone version HOT 2
- .opus support and other formats HOT 3
- microtonal support HOT 1
- dynamic support HOT 2
- have a tuner built-in HOT 1
- offer more background choices HOT 2
- change-able window size HOT 11
- Linux support (via WINE) HOT 3
- Loop points and live midi out HOT 1
- .opus format support HOT 1
- How can I use the built files in Xcode HOT 7
- Awesome application, thanks!
- could not load the audio file HOT 6
- Installation of Neural Note for FL studio HOT 2
- Cannot Drag and Drop files in Logic Pro HOT 1
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 neuralnote.