Comments (6)
I should update that. In fact, on Windows I think CMake defaults to whatever VS Studio it finds. So we might be able to leave it out entirely. FWIW, you can simply disable the building of this binaries. Just remove the reference to it on this line and it won't be built:
https://github.com/rorywalsh/cabbage/blob/develop/build.py#L108
It's only need if you plan to do batch conversions of lots of instruments. It's a niche feature.
from cabbage.
It would seem the change is
:
if platform.system() == "Windows":
generator = "Visual Studio 17 2022"
I could probably figure out a way to have this python script probe for which one of these is installed.
from cabbage.
I am able to build the one you suggested commenting out, and it compiles the main cabbage.exe dependencies, but won't create the cabbage.lib library, or link the cabbage.exe. . perhaps an incompatibility with VS 2022 standard runtime libraries or a dependency C++ library/framework.
Creating library C:/audiodev/csound_stuff/cabbage/build/cabbage_artefacts/Release/VST3/cabbage.lib and object C:/audiodev/csound_stuff/cabbage/build/cabbage_artefacts/Release/VST3/cabbage.exp
cabbage_SharedCode.lib(CabbagePluginEditor.obj) : error LNK2001: unresolved external symbol "public: void
__cdecl ComponentLayoutEditor::updateFrames(void)" (?updateFrames@ComponentLayoutEditor@@QEAAXXZ) [C:\au
diodev\csound_stuff\cabbage\build\cabbage_VST3.vcxproj]
cabbage_SharedCode.lib(CabbagePluginEditor.obj) : error LNK2001: unresolved external symbol "public: void
__cdecl ComponentLayoutEditor::setTargetComponent(class juce::Component *)" (?setTargetComponent@Compone
ntLayoutEditor@@QEAAXPEAVComponent@juce@@@Z) [C:\audiodev\csound_stuff\cabbage\build\cabbage_VST3.vcxproj
]
cabbage_SharedCode.lib(CabbagePluginEditor.obj) : error LNK2001: unresolved external symbol "public: virt
ual __cdecl ComponentLayoutEditor::~ComponentLayoutEditor(void)" (??1ComponentLayoutEditor@@UEAA@XZ) [C:\
audiodev\csound_stuff\cabbage\build\cabbage_VST3.vcxproj]
cabbage_SharedCode.lib(CabbagePluginEditor.obj) : error LNK2001: unresolved external symbol "public: __cd
ecl ComponentLayoutEditor::ComponentLayoutEditor(class juce::ValueTree)" (??0ComponentLayoutEditor@@QEAA@
VValueTree@juce@@@Z) [C:\audiodev\csound_stuff\cabbage\build\cabbage_VST3.vcxproj]
C:\audiodev\csound_stuff\cabbage\build\cabbage_artefacts\Release\VST3\cabbage.vst3\Contents\x86_64-win\ca
bbage.vst3 : fatal error LNK1120: 4 unresolved externals [C:\audiodev\csound_stuff\cabbage\build\cabbage_
VST3.vcxproj]
===========================================================
Copying binaries before removing build folder
I'm wondering if this is hitting a C++ VC2022 bug.
public: __cdecl ComponentLayoutEditor::ComponentLayoutEditor(class juce::ValueTree)....
Source/GUIEditor/ComponentLayoutEditor.cpp
Source/GUIEditor/ComponentLayoutEditor.h
cl.exe reports:
Microsoft (R) C/C++ Optimizing Compiler Version 19.34.31937 for x86
Copyright (C) Microsoft Corporation. All rights reserved.
No compiler stage warnings, and no complaints about missing .obj or .lib.
Attaching entire compile log
python.exe build.py --config Release --project cabbage >build.log
from cabbage.
link error build log (VC 2022 latest, win10)
OBviously I can use the nightly builds for my purposes, but since I thought I might be able to help by trying stuff it would be nice if this built on my Win pc. Gonna try on my mac and on my linux laptop too so I can see the differences.
from cabbage.
Looks like the builds are messed up because your plugin interface build is trying to compile source from the main Cabbage IDE. I suggest you nuke the build dir, comment out the CLI project and try running the build again. You can try this:
python build.py --packageType="Minimal"
from cabbage.
Closing due to inactivity.
from cabbage.
Related Issues (20)
- `installCabbage` fails silently HOT 3
- CTRL-Z in UI edit mode causes widget to slide left HOT 3
- Add build artifacts to .gitignore HOT 1
- Request for specifying Number Box slider increase interval HOT 5
- Cabbage closes without any message HOT 1
- [Linux] Default install to /usr/local/bin HOT 6
- Linux Installation Questions HOT 2
- Drag and drop does not work in reaper. HOT 5
- Possible to install on Linux Fedora 36? HOT 4
- Please add JUCE_WEB_BROWSER=0 to CLIConverter target HOT 2
- stop setting CWD... HOT 4
- CLIConverter does not link on Linux HOT 4
- Installation not work on linux manjaro distro based HOT 10
- "Select new project type" screen and Zenity HOT 1
- Button FIle Open not open windows for find the file and the cabbage crash! HOT 5
- How to convert nki files to vst? HOT 2
- xypad doesn't update value display when automating via DAW HOT 3
- Cabbage widget to show Csound console messages HOT 6
- Cabbage widget to edit/save Csound code HOT 4
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 cabbage.