leadedge / shaderloader Goto Github PK
View Code? Open in Web Editor NEWA FreeframeGL plugin to load shader files created from GLSL Sandbox and ShaderToy
License: BSD 2-Clause "Simplified" License
A FreeframeGL plugin to load shader files created from GLSL Sandbox and ShaderToy
License: BSD 2-Clause "Simplified" License
I'm trying to compile ShaderMaker
and ShaderLoader
on OS X. Stuck on a simple problem, the Info.plist file is missing from the bundle generator.
cp Info.plist "../../Binaries/osx/ShaderMaker.bundle/Contents"
cp: Info.plist: No such file or directory
make: *** [package] Error 1
Full log:
elad:...eadedge/ShaderLoader/Source$ make all (master✱)
rm -rf FFGLPluginInfo.o FFGLPluginInfoData.o FFGL.o FFGLShader.o FFGLExtensions.o FFGLPluginManager.o FFGLPluginSDK.o ShaderMaker.o *.dylib
clang++ -c -Wall -Wno-unknown-pragmas -pedantic -I../../ShaderMaker -I../../FFGL -DTARGET_OS_MAC -std=c++11 -stdlib=libc++ -arch x86_64 -arch i386 -ggdb2 -O0 -D_DEBUG=1 -o ShaderMaker.o ../../ShaderMaker/ShaderMaker.cpp
../../ShaderMaker/ShaderMaker.cpp:85:26: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
char *vertexShaderCode = STRINGIFY (
^
../../ShaderMaker/ShaderMaker.cpp:64:22: note: expanded from macro 'STRINGIFY'
#define STRINGIFY(A) #A
^
<scratch space>:398:1: note: expanded from here
"void main() { gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex; gl_TexCoord[0] = gl_MultiTexCoord0; gl_FrontColor = gl_Color; }"
^
../../ShaderMaker/ShaderMaker.cpp:254:39: warning: '/*' within block comment [-Wcomment]
/*
^
../../ShaderMaker/ShaderMaker.cpp:122:28: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
char *fragmentShaderCode = STRINGIFY (
^
../../ShaderMaker/ShaderMaker.cpp:64:22: note: expanded from macro 'STRINGIFY'
#define STRINGIFY(A) #A
^
<scratch space>:2:1: note: expanded from here
"bool bAnimate = true; vec2 hash2( vec2 p ) { return fract(sin(vec2(dot(p, vec2(127.1, 311.7)), dot(p, vec2(269.5, 183.3))))*43758.5453); } vec3 voronoi( in vec2 x ) { vec2 ...
^
../../ShaderMaker/ShaderMaker.cpp:1308:34: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
static char *extraUniforms = { "uniform vec4 inputColour;\n" };
^
../../ShaderMaker/ShaderMaker.cpp:1329:30: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
static char *uniforms = { "uniform vec3 iResolution;\n"
^
../../ShaderMaker/ShaderMaker.cpp:1352:39: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
static char *stoyMainFunction = { "void main(void) {\n"
^
6 warnings generated.
../../ShaderMaker/ShaderMaker.cpp:85:26: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
char *vertexShaderCode = STRINGIFY (
^
../../ShaderMaker/ShaderMaker.cpp:64:22: note: expanded from macro 'STRINGIFY'
#define STRINGIFY(A) #A
^
<scratch space>:398:1: note: expanded from here
"void main() { gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex; gl_TexCoord[0] = gl_MultiTexCoord0; gl_FrontColor = gl_Color; }"
^
../../ShaderMaker/ShaderMaker.cpp:254:39: warning: '/*' within block comment [-Wcomment]
/*
^
../../ShaderMaker/ShaderMaker.cpp:122:28: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
char *fragmentShaderCode = STRINGIFY (
^
../../ShaderMaker/ShaderMaker.cpp:64:22: note: expanded from macro 'STRINGIFY'
#define STRINGIFY(A) #A
^
<scratch space>:2:1: note: expanded from here
"bool bAnimate = true; vec2 hash2( vec2 p ) { return fract(sin(vec2(dot(p, vec2(127.1, 311.7)), dot(p, vec2(269.5, 183.3))))*43758.5453); } vec3 voronoi( in vec2 x ) { vec2 ...
^
../../ShaderMaker/ShaderMaker.cpp:1308:34: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
static char *extraUniforms = { "uniform vec4 inputColour;\n" };
^
../../ShaderMaker/ShaderMaker.cpp:1329:30: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
static char *uniforms = { "uniform vec3 iResolution;\n"
^
../../ShaderMaker/ShaderMaker.cpp:1352:39: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
static char *stoyMainFunction = { "void main(void) {\n"
^
6 warnings generated.
clang++ -c -Wall -Wno-unknown-pragmas -pedantic -I../../ShaderMaker -I../../FFGL -DTARGET_OS_MAC -std=c++11 -stdlib=libc++ -arch x86_64 -arch i386 -ggdb2 -O0 -D_DEBUG=1 -o FFGLPluginInfo.o ../../FFGL/FFGLPluginInfo.cpp
clang++ -c -Wall -Wno-unknown-pragmas -pedantic -I../../ShaderMaker -I../../FFGL -DTARGET_OS_MAC -std=c++11 -stdlib=libc++ -arch x86_64 -arch i386 -ggdb2 -O0 -D_DEBUG=1 -o FFGLPluginInfoData.o ../../FFGL/FFGLPluginInfoData.cpp
clang++ -c -Wall -Wno-unknown-pragmas -pedantic -I../../ShaderMaker -I../../FFGL -DTARGET_OS_MAC -std=c++11 -stdlib=libc++ -arch x86_64 -arch i386 -ggdb2 -O0 -D_DEBUG=1 -o FFGL.o ../../FFGL/FFGL.cpp
clang++ -c -Wall -Wno-unknown-pragmas -pedantic -I../../ShaderMaker -I../../FFGL -DTARGET_OS_MAC -std=c++11 -stdlib=libc++ -arch x86_64 -arch i386 -ggdb2 -O0 -D_DEBUG=1 -o FFGLShader.o ../../FFGL/FFGLShader.cpp
clang++ -c -Wall -Wno-unknown-pragmas -pedantic -I../../ShaderMaker -I../../FFGL -DTARGET_OS_MAC -std=c++11 -stdlib=libc++ -arch x86_64 -arch i386 -ggdb2 -O0 -D_DEBUG=1 -o FFGLExtensions.o ../../FFGL/FFGLExtensions.cpp
../../FFGL/FFGLExtensions.cpp:60:7: warning: 'NSIsSymbolNameDefined' is deprecated: first deprecated in OS X 10.4 [-Wdeprecated-declarations]
if (NSIsSymbolNameDefined(symbolName))
^
/usr/include/mach-o/dyld.h:169:17: note: 'NSIsSymbolNameDefined' has been explicitly marked deprecated here
extern bool NSIsSymbolNameDefined(const char* symbolName) __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_1,__MAC_10_4,__IPHON...
^
../../FFGL/FFGLExtensions.cpp:61:14: warning: 'NSLookupAndBindSymbol' is deprecated: first deprecated in OS X 10.4 [-Wdeprecated-declarations]
symbol = NSLookupAndBindSymbol(symbolName);
^
/usr/include/mach-o/dyld.h:172:17: note: 'NSLookupAndBindSymbol' has been explicitly marked deprecated here
extern NSSymbol NSLookupAndBindSymbol(const char* symbolName) __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_1,__MAC_10_4,__IPHON...
^
../../FFGL/FFGLExtensions.cpp:65:12: warning: 'NSAddressOfSymbol' is deprecated: first deprecated in OS X 10.5 [-Wdeprecated-declarations]
return NSAddressOfSymbol(symbol);
^
/usr/include/mach-o/dyld.h:181:21: note: 'NSAddressOfSymbol' has been explicitly marked deprecated here
extern void * NSAddressOfSymbol(NSSymbol symbol) __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_1,__MAC_10_5,__IPHONE_NA,__IPHONE_NA);
^
3 warnings generated.
../../FFGL/FFGLExtensions.cpp:60:7: warning: 'NSIsSymbolNameDefined' is deprecated: first deprecated in OS X 10.4 [-Wdeprecated-declarations]
if (NSIsSymbolNameDefined(symbolName))
^
/usr/include/mach-o/dyld.h:169:17: note: 'NSIsSymbolNameDefined' has been explicitly marked deprecated here
extern bool NSIsSymbolNameDefined(const char* symbolName) __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_1,__MAC_10_4,__IPHON...
^
../../FFGL/FFGLExtensions.cpp:61:14: warning: 'NSLookupAndBindSymbol' is deprecated: first deprecated in OS X 10.4 [-Wdeprecated-declarations]
symbol = NSLookupAndBindSymbol(symbolName);
^
/usr/include/mach-o/dyld.h:172:17: note: 'NSLookupAndBindSymbol' has been explicitly marked deprecated here
extern NSSymbol NSLookupAndBindSymbol(const char* symbolName) __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_1,__MAC_10_4,__IPHON...
^
../../FFGL/FFGLExtensions.cpp:65:12: warning: 'NSAddressOfSymbol' is deprecated: first deprecated in OS X 10.5 [-Wdeprecated-declarations]
return NSAddressOfSymbol(symbol);
^
/usr/include/mach-o/dyld.h:181:21: note: 'NSAddressOfSymbol' has been explicitly marked deprecated here
extern void * NSAddressOfSymbol(NSSymbol symbol) __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_1,__MAC_10_5,__IPHONE_NA,__IPHONE_NA);
^
3 warnings generated.
clang++ -c -Wall -Wno-unknown-pragmas -pedantic -I../../ShaderMaker -I../../FFGL -DTARGET_OS_MAC -std=c++11 -stdlib=libc++ -arch x86_64 -arch i386 -ggdb2 -O0 -D_DEBUG=1 -o FFGLPluginManager.o ../../FFGL/FFGLPluginManager.cpp
clang++ -c -Wall -Wno-unknown-pragmas -pedantic -I../../ShaderMaker -I../../FFGL -DTARGET_OS_MAC -std=c++11 -stdlib=libc++ -arch x86_64 -arch i386 -ggdb2 -O0 -D_DEBUG=1 -o FFGLPluginSDK.o ../../FFGL/FFGLPluginSDK.cpp
clang++ -o ShaderMaker.dylib -dynamiclib -framework GLUT -framework OpenGL -arch x86_64 -arch i386 FFGLPluginInfo.o FFGLPluginInfoData.o FFGL.o FFGLShader.o FFGLExtensions.o FFGLPluginManager.o FFGLPluginSDK.o ShaderMaker.o
rm -rf "../../Binaries/osx/ShaderMaker.bundle"
mkdir -p "../../Binaries/osx/ShaderMaker.bundle"/Contents/MacOS
cp Info.plist "../../Binaries/osx/ShaderMaker.bundle/Contents"
cp: Info.plist: No such file or directory
make: *** [package] Error 1
Is there any posibilities of recompiling for working on latest resolume? (64bit)
Hello,
Just wondering what the easiest way to compile the source is?
I thought I'd try using the dependencies from "shaderMaker" as a framework for shaderLoader, but got lots of compile errors. (C2555)
Am I missing something obvious here?
Many thanks for your time.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.