Git Product home page Git Product logo

shaderloader's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

shaderloader's Issues

Info.plist is missing or not being generated

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

Struggling to Compile...

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.