I don't understand how to input the commands to convert the .lib to an .a file. I've actually read a few tutorials on using it, but I just don't understand how to input the commands.
using reimp for mingw
Started by pbjgame, Apr 28 2008 12:17 PM
6 replies to this topic
Sponsor:
#3 Moderators - Reputation: 2287
Posted 29 April 2008 - 04:11 AM
It's run from the command line. You can open a command prompt by going to Start -> Run and typing "cmd" then hitting enter. Then you can navigate to your project's directory via the "cd" commands and execute the reimp command; it looks like it's little more than "reimp filename.dll" but you can typically run these sorts of things without arguments to a get a usage/help message that explains how to use the program. Try that.
Josh Petrie | Lead Tools Engineer, ArenaNet | Microsoft C++ MVP
#5 GDNet+ - Reputation: 1082
Posted 30 April 2008 - 01:24 PM
Quote:
Original post by jpetrie
It's run from the command line. You can open a command prompt by going to Start -> Run and typing "cmd" then hitting enter. Then you can navigate to your project's directory via the "cd" commands and execute the reimp command; it looks like it's little more than "reimp filename.dll" but you can typically run these sorts of things without arguments to a get a usage/help message that explains how to use the program. Try that.
Actually it really is as simple as "reimp filename.lib", provided that the directory reimp.exe resides in is listed on the PATH environment variable and the command is given in the folder containing filename.lib.
Here is the output of reimp without any arguments:
Quote:
$ reimp
Usage: c:\MinGW\bin\reimp.exe [options] IMPLIB
-s, --dump-symbols dump symbols to stdout
-d, --only-def only create .def files
-c, --keep-case keep case in lib*.a file names
--dlltool <name> use <name> for dlltool
--as <name> use <name> for assembler
Sorry but the idea of someone in a development forum not knowing how to use the CLI really baffles me [tears], am I the only one?.
#6 Members - Reputation: 100
Posted 04 May 2008 - 02:37 PM
Quote:
Original post by Kwizatz Quote:
Original post by jpetrie
It's run from the command line. You can open a command prompt by going to Start -> Run and typing "cmd" then hitting enter. Then you can navigate to your project's directory via the "cd" commands and execute the reimp command; it looks like it's little more than "reimp filename.dll" but you can typically run these sorts of things without arguments to a get a usage/help message that explains how to use the program. Try that.
Actually it really is as simple as "reimp filename.lib", provided that the directory reimp.exe resides in is listed on the PATH environment variable and the command is given in the folder containing filename.lib.
Here is the output of reimp without any arguments:Quote:
$ reimp
Usage: c:\MinGW\bin\reimp.exe [options] IMPLIB
-s, --dump-symbols dump symbols to stdout
-d, --only-def only create .def files
-c, --keep-case keep case in lib*.a file names
--dlltool <name> use <name> for dlltool
--as <name> use <name> for assembler
Sorry but the idea of someone in a development forum not knowing how to use the CLI really baffles me [tears], am I the only one?.
Problem is, I type in the executables directory, and it sends me right back to my main c:\documents and settings\owner and if I run the executable file directly it just closes really fast. I didn't have these problems before win xp
#7 Members - Reputation: 104
Posted 04 May 2008 - 02:47 PM
Quote:Add it to your path. Link
Problem is, I type in the executables directory, and it sends me right back to my main c:\documents and settings\owner and if I run the executable file directly it just closes really fast. I didn't have these problems before win xp






