Re: Sucess compiling Alex Tweedly DLL!
on Mon, 27 Jun 2005 thierry wrote: Was quite funny when i saw your emails yesterday; because i've decided to play a bit with the externals during last week-end.. and after having download whatever was existing on the subject, plus DevC++, plus lot of scans on this list... i did struggle at the same time as you on the same subject. i'm glad to read that many developers have a real interest in developing their own externals, for Rev. :-) How are you doing with this beast :-) i have installed DevC++ and LCC compilers, but all this experimentation is paused, because i have to finish grading student's final projects for my classes. Just now, i've been able to compile and link one external. If you so desire i can send you the makefile i've made for this ( i'm using the Gnu make ) This is great news! :-) Could you post the exact steps (like Alex Tweedly) to configure the compiler, for this dll? Could you post all the files (compressed) in a website of your own? If not, you could send them to me and with your permission, i'll post them (for download) in my geocities site. :-) Best regards, al Visit my site: http://www.geocities.com/capellan2000/ __ Discover Yahoo! Stay in touch with email, IM, photo sharing and more. Check it out! http://discover.yahoo.com/stayintouch.html ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Sucess compiling Alex Tweedly DLL!
Ok, i'll send you a HowTo explaining how i did manage, with all the details for the C compiler and linkers... which was the essentials information i didn't have, or partly HTH, thierry Just now, i've been able to compile and link one external. If you so desire i can send you the makefile i've made for this ( i'm using the Gnu make ) This is great news! :-) Could you post the exact steps (like Alex Tweedly) to configure the compiler, for this dll? Could you post all the files (compressed) in a website of your own? If not, you could send them to me and with your permission, i'll post them (for download) in my geocities site. :-) Best regards, al ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Sucess compiling Alex Tweedly DLL!
Hi Alejandro, Was quite funny when i saw your emails yesterday; because i've decided to play a bit with the externals during last week-end.. and after having download whatever was exiting on the subject, plus DevC++, plus lot of scans on this list... i did struggle at the same time as you on the same subject. How are you doing with this beast :-) Just now, i've been able to compile and link one external. If you so desire i can send you the makefile i've made for this ( i'm using the Gnu make ) HTH, thierry Alejandro Tejada a écrit : Hi Developers, i remember that Kenneth Simmons has posted a C++ version of the external dll in this page: http://www.rpi.edu/~simonk/mc/mcExternalCPP.zip Following the instructions for compiling this C++ dll in Dev-C++ produced the following errors. Notice these are a lot less than in previous trials with the sdk. :-) - ... make.exe: *** [../mcExternalCPP/external.o] Error 1 ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Sucess compiling Alex Tweedly DLL!
Hi Alejandro, Hi Developers, i had success following the instructions given by Alex Tweedly to compile his external with Dev-C++ (Bloodshed). I downloaded and installed the latest version available of this compiler. here are the files i used in the compilation: http://www.geocities.com/capellan2000/Tweedly_dll.zip now, while using the same recipe to compile the external from the sdk, i get a lot of warnings and linker errors about a long list of similar undeclared objects like: [EMAIL PROTECTED] does anyone could give us a hint about Where is the linker looking for these objects??? Thanks a lot Alex, for sharing your dll! :-) and Thanks in advance to all of you that will help the linker to find these missing undeclared objects. ;-) ehm, sorry, but looks like i missed the part with the explanation of what the wonderful external actually does? So, what does that wonderfull DLL actually do? :-) Sorry for my ignorance... al Visit my site: http://www.geocities.com/capellan2000/ Best Klaus Major [EMAIL PROTECTED] http://www.major-k.de ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Sucess compiling Alex Tweedly DLL!
Alejandro- Friday, June 24, 2005, 11:21:30 AM, you wrote: AT now, while using the same recipe to compile AT the external from the sdk, i get a lot of AT warnings and linker errors about a long list AT of similar undeclared objects AT like: [EMAIL PROTECTED] That's a pretty bizarre error message. Which example are you trying to compile? -- -Mark Wieder [EMAIL PROTECTED] ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Sucess compiling Alex Tweedly DLL!
on Fri, 24 Jun 2005 Klaus Major wrote: ehm, sorry, but looks like i missed the part with the explanation of what the wonderful external actually does? Sorry for my ignorance... It's a functional starting point for developing external using the free compiler named Dev-C++ (Bloodshed). The first, i think. When you get sucess compiling one external with Dev C++, then you could try to compile the source code of other externals provided by developers in this list. After that, if you have sucess, it's all up to you and your time for experiments... ;-) al Visit my site: http://www.geocities.com/capellan2000/ Yahoo! Sports Rekindle the Rivalries. Sign up for Fantasy Football http://football.fantasysports.yahoo.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Sucess compiling Alex Tweedly DLL!
Hi Mark!, Mark Wieder wrote: AT now, while using the same recipe to compile AT the external from the sdk, i get a lot of AT warnings and linker errors about a long list AT of similar undeclared objects AT like: SelectObject at 8 That's a pretty bizarre error message. Which example are you trying to compile? notice Mark, the at symbol (the symbol over the key with the number 2) is converted in the at word in these mails! i'm applying the instructions of the readme.rtf to compile the external.dll that is inside the SDK externals and the instructions provided by Alex to compile his external. After this message is the compile log, create by Dev-C++ while compiling this external. Obviusly, i'm missing many things... Could you spot the errors? Better yet. Could you post a recipe to compile this dll using Dev-C++ (Bloodshed)? Thanks in advance. :-) al compile log while creating external.dll within Dev-C++ (latest downloable version) - Compiler: Default compiler Building Makefile: C:\WINDOWS\Desktop\ExternalSDK\Makefile.win Executing make... make.exe -f C:\WINDOWS\Desktop\ExternalSDK\Makefile.win all dllwrap.exe --output-def libexternal.def --implib libexternal.a external.o XCmdGlue.o -LC:/DEV-CPP/lib -LC:/WINDOWS/Desktop/ExternalSDK --no-export-all-symbols --add-stdcall-alias --def external.def -o external.dll external.o(.text+0x137e):external.c: undefined reference to [EMAIL PROTECTED]' external.o(.text+0x13f9):external.c: undefined reference to [EMAIL PROTECTED]' external.o(.text+0x1408):external.c: undefined reference to [EMAIL PROTECTED]' external.o(.text+0x141c):external.c: undefined reference to [EMAIL PROTECTED]' external.o(.text+0x1437):external.c: undefined reference to [EMAIL PROTECTED]' external.o(.text+0x1446):external.c: undefined reference to [EMAIL PROTECTED]' external.o(.text+0x145a):external.c: undefined reference to [EMAIL PROTECTED]' external.o(.text+0x149a):external.c: undefined reference to [EMAIL PROTECTED]' external.o(.text+0x14b3):external.c: undefined reference to [EMAIL PROTECTED]' external.o(.text+0x14cc):external.c: undefined reference to [EMAIL PROTECTED]' external.o(.text+0x15aa):external.c: undefined reference to [EMAIL PROTECTED]' external.o(.text+0x15cb):external.c: undefined reference to [EMAIL PROTECTED]' external.o(.text+0x1603):external.c: undefined reference to [EMAIL PROTECTED]' external.o(.text+0x1617):external.c: undefined reference to [EMAIL PROTECTED]' external.o(.text+0x1635):external.c: undefined reference to [EMAIL PROTECTED]' external.o(.text+0x1653):external.c: undefined reference to [EMAIL PROTECTED]' external.o(.text+0x1686):external.c: undefined reference to [EMAIL PROTECTED]' external.o(.text+0x16a5):external.c: undefined reference to [EMAIL PROTECTED]' external.o(.text+0x16be):external.c: undefined reference to [EMAIL PROTECTED]' external.o(.text+0x1769):external.c: undefined reference to [EMAIL PROTECTED]' external.o(.text+0x1778):external.c: undefined reference to [EMAIL PROTECTED]' external.o(.text+0x178c):external.c: undefined reference to [EMAIL PROTECTED]' external.o(.text+0x17a5):external.c: undefined reference to [EMAIL PROTECTED]' external.o(.text+0x17e5):external.c: undefined reference to [EMAIL PROTECTED]' external.o(.text+0x17fe):external.c: undefined reference to [EMAIL PROTECTED]' external.o(.text+0x1817):external.c: undefined reference to [EMAIL PROTECTED]' external.o(.text+0x18ab):external.c: undefined reference to [EMAIL PROTECTED]' external.o(.text+0x18c5):external.c: undefined reference to [EMAIL PROTECTED]' external.o(.text+0x18d5):external.c: undefined reference to [EMAIL PROTECTED]' external.o(.text+0x18e5):external.c: undefined reference to [EMAIL PROTECTED]' collect2: ld returned 1 exit status C:\DEV-CPP\BIN\DLLWRAP.EXE: C:\DEV-CPP\BIN\gcc exited with status 1 Execution terminated -- end of compile log to create external.dll with Dev-C++. Visit my site: http://www.geocities.com/capellan2000/ Yahoo! Sports Rekindle the Rivalries. Sign up for Fantasy Football http://football.fantasysports.yahoo.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Sucess compiling Alex Tweedly DLL!
Once the nuances of correcting for the current funky externals package are identified, would it be worth the effort to make a Rev tool to serve as a simple specialized IDE for making externals? C is just text, as are the make files, and GCC can be run with the shell function, yes? My hunch is we could make quite a tidy package that would greatly simplify the mechanics of making Rev externals, and never have to leave Rev to do it. Am I dreaming? -- Richard Gaskin Fourth World Media Corporation ___ [EMAIL PROTECTED] http://www.FourthWorld.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Sucess compiling Alex Tweedly DLL!
On Jun 24, 2005, at 1:31 PM, Mark Wieder wrote: AT warnings and linker errors about a long list AT of similar undeclared objects AT like: [EMAIL PROTECTED] That's a pretty bizarre error message. Which example are you trying to compile? I'm coming in in the middle of this. This looks similar to a decorated name for the STCCALL calling convention for a function named SelectObject that is called with 8 bytes on the stack, perhaps 2 parameters. The library may have been using some method that overrode the default decoration of the names. Since I jumped in at the middle, I may not have hit upon anything useful. Dar -- ** DSC (Dar Scott Consulting Dar's Lab) http://www.swcp.com/dsc/ Programming and software ** ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Sucess compiling Alex Tweedly DLL!
al, I don't often build externals with bloodshed, but if i remember correctly you needed to make sure you had the following 1.) -DBUILDING_DLL=1 as a compiler option 2.) --add-stdcall-alias as a linker option (which you have) 3.) Since you're building c code and not c++ you might mess with the --driver-name option to dllwrap something like --driver-name=c 4.) try exporting all the symbols (not good for production) with --export-all-symbols instead of --no-export-all-symbols -- cb Alejandro Tejada wrote: Hi Mark!, Mark Wieder wrote: AT now, while using the same recipe to compile AT the external from the sdk, i get a lot of AT warnings and linker errors about a long list AT of similar undeclared objects AT like: SelectObject at 8 That's a pretty bizarre error message. Which example are you trying to compile? notice Mark, the at symbol (the symbol over the key with the number 2) is converted in the at word in these mails! i'm applying the instructions of the readme.rtf to compile the external.dll that is inside the SDK externals and the instructions provided by Alex to compile his external. After this message is the compile log, create by Dev-C++ while compiling this external. Obviusly, i'm missing many things... Could you spot the errors? Better yet. Could you post a recipe to compile this dll using Dev-C++ (Bloodshed)? Thanks in advance. :-) al compile log while creating external.dll within Dev-C++ (latest downloable version) - Compiler: Default compiler Building Makefile: C:\WINDOWS\Desktop\ExternalSDK\Makefile.win Executing make... make.exe -f C:\WINDOWS\Desktop\ExternalSDK\Makefile.win all dllwrap.exe --output-def libexternal.def --implib libexternal.a external.o XCmdGlue.o -LC:/DEV-CPP/lib -LC:/WINDOWS/Desktop/ExternalSDK --no-export-all-symbols --add-stdcall-alias --def external.def -o external.dll external.o(.text+0x137e):external.c: undefined reference to [EMAIL PROTECTED]' external.o(.text+0x13f9):external.c: undefined reference to [EMAIL PROTECTED]' external.o(.text+0x1408):external.c: undefined reference to [EMAIL PROTECTED]' external.o(.text+0x141c):external.c: undefined reference to [EMAIL PROTECTED]' external.o(.text+0x1437):external.c: undefined reference to [EMAIL PROTECTED]' external.o(.text+0x1446):external.c: undefined reference to [EMAIL PROTECTED]' external.o(.text+0x145a):external.c: undefined reference to [EMAIL PROTECTED]' external.o(.text+0x149a):external.c: undefined reference to [EMAIL PROTECTED]' external.o(.text+0x14b3):external.c: undefined reference to [EMAIL PROTECTED]' external.o(.text+0x14cc):external.c: undefined reference to [EMAIL PROTECTED]' external.o(.text+0x15aa):external.c: undefined reference to [EMAIL PROTECTED]' external.o(.text+0x15cb):external.c: undefined reference to [EMAIL PROTECTED]' external.o(.text+0x1603):external.c: undefined reference to [EMAIL PROTECTED]' external.o(.text+0x1617):external.c: undefined reference to [EMAIL PROTECTED]' external.o(.text+0x1635):external.c: undefined reference to [EMAIL PROTECTED]' external.o(.text+0x1653):external.c: undefined reference to [EMAIL PROTECTED]' external.o(.text+0x1686):external.c: undefined reference to [EMAIL PROTECTED]' external.o(.text+0x16a5):external.c: undefined reference to [EMAIL PROTECTED]' external.o(.text+0x16be):external.c: undefined reference to [EMAIL PROTECTED]' external.o(.text+0x1769):external.c: undefined reference to [EMAIL PROTECTED]' external.o(.text+0x1778):external.c: undefined reference to [EMAIL PROTECTED]' external.o(.text+0x178c):external.c: undefined reference to [EMAIL PROTECTED]' external.o(.text+0x17a5):external.c: undefined reference to [EMAIL PROTECTED]' external.o(.text+0x17e5):external.c: undefined reference to [EMAIL PROTECTED]' external.o(.text+0x17fe):external.c: undefined reference to [EMAIL PROTECTED]' external.o(.text+0x1817):external.c: undefined reference to [EMAIL PROTECTED]' external.o(.text+0x18ab):external.c: undefined reference to [EMAIL PROTECTED]' external.o(.text+0x18c5):external.c: undefined reference to [EMAIL PROTECTED]' external.o(.text+0x18d5):external.c: undefined reference to [EMAIL PROTECTED]' external.o(.text+0x18e5):external.c: undefined reference to [EMAIL PROTECTED]' collect2: ld returned 1 exit status C:\DEV-CPP\BIN\DLLWRAP.EXE: C:\DEV-CPP\BIN\gcc exited with status 1 Execution terminated -- end of compile log to create external.dll with Dev-C++. Visit my site: http://www.geocities.com/capellan2000/ Yahoo! Sports Rekindle the Rivalries. Sign up for Fantasy Football http://football.fantasysports.yahoo.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
Re: Sucess compiling Alex Tweedly DLL!
Alejandro- Friday, June 24, 2005, 1:11:41 PM, you wrote: AT make.exe -f AT C:\WINDOWS\Desktop\ExternalSDK\Makefile.win all AT dllwrap.exe --output-def libexternal.def --implib AT libexternal.a external.o XCmdGlue.o AT -LC:/DEV-CPP/lib -LC:/WINDOWS/Desktop/ExternalSDK AT --no-export-all-symbols --add-stdcall-alias --def AT external.def -o external.dll AT external.o(.text+0x137e):external.c: undefined AT reference to [EMAIL PROTECTED]' I would look into the makefile. It looks to me like the standard Windows libraries are not getting linked. Are you including them and/or does Bloodshed need you to do this explicitly? Some compilers do this automatically, some need you to specify them yourself. There is probably a linker option for this. ... AT C:\DEV-CPP\BIN\DLLWRAP.EXE: C:\DEV-CPP\BIN\gcc exited AT with status 1 Ah... I hadn't realized that Bloodshed C used gcc. -- -Mark Wieder [EMAIL PROTECTED] ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Sucess compiling Alex Tweedly DLL!
Hi Developers, i remember that Kenneth Simmons has posted a C++ version of the external dll in this page: http://www.rpi.edu/~simonk/mc/mcExternalCPP.zip Following the instructions for compiling this C++ dll in Dev-C++ produced the following errors. Notice these are a lot less than in previous trials with the sdk. :-) - Compiler: Default compiler Building Makefile: C:\Windows\Desktop\mcExternalCPP\Makefile.win Executing make... make.exe -f C:\Windows\Desktop\mcExternalCPP\Makefile.win all g++.exe -c external.cpp -o ../mcExternalCPP/external.o -IC:/Dev-Cpp/lib/gcc/mingw32/3.4.2/include -IC:/Dev-Cpp/include/c++/3.4.2/backward -IC:/Dev-Cpp/include/c++/3.4.2/mingw32 -IC:/Dev-Cpp/include/c++/3.4.2 -IC:/Dev-Cpp/include -IC:/Windows/Desktop/mcExternalCPP -DBUILDING_DLL=1 -ansi -traditional-cpp external.cpp: In function `void XCcallbacktests(char**, int, char**, int*, int*)': external.cpp:152: error: `time' undeclared (first use this function) external.cpp:152: error: (Each undeclared identifier is reported only once for each function it appears in.) make.exe: *** [../mcExternalCPP/external.o] Error 1 Execution terminated Visit my site: http://www.geocities.com/capellan2000/ __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution