Pelles C forum

C language => Beginner questions => Topic started by: FreeThought on February 14, 2007, 11:56:44 AM

Title: please help
Post by: FreeThought 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
Title: please help
Post by: frankie 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
Title: Thanks for the reply
Post by: FreeThought 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.
Title: please help
Post by: frankie on February 14, 2007, 06:20:47 PM
Post a copy of the def file and I'll try to look at it.
Title: please help
Post by: FreeThought on February 14, 2007, 06:57:52 PM
greatly appreciate your effort to help, here is the def file:

Thanks again.
Title: please help
Post by: frankie 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.
Title: please help
Post by: FreeThought 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.
Title: please help
Post by: frankie 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).
Title: please help
Post by: FreeThought 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.
Title: please help
Post by: frankie on February 16, 2007, 12:33:19 PM
You are welcome.
Happy that you solved the problem. :wink: