Welcome to %s forums

BrainModular Users Forum

Login Register

trouble with new SDK

Create your own modules in C++
Post Reply
User avatar
oli_lab
Member
Posts: 1261
Location: Brittany, France
Contact:

Unread post by oli_lab » 21 Jan 2016, 19:42

since I update to last SDK, I have this error

error LNK2001: symbole externe non résolu "void __cdecl GetBrowserInfo(struct ModuleInfo *)" (?GetBrowserInfo@@YAXPEAUModuleInfo@@@Z)

I'm using visual studio 2013
http://oli-lab.org

Win11 Ryzen9/32GB RAM - RME MADIFACE - SSL alpha link 4-16 - OSC capable interfaces

follow OLI_LAB adventures on Mastodon
@olivar_premier@mastodon.social

User avatar
oli_lab
Member
Posts: 1261
Location: Brittany, France
Contact:

Unread post by oli_lab » 21 Jan 2016, 19:53

I reverted to the previous SDK version and it is not working either.:(
http://oli-lab.org

Win11 Ryzen9/32GB RAM - RME MADIFACE - SSL alpha link 4-16 - OSC capable interfaces

follow OLI_LAB adventures on Mastodon
@olivar_premier@mastodon.social

martignasse
Site Admin
Posts: 611
Location: Lyon, FRANCE
Contact:

Unread post by martignasse » 21 Jan 2016, 23:48

seems like you dont provide the GetBrowserInfo globale function implementation

something like this in your module cpp file

Code: Select all

// module constants for browser info and module info
const AnsiCharPtr UserModuleBase::MODULE_NAME = "DelayArr";
const AnsiCharPtr UserModuleBase::MODULE_DESC = "Delay Array";
const AnsiCharPtr UserModuleBase::MODULE_VERSION = "2.0";

// browser info
void GetBrowserInfo(ModuleInfo* pModuleInfo) 
{
	pModuleInfo->Name				= UserModuleBase::MODULE_NAME;
	pModuleInfo->Description		= UserModuleBase::MODULE_DESC;
	pModuleInfo->Version			= UserModuleBase::MODULE_VERSION;
}
look in sdk modules sources for examples
Martin FLEURENT - Usine Developer - SDK maintainer

User avatar
oli_lab
Member
Posts: 1261
Location: Brittany, France
Contact:

Unread post by oli_lab » 22 Jan 2016, 15:18

thank you very much, it is working.

:)
http://oli-lab.org

Win11 Ryzen9/32GB RAM - RME MADIFACE - SSL alpha link 4-16 - OSC capable interfaces

follow OLI_LAB adventures on Mastodon
@olivar_premier@mastodon.social

Post Reply

Who is online

Users browsing this forum: No registered users and 16 guests