PDA

View Full Version : Can't compile the example iplug


pipelineaudio
10-12-2009, 11:08 PM
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)

Jeffos
10-12-2009, 11:41 PM
hi pipelineaudio! you have first to compile Lice and iplug projects... can't wait to see your plug!

cc_
10-13-2009, 12:06 AM
You need to add the jpeg files to the lice project, see this thread:

http://forum.cockos.com/showthread.php?t=42725

pipelineaudio
10-13-2009, 12:10 AM
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

Jeffos
10-13-2009, 12:18 AM
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)

pipelineaudio
10-13-2009, 12:29 AM
thank you!!!

http://stash.reaper.fm/oldsb/227514/109912122225fxtrack2mai.png

RRokkenAudio
10-13-2009, 01:32 AM
RobRokkenAudio Coming to Mac!

http://dl.getdropbox.com/u/1933049/iplug.PNG

~Rob.

Tale
10-13-2009, 03:53 AM
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):

if (!stricmp(ext, "jpg") || !stricmp(ext, "jpeg")) return _LICE::LICE_LoadJPGFromResource(mHInstance, ID, 0);

And change it into:

//if (!stricmp(ext, "jpg") || !stricmp(ext, "jpeg")) return _LICE::LICE_LoadJPGFromResource(mHInstance, ID, 0);

RRokkenAudio
10-13-2009, 03:59 AM
ok, so we have the demo working, now what, lets pass some audio!!!

uhh, how do we do that ;)

~Rob.