Errors buldding VSTGUI 4.6 (xstring_insert.h, string)

A user interface toolkit mainly for audio plug-ins (VST, AudioUnit, etc).
yeahtuna
Posts: 19
Joined: Tue Jun 21, 2016 10:41 pm

Errors buldding VSTGUI 4.6 (xstring_insert.h, string)

Postby yeahtuna » Mon Aug 06, 2018 12:39 am

I'm building using Visual Studio Community 2017. Below is a list of some of the errors. Any ideas?

Code: Select all

1>c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.12.25827\include\xstring_insert.h(21): error C2988: unrecognizable template declaration/definition
1>c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.12.25827\include\xstring_insert.h(21): error C2143: syntax error: missing ';' before '<'
1>c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.12.25827\include\xstring_insert.h(21): error C7525: inline variables require at least '/std:c++17'
1>c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.12.25827\include\xstring_insert.h(21): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.12.25827\include\xstring_insert.h(21): error C2059: syntax error: '<'
1>c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.12.25827\include\xstring_insert.h(24): error C2143: syntax error: missing ';' before '{'
1>c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.12.25827\include\xstring_insert.h(24): error C2447: '{': missing function header (old-style formal list?)
1>c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.12.25827\include\string(20): error C2988: unrecognizable template declaration/definition
1>c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.12.25827\include\string(20): error C2143: syntax error: missing ';' before '<'
1>c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.12.25827\include\string(20): error C7525: inline variables require at least '/std:c++17'
1>c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.12.25827\include\string(20): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.12.25827\include\string(20): error C2059: syntax error: '<'
1>c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.12.25827\include\string(23): error C2143: syntax error: missing ';' before '{'
1>c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.12.25827\include\string(23): error C2447: '{': missing function header (old-style formal list?)
1>c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.12.25827\include\string(71): error C2988: unrecognizable template declaration/definition
1>c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.12.25827\include\string(71): error C2143: syntax error: missing ';' before '<'
1>c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.12.25827\include\string(71): error C7525: inline variables require at least '/std:c++17'
1>c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.12.25827\include\string(71): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.12.25827\include\string(71): error C2374: 'std::basic_istream': redefinition; multiple initialization
1>c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.12.25827\include\string(20): note: see declaration of 'std::basic_istream'

Arne Scheffler
Posts: 205
Joined: Mon Jun 20, 2016 7:53 am

Re: Errors buldding VSTGUI 4.6 (xstring_insert.h, string)

Postby Arne Scheffler » Mon Aug 13, 2018 9:00 am

How do you build vstgui ? WIth cmake generated project ?

yeahtuna
Posts: 19
Joined: Tue Jun 21, 2016 10:41 pm

Re: Errors buldding VSTGUI 4.6 (xstring_insert.h, string)

Postby yeahtuna » Fri Aug 17, 2018 11:52 am

Hi Arne,

Thanks for taking the time to respond. I'm building the way I've have for the past 8 years, since back in the VSTGUI 3.6 days. If you think back to the way the sample projects were compiled back in version 3.6, that's the way I'm doing things.

Rob

Arne Scheffler
Posts: 205
Joined: Mon Jun 20, 2016 7:53 am

Re: Errors buldding VSTGUI 4.6 (xstring_insert.h, string)

Postby Arne Scheffler » Fri Aug 17, 2018 1:58 pm

Hi Rob,
you may have to build vstgui via cmake to see the difference in the way you are building it. Otherwise I'm not sure how I could help you with the information given.

Cheers,
Arne

yeahtuna
Posts: 19
Joined: Tue Jun 21, 2016 10:41 pm

Re: Errors buldding VSTGUI 4.6 (xstring_insert.h, string)

Postby yeahtuna » Sat Aug 18, 2018 2:29 am

Hi Arne,

Just to be clear, at this point I'm not even targeting Linux. I'm still on Windows tying to update my current projects to VSTGUI 4.6. Once I get that far, I'll look at working with Linux.

Arne Scheffler
Posts: 205
Joined: Mon Jun 20, 2016 7:53 am

Re: Errors buldding VSTGUI 4.6 (xstring_insert.h, string)

Postby Arne Scheffler » Thu Aug 23, 2018 8:56 am

I'm not sure why you think that I'm talking about Linux, maybe you think cmake is for Linux only, but cmake is the way to create visual studio/xcode projects to build vstgui.

Cheers,
Arne


Return to “VSTGUI”

Who is online

Users browsing this forum: No registered users and 1 guest