COCKOS
CONFEDERATED FORUMS
Cockos : REAPER : NINJAM : Forums
Forum Home : Register : FAQ : Members List : Search :
Old 01-01-2019, 11:54 PM   #1
jan hase
Human being with feelings
 
Join Date: Jul 2017
Posts: 25
Default problems setting up iplug2 on win10

hey guys,

need your help...
i downloaded the iplug2 repository and tried to set it up as follows:

-under \iPlug2-master\Dependencies\IGraphics i downloaded all dependencies with "download-igraphics-libs-win.sh" and built all libs with "build-libs-win.bat": 20 succeeded

-added vst2 and vst3 sdk as in iplug1.

now i tried to open "IplugEffect" from examples. it said it needs SDK version 10.0.16299.0, so i installed the newest win10sdk which is 10.0.17763.0 and retargeted the solution. (platform toolset v_141)
now when i try to build it i get 300+ errors building the app or vst. with IGraphicsTest its the same.

i am assuming that the sdk is downward compatible, if not where can i get sdk 10.0.16299.0, couldnt find it anywhere?

Did i maybe forget to build or add any crucial Libraries?

Do you have any clue, what it could be?

some of the IPlugEffect-app build output:

Code:
1>------ Build started: Project: IPlugEffect-app, Configuration: Debug Win32 ------
1>IPlugEffect.cpp
1>a:\4_programming\vst\0_iplug2\iplug2-master\igraphics\igraphicsstructs.h(1416): error C2039: 'unique_ptr': is not a member of 'std'
1>c:\program files (x86)\microsoft visual studio\2017\enterprise\vc\tools\msvc\14.10.25017\include\chrono(18): note: see declaration of 'std'
1>a:\4_programming\vst\0_iplug2\iplug2-master\igraphics\igraphicsstructs.h(1416): error C2143: syntax error: missing ';' before '<'
1>a:\4_programming\vst\0_iplug2\iplug2-master\igraphics\igraphicsstructs.h(1416): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>a:\4_programming\vst\0_iplug2\iplug2-master\igraphics\igraphicsstructs.h(1416): error C2238: unexpected token(s) preceding ';'
1>a:\4_programming\vst\0_iplug2\iplug2-master\igraphics\igraphicsstructs.h(1403): error C2614: 'ILayer': illegal member initialization: 'mBitmap' is not a base or member
1>a:\4_programming\vst\0_iplug2\iplug2-master\igraphics\igraphicsstructs.h(1409): error C2065: 'mBitmap': undeclared identifier
1>a:\4_programming\vst\0_iplug2\iplug2-master\igraphics\igraphicsstructs.h(1409): error C2228: left of '.get' must have class/struct/union
1>a:\4_programming\vst\0_iplug2\iplug2-master\igraphics\igraphicsstructs.h(1409): note: type is 'unknown-type'
1>a:\4_programming\vst\0_iplug2\iplug2-master\igraphics\igraphicsstructs.h(1410): error C2065: 'mBitmap': undeclared identifier
1>a:\4_programming\vst\0_iplug2\iplug2-master\igraphics\igraphicsstructs.h(1410): error C2228: left of '.get' must have class/struct/union
1>a:\4_programming\vst\0_iplug2\iplug2-master\igraphics\igraphicsstructs.h(1410): note: type is 'unknown-type'
1>a:\4_programming\vst\0_iplug2\iplug2-master\igraphics\igraphicsstructs.h(1410): error C2440: '<function-style-cast>': cannot convert from 'initializer list' to 'IBitmap'
1>a:\4_programming\vst\0_iplug2\iplug2-master\igraphics\igraphicsstructs.h(1410): note: No constructor could take the source type, or constructor overload resolution was ambiguous
1>a:\4_programming\vst\0_iplug2\iplug2-master\igraphics\igraphicsstructs.h(1414): error C2065: 'mBitmap': undeclared identifier
1>a:\4_programming\vst\0_iplug2\iplug2-master\igraphics\igraphicsstructs.h(1414): error C2228: left of '.get' must have class/struct/union
1>a:\4_programming\vst\0_iplug2\iplug2-master\igraphics\igraphicsstructs.h(1414): note: type is 'unknown-type'
1>a:\4_programming\vst\0_iplug2\iplug2-master\igraphics\igraphicsstructs.h(1422): error C2039: 'unique_ptr': is not a member of 'std'
1>c:\program files (x86)\microsoft visual studio\2017\enterprise\vc\tools\msvc\14.10.25017\include\chrono(18): note: see declaration of 'std'
1>a:\4_programming\vst\0_iplug2\iplug2-master\igraphics\igraphicsstructs.h(1422): error C2143: syntax error: missing ';' before '<'
1>a:\4_programming\vst\0_iplug2\iplug2-master\igraphics\igraphicsstructs.h(1422): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>a:\4_programming\vst\0_iplug2\iplug2-master\igraphics\igraphics.h(452): error C2061: syntax error: identifier 'ILayerPtr'
1>a:\4_programming\vst\0_iplug2\iplug2-master\igraphics\igraphics.h(453): error C3646: 'EndLayer': unknown override specifier
1>a:\4_programming\vst\0_iplug2\iplug2-master\igraphics\igraphics.h(453): error C2059: syntax error: '('

