COCKOS
CONFEDERATED FORUMS
Cockos : REAPER : NINJAM : Forums
Forum Home : Register : FAQ : Members List : Search :
Old 10-12-2009, 11:08 PM   #1
pipelineaudio
Mortal
 
pipelineaudio's Avatar
 
Join Date: Jan 2006
Location: Wickenburg, Arizona
Posts: 14,047
Default Can't compile the example iplug

I'm getting this:

IPlug.lib(IGraphicsWin.obj) : error LNK2019: unresolved external symbol "class LICE_IBitmap * __cdecl LICE_LoadJPGFromResource(struct HINSTANCE__ *,int,class LICE_IBitmap *)" (?LICE_LoadJPGFromResource@@YAPAVLICE_IBitmap@@PAU HINSTANCE__@@HPAV1@@Z) referenced in function "protected: virtual class LICE_IBitmap * __thiscall IGraphicsWin::OSLoadBitmap(int,char const *)" (?OSLoadBitmap@IGraphicsWin@@MAEPAVLICE_IBitmap@@H PBD@Z)
pipelineaudio is offline   Reply With Quote
Old 10-12-2009, 11:41 PM   #2
Jeffos
Mortal
 
Jeffos's Avatar
 
Join Date: Dec 2008
Location: France
Posts: 1,969
Default

hi pipelineaudio! you have first to compile Lice and iplug projects... can't wait to see your plug!
Jeffos is offline   Reply With Quote
Old 10-13-2009, 12:06 AM   #3
cc_
Human being with feelings
 
Join Date: Mar 2009
Posts: 256
Default

You need to add the jpeg files to the lice project, see this thread:

http://forum.cockos.com/showthread.php?t=42725
cc_ is offline   Reply With Quote
Old 10-13-2009, 12:10 AM   #4
pipelineaudio
Mortal
 
pipelineaudio's Avatar
 
Join Date: Jan 2006
Location: Wickenburg, Arizona
Posts: 14,047
Default

thanks so far!

I went to that other thread and dont understand which jpg to put where

I have compiled lice and iplug libraries ok
pipelineaudio is offline   Reply With Quote
Old 10-13-2009, 12:18 AM   #5
Jeffos
Mortal
 
Jeffos's Avatar
 
Join Date: Dec 2008
Location: France
Posts: 1,969
Default

yeah, i forgot the image issue and me too I didn't understand the thread => just put the attached images in ...\IPlug\Example\img\ (the dir. "img" has to be created if I remember right)

Last edited by Jeffos; 04-20-2010 at 01:50 AM.
Jeffos is offline   Reply With Quote
Old 10-13-2009, 12:29 AM   #6
pipelineaudio
Mortal
 
pipelineaudio's Avatar
 
Join Date: Jan 2006
Location: Wickenburg, Arizona
Posts: 14,047
Default

thank you!!!

pipelineaudio is offline   Reply With Quote
Old 10-13-2009, 01:32 AM   #7
RRokkenAudio
Human being with feelings
 
RRokkenAudio's Avatar
 
Join Date: Jun 2009
Location: Buffalo, NY
Posts: 777
Default

RobRokkenAudio Coming to Mac!



~Rob.
RRokkenAudio is offline   Reply With Quote
Old 10-13-2009, 03:53 AM   #8
Tale
Human being with feelings
 
Tale's Avatar
 
Join Date: Jul 2008
Location: The Netherlands
Posts: 3,645
Default

Quote:
Originally Posted by cc_ View Post
You need to add the jpeg files to the lice project
Or you could disable JPEG support altogether by disbaling a line in IGraphicsWin.cpp:

Look for this line (line #275):

Code:
if (!stricmp(ext, "jpg") || !stricmp(ext, "jpeg")) return _LICE::LICE_LoadJPGFromResource(mHInstance, ID, 0);
And change it into:

Code:
//if (!stricmp(ext, "jpg") || !stricmp(ext, "jpeg")) return _LICE::LICE_LoadJPGFromResource(mHInstance, ID, 0);
Tale is offline   Reply With Quote
Old 10-13-2009, 03:59 AM   #9
RRokkenAudio
Human being with feelings
 
RRokkenAudio's Avatar
 
Join Date: Jun 2009
Location: Buffalo, NY
Posts: 777
Default

ok, so we have the demo working, now what, lets pass some audio!!!

uhh, how do we do that

~Rob.
RRokkenAudio 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 12:12 PM.


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