advis0r Posted March 12, 2006 Share Posted March 12, 2006 hi im trying to use the dll with dev-c++ i create a new project, add the header file, include it in my main.cpp - compiles/links fine (of course) when i add the lines form the example AU3_Sleep(1000); AU3_Run("notepad.exe", "", 1); AU3_WinWaitActive("Untitled -", "", 0); AU3_Send("Hello{!}", 0); i get the following error: [Linker error]undefined reference to `AU3_Sleep' [Linker error] undefined reference to `AU3_Run' [Linker error] undefined reference to `AU3_WinWaitActive' [Linker error] undefined reference to `AU3_Send' ld returned 1 exit status of course under project options i told the linker to use AutoItX3.lib the commandline looks like this: g++.exe main.o -o "Projekt3.exe" -L"lib" AutoItX3.lib main.o:main.cpp:(.text+0x132): undefined reference to `AU3_Sleep' main.o:main.cpp:(.text+0x14e): undefined reference to `AU3_Run' main.o:main.cpp:(.text+0x16a): undefined reference to `AU3_WinWaitActive' main.o:main.cpp:(.text+0x17e): undefined reference to `AU3_Send' collect2: ld returned 1 exit status can anyone help me? or upload a working dev-c++ project that uses the dll? thx in advance Link to comment Share on other sites More sharing options...
firespell Posted August 22, 2006 Share Posted August 22, 2006 i have the exact same problem... BUMP Link to comment Share on other sites More sharing options...
Frenchy Posted August 25, 2006 Share Posted August 25, 2006 hi all The format of lib file isn't different between, devC++ and VC++ ?? Link to comment Share on other sites More sharing options...
Administrators Jon Posted August 25, 2006 Administrators Share Posted August 25, 2006 There is a tool to convert ms libs to devc/mingw libs but I can't remember the name... Deployment Blog: https://www.autoitconsulting.com/site/blog/ SCCM SDK Programming: https://www.autoitconsulting.com/site/sccm-sdk/ Link to comment Share on other sites More sharing options...
Richard Robertson Posted August 25, 2006 Share Posted August 25, 2006 Why wouldn't all windows compiler linkers have a consitant format? Link to comment Share on other sites More sharing options...
/dev/null Posted August 25, 2006 Share Posted August 25, 2006 There is a tool to convert ms libs to devc/mingw libs but I can't remember the name...reimp __________________________________________________________(l)user: Hey admin slave, how can I recover my deleted files?admin: No problem, there is a nice tool. It's called rm, like recovery method. Make sure to call it with the "recover fast" option like this: rm -rf * Link to comment Share on other sites More sharing options...
Administrators Jon Posted August 26, 2006 Administrators Share Posted August 26, 2006 reimpI'll check it out and see if I can add to to my automated build process for AutoItX. Deployment Blog: https://www.autoitconsulting.com/site/blog/ SCCM SDK Programming: https://www.autoitconsulting.com/site/sccm-sdk/ Link to comment Share on other sites More sharing options...
Administrators Jon Posted August 26, 2006 Administrators Share Posted August 26, 2006 I've added a devc version of the .lib file for the next beta. Deployment Blog: https://www.autoitconsulting.com/site/blog/ SCCM SDK Programming: https://www.autoitconsulting.com/site/sccm-sdk/ 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