xyz Posted February 16, 2006 Share Posted February 16, 2006 I tried to build the example in <AutoIt Installation Folder>\AutoItX\StandardDLL\VC6\Example\main.cpp with lccwin32 I followed these steps. * I copied main.cpp to main.c in a new folder * I copied AutoItX3.lib to that same folder * I created a Makefile where I included the AutoItX3.lib in the linker command options (lcclnk main.obj AutoItX3.lib -o just_a_test.exe) I got these error messages from the console after I run make: main.obj .txt: undefined reference to '_AU3_Sleep@4' ... _AU3_Run@12' etc. Is there a way to convert AutoItX3.lib in a library that can be read by lcc? Link to comment Share on other sites More sharing options...
nfwu Posted February 18, 2006 Share Posted February 18, 2006 This may help you:http://www.autoitscript.com/forum/index.php?showtopic=19104 TwitterOut of date stuff:Scripts: Sudoku Solver | Webserver | 3D library (Pure AutoIt) | Wood's GadgetsUDFs: _WoodUniqueID() | _DialogEditIni() | _Console*() | _GetIPConfigData() | _URLEncode/Decode() Link to comment Share on other sites More sharing options...
xyz Posted February 18, 2006 Author Share Posted February 18, 2006 This may help you:http://www.autoitscript.com/forum/index.php?showtopic=19104No, I already went there (http://www.autoitscript.com/forum/index.php?act=Attach&type=post&id=5809). I downloaded the zip archive (for dev-c), converted the librarywith the tools provided. But I couldn't use the new library either. Link to comment Share on other sites More sharing options...
xyz Posted April 11, 2006 Author Share Posted April 11, 2006 I tried to build the example in<AutoIt Installation Folder>\AutoItX\StandardDLL\VC6\Example\main.cppwith lccwin32I followed these steps. * I copied main.cpp to main.c in a new folder * I copied AutoItX3.lib to that same folder * I created a Makefile where I included the AutoItX3.lib in the linker command options (lcclnk main.obj AutoItX3.lib -o just_a_test.exe)I got these error messages from the console after I run make: main.obj .txt: undefined reference to '_AU3_Sleep@4' ... _AU3_Run@12'etc.Is there a way to convert AutoItX3.lib in a library that can be read by lcc?I'll answer to myself in case anybody's interested.I got the solution.There are two tools that come with the lcc distribution.One is pedump.exe, the other one buildlib.exe.Follow these steps:1. copy AutoItX3.lib somewhere2. from there run pedump.exe to create an exp file: <path to pedump.exe (ususally c:/lcc/bin/pedump.exe)> -exp AutoItX3.lib > AutoItX3.exp3. Delete the copy of AutoItX3.lib4. run buildlib.exe on this file: ..../buildlib.exe AutoItX3.exp AutoItX3.libI tested it. It worked Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now