CodeWarrior and .def file

Login to reply to this topic.
Mon, 2003-11-17 19:54
Joined: 2003-06-05
Forum posts: 23
I'm developing a static interface DLL, which is not supposed to require a .def file.  When I build from the command line, I get a warning about a missing .def file, but it links OK.  But when I import the same mmp file to CodeWarrior, I receive the following link error:

The target type requires a .def file, but none was found in the target

My mmp file looks like this:

TARGET                  [MyDll].dll
TARGETTYPE           dll
UID                        0x1000008d [MyUid]
SYSTEMINCLUDE     \epoc32\include
USERINCLUDE         .
SOURCEPATH          .
SOURCE                 [various source files]
LIBRARY                 [various libs]
EXPORTUNFROZEN

Anyone know why I'm getting this error and how I can avoid it?

Mike

Tue, 2003-11-18 01:22
Joined: 2003-04-03
Forum posts: 39
CodeWarrior and .def file
Try to build def file from command line via Symbian abld tool:

bldmake bldfiles
abld build wins
abld freeze wins
abld build wins


use this commands in mmp folder only.
Tue, 2003-11-18 18:04
Joined: 2003-06-05
Forum posts: 23
CodeWarrior and .def file
Thank you very much.  That did the trick.
Sun, 2005-12-11 15:59
Joined: 2005-05-26
Forum posts: 11
Re: CodeWarrior and .def file
This works while I am trying to run application in emulator. It doesn;t work when I am trying for a "thumb urel" build for my Nokia 6600. I am trying the animation example shipped with the SDK.

Thx
Manu
  • Login to reply to this topic.