Search found 39 matches

by yeahtuna
Sat Nov 21, 2020 4:20 am
Forum: VSTGUI
Topic: High CPU usage on macOS using COffscreenContext
Replies: 9
Views: 3769

Re: High CPU usage on macOS using COffscreenContext

After updating to version 4.9, performance on macOS has improved dramatically.
by yeahtuna
Fri Nov 20, 2020 11:50 am
Forum: VSTGUI
Topic: PlugGuiEditor support for linux?
Replies: 3
Views: 29

Re: PlugGuiEditor support for linux?

I use plugguieditor to build user interfaces for my applications on Windows and macOS. I would like to try to do the same for Linux, unless of course there is a better way.
by yeahtuna
Fri Nov 20, 2020 8:56 am
Forum: VSTGUI
Topic: PlugGuiEditor support for linux?
Replies: 3
Views: 29

PlugGuiEditor support for linux?

I took a quick look at plugguieditor.cpp and I don't see any compiler directives for linux, so I assume it's not supported. Any plans in this regards?
by yeahtuna
Fri Nov 20, 2020 7:53 am
Forum: VSTGUI
Topic: Compiling VSTGUI 4.6 on macOS
Replies: 2
Views: 23

Re: Compiling VSTGUI 4.6 on macOS

I got it working.... I needed to set the C++ Language Dialect to 'C++11 [-std=c++11]'. I'm now able to build VSTGUI 4.9.
by yeahtuna
Fri Nov 20, 2020 7:20 am
Forum: VSTGUI
Topic: Compiling VSTGUI 4.6 on macOS
Replies: 2
Views: 23

Compiling VSTGUI 4.6 on macOS

After managing to VSTGUI 4.9 on Windows, I'm trying to do the same on macOS, but I'm having troubles starting at version 4.6. Previously I have used the libc++ (LLVM C++ standard library with c++11 support) to compile my project, but with version 4.6 I need to switch to the default compiler. Unfortu...
by yeahtuna
Fri Nov 20, 2020 1:03 am
Forum: VSTGUI
Topic: Issues updating to vstgui 4.7 (IDropTarget redefinition)
Replies: 6
Views: 37

Re: Issues updating to vstgui 4.7 (IDropTarget redefinition)

After doing some additional hacking in malloc.h, I've managed to compile and run my application in VSTGUI 4.9 on Windows. Let's see how things fair on macOS.... As a note, to get my custom classes to compile, I had to create a header file full of typedefs and macros for all the classes and enums I u...
by yeahtuna
Fri Nov 20, 2020 12:44 am
Forum: VSTGUI
Topic: Issues updating to vstgui 4.7 (IDropTarget redefinition)
Replies: 6
Views: 37

Re: Issues updating to vstgui 4.7 (IDropTarget redefinition)

...I don't like giving up....I'm now compiling with vstgui 4.9 and I'm down to just one error: Screenshot 2020-11-20 083946.png Also, can I recommend a couple changes to prevent over people from having issues... In csegmentbutton.h, change... static constexpr uint32_t kPushBack = std::numeric_limits...
by yeahtuna
Thu Nov 19, 2020 11:29 pm
Forum: VSTGUI
Topic: Issues updating to vstgui 4.7 (IDropTarget redefinition)
Replies: 6
Views: 37

Re: Issues updating to vstgui 4.7 (IDropTarget redefinition)

Seems to be more trouble than it's worth. I was hoping to get up to version 4.9, but I guess 4.6 is as far as I go.
by yeahtuna
Thu Nov 19, 2020 12:51 pm
Forum: VSTGUI
Topic: Issues updating to vstgui 4.7 (IDropTarget redefinition)
Replies: 6
Views: 37

Re: Issues updating to vstgui 4.7 (IDropTarget redefinition)

Looks like I might be able to use a typedef for all the primitives I use. For example...

Code: Select all

typedef VSTGUI::CDrawContext CDrawContext;
by yeahtuna
Thu Nov 19, 2020 12:34 pm
Forum: VSTGUI
Topic: Issues updating to vstgui 4.7 (IDropTarget redefinition)
Replies: 6
Views: 37

Re: Issues updating to vstgui 4.7 (IDropTarget redefinition)

If I don't use the VSTGUI namespace, then all my custom classes won't compile unless I add the namespace everywhere. Is there not a better solution? I have probably a hundred custom classes. I use CRect probably about 1000 times. Do I really need to say VSTGUI::CRect every time I want to work with a...