[GEM-dev] GemPBuffer.cpp:304: error: invalid conversion from 'long int*' to 'GLint*'

chris clepper cgclepper at gmail.com
Wed Sep 26 01:24:09 CEST 2007


Odd.  Should be fixed in CVS.

On 9/25/07, Hans-Christoph Steiner <hans at eds.org> wrote:
>
>
> I was trying to build Gem on my Mac Book Pro 3rd gen (nvidia):
>
> Result:
>    Target                 : Gem.pd_darwin
>    Objects                : Base Controls Geos Manips Nongeos
> Particles Pixes openGL
>
> Configuration:
>    Compiler               : g++
>    CXXFLAGS               : -I/sw/include -g -O2 -fPIC -freg-struct-
> return -Os -falign-loops=32 -falign-functions=32 -falign-jumps=32 -
> funroll-loops -ffast-math -mmmx -fpascal-strings
>                           : -I/sw/include -I/sw/include/FTGL -I/sw/
> lib/freetype219/include -I/sw/lib/freetype219/include/freetype2
>    INCLUDES               :  -I/usr/include/FTGL -I/usr/include/
> freetype2 -I/Users/hans/auto-build/pd-extended-release/pd/src
>    DEFINES                :
>
>    LIBS                   : -L/sw/lib -ldl -lz -lm   -lpthread -L/
> Users/hans/auto-build/pd-extended-release/pd/bin
>                           : -L/sw/lib/freetype219/lib -L/sw/lib -lz -
> lfreetype -lftgl
>    LDFLAGS                : -dynamiclib -mmacosx-version-min=10.3 -
> undefined dynamic_lookup -framework QuickTime -framework Carbon -
> framework AGL -framework OpenGL
>                           :
>
>    Strip                  : strip -x
>
>    Install path           : /usr/local
>
> pure-data:
>    version                : 0.39
>
> openGL   :
>    using version          : (default)
>    using ARB-extensions   : yes
>    using NV-extensions    : no
>
> used optional libraries:
>
>    font-rendering         : FTGL
>
>    image-support
>      use ImageMagick      : no (forced)
>      use TIFF             : no (forced)
>      use JPEG             : no (forced)
>    video-support
>      use mpeg             : no (forced)
>      use mpeg-3           : no (forced)
>      use QuickTime        : yes (framework)
>      use aviplay          : no (forced)
>      use ffmpeg           : no (forced)
>    input-support
>      use v4l              : no
>      use ieee1394         : no (forced)
>
>    misc
>      using ARB-extensions : yes
> Now run make ...
>
> make -C /Users/hans/auto-build/pd-extended-release/Gem/src
> make -C Base -j4
>
> [snip]
>
> g++ -c -I/sw/include -g -O2 -fPIC -freg-struct-return -Os -falign-
> loops=32 -falign-functions=32 -falign-jumps=32 -funroll-loops -ffast-
> math -mmmx -fpascal-strings  -I/sw/include -I/sw/include/FTGL -I/sw/
> lib/freetype219/include -I/sw/lib/freetype219/include/freetype2   -
> I..  -I/usr/include/FTGL -I/usr/include/freetype2 -I/Users/hans/auto-
> build/pd-extended-release/pd/src  GemMan.cpp -o GemMan.o
> g++ -c -I/sw/include -g -O2 -fPIC -freg-struct-return -Os -falign-
> loops=32 -falign-functions=32 -falign-jumps=32 -funroll-loops -ffast-
> math -mmmx -fpascal-strings  -I/sw/include -I/sw/include/FTGL -I/sw/
> lib/freetype219/include -I/sw/lib/freetype219/include/freetype2   -
> I..  -I/usr/include/FTGL -I/usr/include/freetype2 -I/Users/hans/auto-
> build/pd-extended-release/pd/src  GemModelData.cpp -o GemModelData.o
> g++ -c -I/sw/include -g -O2 -fPIC -freg-struct-return -Os -falign-
> loops=32 -falign-functions=32 -falign-jumps=32 -funroll-loops -ffast-
> math -mmmx -fpascal-strings  -I/sw/include -I/sw/include/FTGL -I/sw/
> lib/freetype219/include -I/sw/lib/freetype219/include/freetype2   -
> I..  -I/usr/include/FTGL -I/usr/include/freetype2 -I/Users/hans/auto-
> build/pd-extended-release/pd/src  GemPBuffer.cpp -o GemPBuffer.o
> g++ -c -I/sw/include -g -O2 -fPIC -freg-struct-return -Os -falign-
> loops=32 -falign-functions=32 -falign-jumps=32 -funroll-loops -ffast-
> math -mmmx -fpascal-strings  -I/sw/include -I/sw/include/FTGL -I/sw/
> lib/freetype219/include -I/sw/lib/freetype219/include/freetype2   -
> I..  -I/usr/include/FTGL -I/usr/include/freetype2 -I/Users/hans/auto-
> build/pd-extended-release/pd/src  GemPathBase.cpp -o GemPathBase.o
> GemPBuffer.cpp: In constructor 'PBuffer::PBuffer(int, int, int)':
> GemPBuffer.cpp:304: error: invalid conversion from 'long int*' to
> 'GLint*'
> GemPBuffer.cpp:304: error:   initializing argument 3 of 'CGLError
> CGLChoosePixelFormat(const CGLPixelFormatAttribute*,
> _CGLPixelFormatObject**, GLint*)'
> make[3]: *** [GemPBuffer.o] Error 1
>
>
>
> ------------------------------------------------------------------------
> ----
>
> Using ReBirth is like trying to play an 808 with a long stick.    -
> David Zicarelli
>
>
>
> _______________________________________________
> GEM-dev mailing list
> GEM-dev at iem.at
> http://lists.puredata.info/listinfo/gem-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/gem-dev/attachments/20070925/b50b095e/attachment.htm>


More information about the GEM-dev mailing list