NO

Author Topic: please help  (Read 6575 times)

FreeThought

  • Guest
please help
« on: February 14, 2007, 11:56:44 AM »
I need to create lib from def, so I created project using lib , then changed library manager commandline to read as follow:
pathtopolib\polib.exe /DEF:pathtodef /OUT:librarname.lib.

is this the way to do it , or I am totally off the track.appreciate your reply.

Thanks

Offline frankie

  • Global Moderator
  • Member
  • *****
  • Posts: 2096
please help
« Reply #1 on: February 14, 2007, 12:40:42 PM »
The method is basically correct, probably you don't need to create a project, but you can use the command line directly. Check that the def file is in correct format.
For more info look in the help file -> command line tools -> POLIB
It is better to be hated for what you are than to be loved for what you are not. - Andre Gide

FreeThought

  • Guest
Thanks for the reply
« Reply #2 on: February 14, 2007, 04:12:08 PM »
Thanks for the reply!

I have tried view things , but didn't work, the def file that I am after , you probably know, ollydbg.def., is the format of that file a correct one to work with  pelles c. Thanks.

Offline frankie

  • Global Moderator
  • Member
  • *****
  • Posts: 2096
please help
« Reply #3 on: February 14, 2007, 06:20:47 PM »
Post a copy of the def file and I'll try to look at it.
It is better to be hated for what you are than to be loved for what you are not. - Andre Gide

FreeThought

  • Guest
please help
« Reply #4 on: February 14, 2007, 06:57:52 PM »
greatly appreciate your effort to help, here is the def file:

Thanks again.

Offline frankie

  • Global Moderator
  • Member
  • *****
  • Posts: 2096
please help
« Reply #5 on: February 14, 2007, 09:04:48 PM »
This is your library and the corrected def file.
Next time please read more carefully the help doc that explains the def file format required for PellesC.
It is better to be hated for what you are than to be loved for what you are not. - Andre Gide

FreeThought

  • Guest
please help
« Reply #6 on: February 15, 2007, 03:42:53 AM »
Great, Thanks.
kindly , could you please, tell me what you did in the IDE, it isn't def file, I have changed it the same way you did, before my earlier post, but no luck.
 Regards.

Offline frankie

  • Global Moderator
  • Member
  • *****
  • Posts: 2096
please help
« Reply #7 on: February 15, 2007, 02:08:10 PM »
I don't used the IDE at all, but just the command line.
Maybe this is the problem: what you made in the IDE? Please post your project (use the function from menu project->zip files).
It is better to be hated for what you are than to be loved for what you are not. - Andre Gide

FreeThought

  • Guest
please help
« Reply #8 on: February 16, 2007, 12:00:58 PM »
I have created the file using polib only, thanks to you, but I always thought creating an empty lib project and setting the library manager correctly would do it, obviously I was wrong and I am extremely thankful to your effort.
Regards.

Offline frankie

  • Global Moderator
  • Member
  • *****
  • Posts: 2096
please help
« Reply #9 on: February 16, 2007, 12:33:19 PM »
You are welcome.
Happy that you solved the problem. :wink:
It is better to be hated for what you are than to be loved for what you are not. - Andre Gide