News:

Download Pelles C here: http://www.smorgasbordet.com/pellesc/

Main Menu

please help

Started by FreeThought, February 14, 2007, 11:56:44 AM

Previous topic - Next topic

FreeThought

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

frankie

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

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.

frankie

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

greatly appreciate your effort to help, here is the def file:

Thanks again.

frankie

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

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.

frankie

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

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.

frankie

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