View Single Post
Old 16th November 2012, 02:23   #5  |  Link
Mug Funky
interlace this!
 
Mug Funky's Avatar
 
Join Date: Jun 2003
Location: i'm in ur transfers, addin noise
Posts: 4,555
what do i need to make these compile in MSYS?

i'm getting piles of errors about _malloc type stuff.

Code:
$ make
g++ -std=c++11 -Wall -Wextra -Wno-unused-parameter -O3 -shared -g vsmatrix.cpp -o vsmatrix.dylib
In file included from vsmatrix.cpp:3:0:
VapourSynth/VSHelper.h: In function 'T* vs_aligned_malloc(size_t, size_t)':
VapourSynth/VSHelper.h:48:44: error: there are no arguments to '_aligned_malloc' that depend on a template parameter, so a declaration of '_aligned_malloc' must be available [-fpermissive]
VapourSynth/VSHelper.h:48:44: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)
VapourSynth/VSHelper.h: In function 'void vs_aligned_free(void*)':
VapourSynth/VSHelper.h:58:2: error: '_aligned_free' was not declared in this scope
make: *** [vsmatrix.dylib] Error 1
__________________
sucking the life out of your videos since 2004
Mug Funky is offline   Reply With Quote