in the glew.ccp line 83 the (char*) is missing before malloc

symbolName = (char*)malloc(strlen((const char*)name) + 2);


matthias
Am 26.03.2009 um 15:36 schrieb thomas thiery:

Thank you,
I test the compilation and I have this error when I compile

g++ -c -g -O2 -fPIC -freg-struct-return -Os -falign-loops=32 - falign-functions=32 -falign-jumps=32 -funroll-loops -ffast-math - mmmx -fpascal-strings -I.. -I/Applications/Pd-0.42-4.app/Contents/ Resources/src glew.cpp -o ../Objects/glew.o
glew.cpp: In function ‘void* NSGLGetProcAddress(const GLubyte*)’:
glew.cpp:80: warning: ‘NSAddImage’ is deprecated (declared at /usr/ include/mach-o/dyld.h:230) glew.cpp:80: warning: ‘NSAddImage’ is deprecated (declared at /usr/ include/mach-o/dyld.h:230)
glew.cpp:83: error: invalid conversion from ‘void*’ to ‘char*’
glew.cpp:89: warning: ‘NSLookupSymbolInImage’ is deprecated (declared at /usr/include/mach-o/dyld.h:182) glew.cpp:89: warning: ‘NSLookupSymbolInImage’ is deprecated (declared at /usr/include/mach-o/dyld.h:182) glew.cpp:91: warning: ‘NSAddressOfSymbol’ is deprecated (declared at /usr/include/mach-o/dyld.h:188) glew.cpp:91: warning: ‘NSAddressOfSymbol’ is deprecated (declared at /usr/include/mach-o/dyld.h:188)
make[1]: *** [glew.o] Error 1
make: *** [Base] Error 2


I can't make an interpretation of this

2009/3/26 IOhannes m zmölnig <zmoel...@iem.at>
thomas thiery wrote:
> Hello IOhannes,
>
> I use this source of Gem, is it the last?
> http://downloads.sourceforge.net/pd-gem/gem-0.91-3.tar.gz?use_mirror=heanet
>

it's the last official release (which does not take the peculiarities of
0.42 into account)

however, the latest and greatest sources are always available via our
version control system (subversion
https://pd-gem.svn.sourceforge.net/svnroot/pd-gem/trunk/Gem)

mfga.sdr
IOhannes

_______________________________________________
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list



--
Matohawk production
http://matohawkitongroup.free.fr
_______________________________________________
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list

_______________________________________________
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list

Reply via email to