CFbsBitmap problem :/

Login to reply to this topic.
Sat, 2005-08-20 17:30
Joined: 2005-08-20
Forum posts: 11
Hello everyone. I have class:

in declaration class:




Code:
CFbsBitmap *iBmp; // new object of CFbsBitmap class



Next in constructor of class I wrote:



Code:

void CMyClass::ConstructL(const TRect& aRect)
    {
   iBmp = new (ELeave) CFbsBitmap;  // new line
}



Of course I add fbs.h and fbscli.lib to project. But I have there errors:



Code:
--------------------Configuration: HELLOWORLD - Win32 Uni Debug--------------------
Compiling...
Helloworld_appview.cpp
Doing first-stage link by name
link.exe @C:\DOCUME~1\bojkar\USTAWI~1\Temp\nma02296.
   Creating library \Symbian\6.1\Series60\EPOC32\BUILD\SYMBIAN\6.1\SERIES60\EPOC32EX\HELLOWORLD\HELLOWORLD\WINS\UDEB\HELLOWORLD.lib and object \Symbian\6.1\Series60\EPOC32\BUILD\SYMBIAN\6.1\SERIES60\EPOC32EX\HELLOWORLD\HELLOWORLD\WINS\UDEB\HELLOWORL
D.exp
HELLOWORLD_APPVIEW.obj : error LNK2001: unresolved external symbol "public: __thiscall CFbsBitmap::CFbsBitmap(void)" (??0CFbsBitmap@@QAE@XZ)
\Symbian\6.1\Series60\EPOC32\BUILD\SYMBIAN\6.1\SERIES60\EPOC32EX\HELLOWORLD\HELLOWORLD\WINS\UDEB\HELLOWORLD.APP : fatal error LNK1120: 1 unresolved externals
NMAKE : fatal error U1077: 'link.exe' : return code '0x460'
Stop.
if exist "\Symbian\6.1\Series60\EPOC32\BUILD\SYMBIAN\6.1\SERIES60\EPOC32EX\HELLOWORLD\HELLOWORLD\WINS\UDEB\HELLOWORLD.exp" del "\Symbian\6.1\Series60\EPOC32\BUILD\SYMBIAN\6.1\SERIES60\EPOC32EX\HELLOWORLD\HELLOWORLD\WINS\UDEB\HELLOWORLD.exp"
Stopped the build by removing the export object,
if present, because the pre-link stage failed
Linking...
LINK : fatal error LNK1104: cannot open file "\Symbian\6.1\Series60\EPOC32\BUILD\SYMBIAN\6.1\SERIES60\EPOC32EX\HELLOWORLD\HELLOWORLD\WINS\UDEB\HELLOWORLD.exp"
Error executing link.exe.

HELLOWORLD.APP - 4 error(s), 0 warning(s)

   



I was search help in sdk and other programs but I don't find :/ Please help me! Thanks.

Sat, 2005-08-20 20:14
Joined: 2004-06-06
Forum posts: 205
Re: CFbsBitmap problem :/
you forgot to add fbscli.lib to mmp project file. add it and rebuild.

Best regards,
Michal Laskowski

Sat, 2005-08-20 20:34
Joined: 2005-07-01
Forum posts: 12
Re: CFbsBitmap problem :/
if you midify mmp file o use Epoc tool Bar or use console per refresh project


abld makefile vc6

"www.italiasymbian.it" for italian development
Sat, 2005-08-20 21:23
Joined: 2005-08-20
Forum posts: 11
Re: CFbsBitmap problem :/
Thanks! I added fbscli.lib to project but in visual studio. I was must add to mmp file and re-make project. Thanks!
  • Login to reply to this topic.