From: Adrian V. <adr...@fu...> - 2009-05-27 14:07:33
|
Hi Viet, You have two options: A) Play around with the MinGW makefile to compile the libgaze into a win32 readable dll: The attached makefile works fine for me. This will create a libgaze.dll in the lib subfolder of the libgaze folder which depends on the glib gmodule gthread gsl libraries and exports all libgaze functions to win32. Of course you have to install the libraries before including parse_conf. See the attached file for additional help. ----------------- B) Have a look at the MSVC project in the libgaze trunk. It is a Visual Studio 2005 solution which compiles the libgaze into a managed C++ win32 library msvcgaze.dll which does not depend on libgaze.dll but currently only exports the main needed functions of the libgaze. Then look at the csGaze project which is a C# managed wrapper on how to import functions from the msvcGaze.cll. Best wishes, hope it helps, Adrian ------------------------ Adrian Voßkühler Freie Universität Berlin Fachbereich Physik Didaktik der Physik Arnimallee 14 14195 Berlin Germany Tel +49.(0)30.838.56713/53031 Fax +49.(0)30.838.56771 E-Mail adr...@ph... > -----Ursprüngliche Nachricht----- > Von: Viet [mailto:qv...@fr...] > Gesendet: Dienstag, 26. Mai 2009 09:51 > An: lib...@li... > Cc: Manuel Vidal > Betreff: [Libgaze-devel] can't load libgaze.dll > > Hi > > I am using libgaze-1.0.1-win32 > > I am still trying to LoadLibrary the binary dll from > libgaze-1.0.1-win32 I keep getting : > "The Application or DLL libgaze.dll is not a valid Windows > image. Please check this against your installation diskette." > At first, I had doubts with my skills, given my limited > knowledge of MS Visual C++ > > > However, I have just tried http://www.dependencywalker.com/ > on a freshly unziped version of the DLL > > Which gave me : Error: At least one file was not a 32-bit or > 64-bit Windows module. > > > Therefore, I dare say that libgaze.DLL is not a DLL ... > > has anyone actually managed to link to it ? > > (the cppGaze is only a wrapper class, from a time when maybe > libgaze.dll was in fact a dll) > > > > -------------------------------------------------------------- > ---------------- > Register Now for Creativity and Technology (CaT), June 3rd, > NYC. CaT is a gathering of tech-side developers & brand > creativity professionals. Meet the minds behind Google > Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp > as they present alongside digital heavyweights like Barbarian > Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com > _______________________________________________ > Libgaze-devel mailing list > Lib...@li... > https://lists.sourceforge.net/lists/listinfo/libgaze-devel > |