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

Christof Ressi christof.ressi at gmx.at
Mon Mar 26 01:29:06 CEST 2018


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