Pelles C forum
C language => Beginner questions => Topic started 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
-
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
-
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.
-
Post a copy of the def file and I'll try to look at it.
-
greatly appreciate your effort to help, here is the def file:
Thanks again.
-
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.
-
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.
-
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).
-
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.
-
You are welcome.
Happy that you solved the problem. :wink: