|
01-14-2019, 08:42 PM
|
#1
|
Human being with feelings
Join Date: Nov 2011
Posts: 3,409
|
visual studio disk usage?
Howdy -- apparently feeling masochistic I've thought to make another attempt at getting into C++ and coding VST's with iPlug2, now that the new version is out.
I'm up against the ridiculous disk space requirements of visual studio, though (see here). I have like 1GB free on my C drive (40GB partition), and things are already pretty streamlined (e.g. no system restore points, all serious data on external drives, etc.) So, freeing up like 5-10GB is going to be painful, or even impossible.
If I want to compile windows VSTs I need to use visual studio, right? There are no alternatives?
|
|
|
01-14-2019, 08:50 PM
|
#2
|
Human being with feelings
Join Date: Feb 2007
Location: Oulu, Finland
Posts: 8,062
|
I think MinGw might work but I haven't tried that for VST plugins in a long time. Of course you may be faced with stuff like having to write your own make or cmake files for IPlug...(AFAIK IPlug only has direct support for Visual Studio solutions on Windows.)
__________________
I am no longer part of the REAPER community. Please don't contact me with any REAPER-related issues.
|
|
|
01-14-2019, 08:54 PM
|
#3
|
Human being with feelings
Join Date: Nov 2011
Posts: 3,409
|
Interesting... I'd love to develop on iplug in linux, test/etc there, and just pop over to windows when it's time to compile and test before distribution. If iplug2 had MinGW support (I'll add a FR) would such a dream be realistic, do you think?
I'm a total newbie to this kind of programming (I've always lived in the interpreted world; java, etc.) so this question may be dumb. :-)
|
|
|
01-15-2019, 09:17 AM
|
#4
|
Human being with feelings
Join Date: Apr 2009
Location: Berlin, Germany
Posts: 1,248
|
mingw support is not something i have time for, although i am looking for some to help with linux support, which i started work on
https://github.com/iPlug2/iPlug2/projects
ps... I really think you need a bigger hard drive. VS2017 community is really a nice IDE IMO.
|
|
|
01-15-2019, 10:16 AM
|
#5
|
Human being with feelings
Join Date: Nov 2011
Posts: 3,409
|
Quote:
Originally Posted by olilarkin
mingw support is not something i have time for, although i am looking for some to help with linux support, which i started work on
|
Ok, thanks -- can someone build linux VSTs at this point?
Quote:
ps... I really think you need a bigger hard drive. VS2017 community is really a nice IDE IMO.
|
Yeah... I already have plenty of giant hard drives. The terror is the process of moving my old 8.1 install from one place to another. Windows' licensing is such a confusing and byzantine mess that I'm traditionally terrified to try to poke it at all. I'll have to revisit the recent thread where coachz G-Sun did something like this and see if I can get my confidence up.
Last edited by clepsydrae; 01-15-2019 at 05:50 PM.
|
|
|
01-15-2019, 10:36 AM
|
#6
|
Human being with feelings
Join Date: May 2009
Posts: 29,260
|
If just compling C++ will vscode work? it's tiny in comparison and cross-platform...
https://code.visualstudio.com/docs/languages/cpp
__________________
Music is what feelings sound like.
|
|
|
01-15-2019, 10:49 AM
|
#7
|
Human being with feelings
Join Date: Feb 2007
Location: Oulu, Finland
Posts: 8,062
|
Quote:
Originally Posted by karbomusic
|
For complicated C++ projects like IPlug, the same problem as with MinGw : IPlug does not come with the needed project/build files out of the box. (AFAIK VSCode does not support Visual Studio solutions and projects.)
__________________
I am no longer part of the REAPER community. Please don't contact me with any REAPER-related issues.
|
|
|
01-15-2019, 11:15 AM
|
#8
|
Human being with feelings
Join Date: Apr 2009
Location: Berlin, Germany
Posts: 1,248
|
Quote:
Originally Posted by clepsydrae
Ok, thanks -- can someone build linux VSTs at this point?
|
nope. Standalone app was nearly building not long ago. LV2 support is of more interest to me, but i hope to find a linux expert to help
|
|
|
01-15-2019, 11:27 AM
|
#9
|
Human being with feelings
Join Date: Nov 2011
Posts: 3,409
|
What about building reaper native plugins -- would that work on linux? I.e. any options currently working on linux?
I hope a linux person comes along to assist.
Thanks again for iplug2, by the way.
|
|
|
01-15-2019, 11:29 AM
|
#10
|
Human being with feelings
Join Date: Feb 2007
Location: Oulu, Finland
Posts: 8,062
|
Quote:
Originally Posted by clepsydrae
What about building reaper native plugins
|
You can build Reaper extension plugins for Linux (on Linux), as evidenced by SWS and ReaPack. (Not with IPlug, of course. I just mean it's generally possible to build them.) But those are Reaper extensions, not audio processing plugins like VST. (And they must be built with Visual Studio or at least the MSVC compiler for Windows.)
On Linux, I have successfully built VST plugins with JUCE and gcc. (However, for possible subsequent Windows builds, there is again the problem that Visual Studio is the preferred development environment for JUCE too. They have nominal MinGw support and are not doing extensive testing and support for that.)
__________________
I am no longer part of the REAPER community. Please don't contact me with any REAPER-related issues.
Last edited by Xenakios; 01-15-2019 at 12:40 PM.
|
|
|
01-16-2019, 04:45 AM
|
#11
|
Human being with feelings
Join Date: Apr 2009
Location: Berlin, Germany
Posts: 1,248
|
iplug2 does build reaper extensions... Xenakios i used some of your macros to make things easier, will update the example to do some gui stuff soon
|
|
|
01-16-2019, 04:53 AM
|
#12
|
Human being with feelings
Join Date: Feb 2007
Location: Oulu, Finland
Posts: 8,062
|
Quote:
Originally Posted by olilarkin
iplug2 does build reaper extensions... Xenakios i used some of your macros to make things easier, will update the example to do some gui stuff soon
|
Ah, interesting! But it really needs that GUI example to make it worth it to involve IPlug2 with it!
Anyway, I was referring to the possibility of doing Linux builds. It would appear IPlug(2) is not currently feasible to do any kind of plugins on Linux.
edit : The ini-file stuff is a bit painful in that Reaper plugin example. I would these days use the SetExtState, GetExtState etc Reaper API functions instead of dealing with a custom ini-file. Also the API functions can these days be initialized programmatically instead of manually using the IMPAPI macro.
__________________
I am no longer part of the REAPER community. Please don't contact me with any REAPER-related issues.
Last edited by Xenakios; 01-16-2019 at 05:09 AM.
|
|
|
01-16-2019, 05:05 AM
|
#13
|
Human being with feelings
Join Date: Apr 2009
Location: Berlin, Germany
Posts: 1,248
|
i disagree, the duplication script makes it worth it!
|
|
|
03-30-2019, 06:00 PM
|
#14
|
Human being with feelings
Join Date: May 2016
Location: Poland
Posts: 7
|
Quote:
Originally Posted by karbomusic
|
That won't work since it's just a text editor and doesn't include a compiler. You can compile C++ in VS Code, if you have Visual Studio or other C++ compiler (eg. MinGW) installed. VSCode is just launching other compilers, and you'll have to configure the launching yourself, too.
|
|
|
03-30-2019, 06:08 PM
|
#15
|
Human being with feelings
Join Date: May 2015
Location: Québec, Canada
Posts: 4,937
|
Visual Studio's C++ compiler (and libraries, supporting tools...) can be installed without the entire IDE. See "Build Tools for Visual Studio 2017" under "Tools for Visual Studio 2017" at the bottom of https://visualstudio.microsoft.com/downloads/.
|
|
|
03-30-2019, 06:09 PM
|
#16
|
Human being with feelings
Join Date: May 2009
Posts: 29,260
|
Quote:
Originally Posted by Qrchack
That won't work since it's just a text editor and doesn't include a compiler. You can compile C++ in VS Code, if you have Visual Studio or other C++ compiler (eg. MinGW) installed. VSCode is just launching other compilers, and you'll have to configure the launching yourself, too.
|
Thanks, I thought you could install the necessary compiler(s) and configure and save all the VS disk space like I do with other platforms in VSCode.
Like this...
Quote:
Originally Posted by cfillion
Visual Studio's C++ compiler can be installed without the entire IDE.
|
__________________
Music is what feelings sound like.
|
|
|
04-02-2019, 12:31 PM
|
#17
|
Human being with feelings
Join Date: Mar 2018
Posts: 28
|
Hi @clepsydrae
Firstly.. 40GB C: partition... nowadays is bulshit... at least 100GB are prefered.
For example: 500GB HDD - 100GB C: + what is left for D: or other.
1000GB(1TB) - 200GB + what is left for D: or other.
Second Visual studio has one setting for its own .vs file, where store some stuff. And i think every VS project has such folder.
When i first start with VS i saw that .vs folder was like 6GB
and with little research on google, found a setting where you can reduce the size. I set it to use 1GB if i remember corectly.
Also the Visual Studio size depend on what is installed with it(additional packs, sdk's, plugins etc.)
Search in google for "visual studio .vs large size"
|
|
|
04-02-2019, 12:39 PM
|
#18
|
Human being with feelings
Join Date: Nov 2011
Posts: 3,409
|
Thanks -- I will check that out if I get back to this VS quest...
|
|
|
Thread Tools |
|
Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -7. The time now is 10:17 PM.
|