[PD-dev] Current GIT master builds are unable to load Gem on Windows

Lucas Cordiviola lucarda27 at hotmail.com
Mon Mar 26 01:59:24 CEST 2018


I'm starting pd with

pd -noprefs -font 12 -path C:\Users\Lucarda\Documents\Pd\externals\Gem 
-lib Gem

I get the warning in the console:


*******************

GEM: Graphics Environment for Multimedia
GEM: ver: 0.93.
GEM: compiled  on Mar 24 2018
GEM: maintained by IOhannes m zmoelnig
GEM: Authors :    Mark Danks (original version)
GEM:        Chris Clepper
GEM:        Cyrille Henry
GEM:        IOhannes m zmoelnig
GEM: with help by Guenter Geiger, Daniel Heckenberg, James Tittle, 
Hans-Christoph Steiner, et al.
GEM: found a bug? miss a feature? please report it:
GEM:     homepage https://gem.iem.at/
GEM:     bug-tracker https://bugs.gem.iem.at/
GEM:     mailing-list https://lists.puredata.info/listinfo/gem-dev/


---> GEM: please manually add Gem path 
'C:/Users/Lucarda/Documents/Pd/externals/Gem' to Pd's search path


GEM: compiled for MMX architecture
GEM: using MMX optimization
GEM: detected 4 CPUs
GEM: image loading support: SGI
GEM: image saving support: SGI


***************

But when I go to add it is already there because of the  "-path 
C:\Users\Lucarda\Documents\Pd\externals\Gem"

On the mail below there is output from the config:

default window         : gemw32window



--

Mensaje telepatico asistido por maquinas.

On 3/25/2018 8:29 PM, Christof Ressi wrote:
> did you add GEM to your path? in recent GEM, [gemwin] is an abstraction.
>   
>
> Gesendet: Montag, 26. März 2018 um 00:55 Uhr
> Von: "Lucas Cordiviola" <lucarda27 at hotmail.com>
> An: "IOhannes m zmoelnig" <zmoelnig at iem.at>, "pd-dev at lists.iem.at" <pd-dev at lists.iem.at>
> Betreff: Re: [PD-dev] Current GIT master builds are unable to load Gem on Windows
>
> I did some tests and research:
>
> This has changed since 0.48.1:
>
> https://github.com/pure-data/pure-data/commit/fee700b3b35caddab2ab4a48a726a6cdbf78e0ce#diff-98b033bba3f6874800b909fd8d6d97b2
>
> For some unknown reason Gem.dll fails to load but other old dlls loads fine.
>
> So I tried to compile Gem to see what happened. It turned that my compiled Gem.dll loads fine on my compiled >0.48.1 Pd.
>
>
> To compile gem I use the current git master branch and did on Msys2:
>
> ./autogen.sh
> ./configure --with-pd=C:/pd-sources/32 --prefix=E:/win10onexthd/gem-test/Gem-master/out-luc --without-ftgl
>
>
> I get:
>
> *****************************************************************
>
> Result:
>    Target                 : Gem.dll
>    Objects                :
>    default window         : gemw32window
>
> Configuration:
>    Compiler               : g++
>    CXXFLAGS               : -g -O2 -freg-struct-return -mms-bitfields -O3 -falign-loops -falign-functions -falign-jumps -funroll-loops -ffast-math -mmmx
>                           :
>    DEFINES                :
>
>    LIBS                   : -lgdi32 -lws2_32 -lmsvcrt -lz -lm
>                           : -lvfw32
>    LDFLAGS                :
>                           :
>
>    Install path           : E:/win10onexthd/gem-test/Gem-master/out-luc
>
>   RTE (Pure Data):
>    external-extension     : dll
>    CFLAGS                 : -DPD -IC:/pd-sources/32/src
>    LIBS                   : -LC:/pd-sources/32/bin -Xlinker -l:pd.dll
>
>   used optional libraries:
>
>    font-rendering         :
>       default font        :
>
>    image-support
>      use ImageMagick      : no
>      use QuickTime        : no
>      use AVFoundation     : no
>      use TIFF             : no
>      use JPEG             : no
>    moviefile-support
>      use PLUGINS          : yes
>      use mpeg             : no
>      use mpeg-3           : no
>      use QuickTime        : no
>      use AVFoundation     :
>      use aviplay          : no
>      use gmerlin          : no
>    capture-support
>      use PLUGINS          : yes
>      use v4l              : no
>      use v4l2             : no
>      use ieee1394         : no
>      use DV               : no
>      use Unicap           : yes
>      use Video-for-WinDOS : yes
>      use QuickTime        : no
>      use AVFoundation     : no
>     
> *************************************************************
>
> It took 2hs to compile and Gem.dll is 81.9 MB
>
> I copied "libwinpthread-1.dll" & "libstdc++-6.dll" from the compiler to the Gem folder.
>
> Gem loads but can't create the [gemwin].
>   
>   
> --
> Mensaje telepatico asistido por maquinas.
>
> On 3/20/2018 5:50 AM, IOhannes m zmoelnig wrote:
> On 2018-03-20 05:48, Lucas Cordiviola wrote:
> Oliver and I did some tests on compiling Pd for windows.
>
> We found that the current master branch can't load Gem.
>
> We can load it with Miller's build or with self builds from
> "pure-data-mingw-autotools2" branch from January ‎9, ‎2018.
>
> We are sure this is not an "msvcr71.dll" issue or a "-lib" issue.
>
> We get:
>
> C:\\Users\\Lucarda\\Documents\\Pd\\externals\\gem\\gem.dll: couldn't load
> ouch.
> good catch.
> do you have the failing binaries available?
>
> since i'm not a w32 guy, any help is much appreciated.
>
> fgmasdr
> IOhannes
>
>       
> _______________________________________________
> Pd-dev mailing listPd-dev at lists.iem.at[mailto:Pd-dev at lists.iem.at]https://lists.puredata.info/listinfo/pd-dev
> _______________________________________________ Pd-dev mailing list Pd-dev at lists.iem.at https://lists.puredata.info/listinfo/pd-dev[https://lists.puredata.info/listinfo/pd-dev]



More information about the Pd-dev mailing list