Avatar

Please consider registering
guest

sp_LogInOut Log In sp_Registration Register

Register | Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_Feed Topic RSS sp_TopicIcon
Linker errors trying to compile example VST synths
Avatar
John Spink
UK
Member
Members
December 15, 2020 - 6:34 am
Member Since: December 15, 2020
Forum Posts: 3
sp_UserOfflineSmall Offline

Hi All,

New user here ... I have just started looking into the VST synth examples from the synth book and I cannot get any of them to compile successfully. I have followed all the instructions on setting up the VST SDK and copied the project structure outlined in the book. I'm using Visual Studio 2019, Windows 10 Pro, VST SDK 3.6.7

After I had installed the SDK, I compiled the Steinberg examples OK.

The errors I'm getting are linker errors, an example shown below:

2>pluginfactoryvst3.obj : error LNK2001: unresolved external symbol "public: static class Steinberg::FUID const Steinberg::FUnknown::iid" (?iid@FUnknown@Steinberg@@2VFUID@2@B)
2>vst2wrapper.sdk.obj : error LNK2001: unresolved external symbol "public: static class Steinberg::FUID const Steinberg::FUnknown::iid" (?iid@FUnknown@Steinberg@@2VFUID@2@B)
2>factory.obj : error LNK2001: unresolved external symbol "public: virtual long __cdecl Steinberg::FObject::queryInterface(char const * const,void * *)" (?queryInterface@FObject@Steinberg@@UEAAJQEBDPEAPEAX@Z)
2>VSTSynthController.obj : error LNK2001: unresolved external symbol "public: virtual long __cdecl Steinberg::FObject::queryInterface(char const * const,void * *)" (?queryInterface@FObject@Steinberg@@UEAAJQEBDPEAPEAX@Z)
2>VSTSynthProcessor.obj : error LNK2001: unresolved external symbol "public: virtual long __cdecl Steinberg::FObject::queryInterface(char const * const,void * *)" (?queryInterface@FObject@Steinberg@@UEAAJQEBDPEAPEAX@Z)
2>vstparameters.obj : error LNK2001: unresolved external symbol "public: virtual long __cdecl Steinberg::FObject::queryInterface(char const * const,void * *)" (?queryInterface@FObject@Steinberg@@UEAAJQEBDPEAPEAX@Z)
2>vst3editor.obj : error LNK2001: unresolved external symbol "public: virtual long __cdecl Steinberg::FObject::queryInterface(char const * const,void * *)" (?queryInterface@FObject@Steinberg@@UEAAJQEBDPEAPEAX@Z)
2>vst3groupcontroller.obj : error LNK2001: unresolved external symbol "public: virtual long __cdecl Steinberg::FObject::queryInterface(char const * const,void * *)" (?queryInterface@FObject@Steinberg@@UEAAJQEBDPEAPEAX@Z)
2>vst3padcontroller.obj : error LNK2001: unresolved external symbol "public: virtual long __cdecl Steinberg::FObject::queryInterface(char const * const,void * *)" (?queryInterface@FObject@Steinberg@@UEAAJQEBDPEAPEAX@Z)
2>vstcomponentbase.obj : error LNK2001: unresolved external symbol "public: virtual long __cdecl Steinberg::FObject::queryInterface(char const * const,void * *)" (?queryInterface@FObject@Steinberg@@UEAAJQEBDPEAPEAX@Z)
2>vsteditcontroller.obj : error LNK2001: unresolved external symbol "public: virtual long __cdecl Steinberg::FObject::queryInterface(char const * const,void * *)" (?queryInterface@FObject@Steinberg@@UEAAJQEBDPEAPEAX@Z)
2>vstguieditor.obj : error LNK2001: unresolved external symbol "public: virtual long __cdecl Steinberg::FObject::queryInterface(char const * const,void * *)" (?queryInterface@FObject@Steinberg@@UEAAJQEBDPEAPEAX@Z)
2>vstnoteexpressiontypes.obj : error LNK2001: unresolved external symbol "public: virtual long __cdecl Steinberg::FObject::queryInterface(char const * const,void * *)" (?queryInterface@FObject@Steinberg@@UEAAJQEBDPEAPEAX@Z)
2>pluginview.obj : error LNK2001: unresolved external symbol "public: virtual long __cdecl Steinberg::FObject::queryInterface(char const * const,void * *)" (?queryInterface@FObject@Steinberg@@UEAAJQEBDPEAPEAX@Z)
2>vstaudioeffect.obj : error LNK2001: unresolved external symbol "public: virtual long __cdecl Steinberg::FObject::queryInterface(char const * const,void * *)" (?queryInterface@FObject@Steinberg@@UEAAJQEBDPEAPEAX@Z)

 

I've been trying for two days to solve this and am about ready to give up, unless someone can suggest what I may be doing wrong!!

Thanks,

John

Avatar
W Pirkle
Admin
December 28, 2020 - 8:46 am
Member Since: January 28, 2017
Forum Posts: 555
sp_UserOfflineSmall Offline

Hi John

The problem is that the old synth book VST projects have issues with the newer VST SDKs. The Steinberg engineers made a fundamental change in the way the base class object(s) are compiled - used to be a separate compiler project (just like AAX). You will need to use the older SDK 3.6, which I can dig up if you need it. That major API change broke all of (we) developer's previous projects and it really messed up the Synth book whose VST3 chapter references the old base class projects, etc... 

The manuscript for the 2nd edition Synth plugin book is already at the publisher and the book and projects (which are not API-dependent) should be out within the next few months. 

Will 

Forum Timezone: America/New_York

Most Users Ever Online: 152

Currently Online:
2 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Chaes: 50

Skyler: 48

Derek: 46

Frodson: 45

Peter: 43

TheSmile: 43

clau_ste: 39

jim: 34

JimmyM: 33

Gwen: 32

Member Stats:

Guest Posters: 1

Members: 680

Moderators: 1

Admins: 5

Forum Stats:

Groups: 13

Forums: 41

Topics: 744

Posts: 2846

Newest Members:

dan_1, phlub, josh, bmarx, Tom Helvey, Ludovic, Mihir Shah, Mina, robbie, Matteo Desantis

Moderators: W Pirkle: 555

Administrators: Tom: 74, JD Young: 80, Will Pirkle: 0, W Pirkle: 555, VariableCook: 3