1>a:\4_programming\vst\0_iplug2\iplug2-master\igraphics\igraphicsstructs.h(1409): note: type is 'unknown-type'
1>a:\4_programming\vst\0_iplug2\iplug2-master\igraphics\igraphicsstructs.h(1410): error C2065: 'mBitmap': undeclared identifier
1>a:\4_programming\vst\0_iplug2\iplug2-master\igraphics\igraphicsstructs.h(1410): error C2228: left of '.get' must have class/struct/union
1>a:\4_programming\vst\0_iplug2\iplug2-master\igraphics\igraphicsstructs.h(1410): note: type is 'unknown-type'
1>a:\4_programming\vst\0_iplug2\iplug2-master\igraphics\igraphicsstructs.h(1410): error C2440: '<function-style-cast>': cannot convert from 'initializer list' to 'IBitmap'
1>a:\4_programming\vst\0_iplug2\iplug2-master\igraphics\igraphicsstructs.h(1410): note: No constructor could take the source type, or constructor overload resolution was ambiguous
1>a:\4_programming\vst\0_iplug2\iplug2-master\igraphics\igraphicsstructs.h(1414): error C2065: 'mBitmap': undeclared identifier
1>a:\4_programming\vst\0_iplug2\iplug2-master\igraphics\igraphicsstructs.h(1414): error C2228: left of '.get' must have class/struct/union
1>a:\4_programming\vst\0_iplug2\iplug2-master\igraphics\igraphicsstructs.h(1414): note: type is 'unknown-type'
1>a:\4_programming\vst\0_iplug2\iplug2-master\igraphics\igraphicsstructs.h(1422): error C2039: 'unique_ptr': is not a member of 'std'
1>c:\program files (x86)\microsoft visual studio\2017\enterprise\vc\tools\msvc\14.10.25017\include\chrono(18): note: see declaration of 'std'
1>a:\4_programming\vst\0_iplug2\iplug2-master\igraphics\igraphicsstructs.h(1422): error C2143: syntax error: missing ';' before '<'
1>a:\4_programming\vst\0_iplug2\iplug2-master\igraphics\igraphicsstructs.h(1422): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>a:\4_programming\vst\0_iplug2\iplug2-master\igraphics\igraphics.h(452): error C2061: syntax error: identifier 'ILayerPtr'
\igraphicsnanovg.cpp(312): note: type is 'unknown-type'
1>a:\4_programming\vst\0_iplug2\iplug2-master\igraphics\drawing\igraphicsnanovg.cpp(313): error C2065: 'data': undeclared identifier
1>a:\4_programming\vst\0_iplug2\iplug2-master\igraphics\drawing\igraphicsnanovg.cpp(313): error C2228: left of '.Get' must have class/struct/union
1>a:\4_programming\vst\0_iplug2\iplug2-master\igraphics\drawing\igraphicsnanovg.cpp(313): note: type is 'unknown-type'
1>a:\4_programming\vst\0_iplug2\iplug2-master\igraphics\drawing\igraphicsnanovg.cpp(313): error C2660: 'nvgReadPixels': function does not take 6 arguments
1>a:\4_programming\vst\0_iplug2\iplug2-master\igraphics\drawing\igraphicsnanovg.cpp(318): error C2065: 'ILayerPtr': undeclared identifier
1>a:\4_programming\vst\0_iplug2\iplug2-master\igraphics\drawing\igraphicsnanovg.cpp(318): error C2065: 'layer': undeclared identifier
1>a:\4_programming\vst\0_iplug2\iplug2-master\igraphics\drawing\igraphicsnanovg.cpp(318): error C2065: 'mask': undeclared identifier
1>a:\4_programming\vst\0_iplug2\iplug2-master\igraphics\drawing\igraphicsnanovg.cpp(318): error C2275: 'IGraphics::RawBitmapData': illegal use of this type as an expression
1>a:\4_programming\vst\0_iplug2\iplug2-master\igraphics\drawing\igraphicsnanovg.cpp(318): error C2059: syntax error: 'const'
1>a:\4_programming\vst\0_iplug2\iplug2-master\igraphics\drawing\igraphicsnanovg.cpp(319): error C2143: syntax error: missing ';' before '{'
1>a:\4_programming\vst\0_iplug2\iplug2-master\igraphics\drawing\igraphicsnanovg.cpp(319): error C2447: '{': missing function header (old-style formal list?)
1>IGraphicsEditorDelegate.cpp
1>a:\4_programming\vst\0_iplug2\iplug2-master\igraphics\igraphicsstructs.h(1416): error C2039: 'unique_ptr': is not a member of 'std'
1>c:\program files (x86)\microsoft visual studio\2017\enterprise\vc\tools\msvc\14.10.25017\include\chrono(18): note: see declaration of 'std'
1>a:\4_programming\vst\0_iplug2\iplug2-master\igraphics\igraphicsstructs.h(1416): error C2143: syntax error: missing ';' before '<'
jan hase is offline   Reply With Quote
Old 01-02-2019, 06:18 AM   #2
olilarkin
Human being with feelings
 
Join Date: Apr 2009
Location: Berlin, Germany
Posts: 1,248
Default

hmm, looks like your not compiling with C++11 . Not sure why this would be
__________________
VirtualCZ | Endless Series | iPlug2 | Linkedin | Facebook
olilarkin is offline   Reply With Quote
Old 01-03-2019, 01:19 PM   #3
jan hase
Human being with feelings
 
Join Date: Jul 2017
Posts: 25
Default

thanks for your reply, it helped fixing it, but cant really say what the issue was, i think my visual studio was somehow broken. using the newest community version did it.
jan hase is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 07:48 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.