Hello In mycase -luuid is included in mkoctfile so it is not required. However in msvc -luuid seems not to be inculded in mkoctfile,
************************************************* octave:4> mkoctfile -v Hello.cc cc-msvc -d -c -I. -Ic:/Software/VCLibs/include -IC:\Programs\Octave-3.0.1\incl ude\octave-3.0.1 -IC:\Programs\Octave-3.0.1\include\octave-3.0.1\octave -IC:\Pro grams\Octave-3.0.1\include -O2 -EHs -MD Hello.cc -o Hello.o cl -nologo -c -I. -Ic:/Software/VCLibs/include -IC:\Programs\Octave-3.0.1\includ e\octave-3.0.1 -IC:\Programs\Octave-3.0.1\include\octave-3.0.1\octave -IC:\Progr ams\Octave-3.0.1\include -O2 -EHs -MD -TpHello.cc -FoHello.o Hello.cc cc-msvc -d -shared -o Hello.oct Hello.o -LC:\Programs\Octave-3.0.1\lib\octav e-3.0.1 -LC:\Programs\Octave-3.0.1\lib -loctinterp -loctave -lcruft -llapack - lblas -lfftw3 -lreadline -lncurses -lhdf5 -lzlib -lws2_32 -lkernel32 -lhdf5 -l zlib -lf2c -lkernel32 link -nologo -DLL -out:Hello.oct Hello.o -LIBPATH:C:\Programs\Octave-3.0.1\lib\o ctave-3.0.1 -LIBPATH:C:\Programs\Octave-3.0.1\lib octinterp.lib octave.lib cruft .lib lapack.lib blas.lib fftw3.lib readline.lib ncurses.lib hdf5.lib zlib.lib ws 2_32.lib kernel32.lib hdf5.lib zlib.lib f2c.lib kernel32.lib ************************************************* Benjamin> I don't know if this will now work with msvc. I don't also know if this will now work with msvc. Regards Tatsuro --- Benjamin Lindner <[EMAIL PROTECTED]> wrote: > Hello, > > in order to build __COM__.oct in the windows-1.0.6 package using > mingw32-gcc, an additional link libray is required > > Index: Makefile > =================================================================== > --- Makefile (revision 5308) > +++ Makefile (working copy) > @@ -24,7 +24,7 @@ > $(MKOCTFILE) -o $@ $^ -luser32 -ladvapi32 > > __COM__.oct: __COM__.o > - $(MKOCTFILE) -o $@ $^ -lole32 -loleaut32 -luser32 > + $(MKOCTFILE) -o $@ $^ -lole32 -loleaut32 -luser32 -luuid > > ../inst/%.m : %.m.in > if [ ! -d ../inst ]; then mkdir ../inst; fi > > I don't know if this will now work with msvc. > If not, then the added -luuid should somehow be conditional to a mingw > build (is this easily possible in makefiles?) > > regards > benjamin > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Octave-dev mailing list > Octave-dev@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/octave-dev > -------------------------------------- Enjoy MLB with MAJOR.JP! Ichiro, Matsuzaka, Matsui, and more! http://pr.mail.yahoo.co.jp/mlb/ ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Octave-dev mailing list Octave-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/octave-dev