Skip to content

Instantly share code, notes, and snippets.

@rodlie
Created July 25, 2019 01:57
Show Gist options
  • Save rodlie/c3e13bdfd551475cade19fa7eb6cafb9 to your computer and use it in GitHub Desktop.
Save rodlie/c3e13bdfd551475cade19fa7eb6cafb9 to your computer and use it in GitHub Desktop.
2019-07-25 01:51:04 Building openfx-misc...
+ cd /home/olear/Natron-snapshot-workspace/tmp64/openfx-misc
++ /mingw64/llvm/bin/llvm-config --version
+ llvmversion=3.9.1
+ case "$llvmversion" in
+ llvmsystemlibs=--system-libs
++ /mingw64/llvm/bin/llvm-config --ldflags --libs engine mcjit mcdisassembler --system-libs
++ tr '\n' ' '
+ LLVM_LIB='-LC:\msys64\mingw64\llvm/lib -lLLVMX86Disassembler -lLLVMX86AsmParser -lLLVMX86CodeGen -lLLVMSelectionDAG -lLLVMAsmPrinter -lLLVMDebugInfoCodeView -lLLVMCodeGen -lLLVMScalarOpts -lLLVMInstCombine -lLLVMInstrumentation -lLLVMTransformUtils -lLLVMBitWriter -lLLVMX86Desc -lLLVMMCDisassembler -lLLVMX86Info -lLLVMX86AsmPrinter -lLLVMX86Utils -lLLVMMCJIT -lLLVMExecutionEngine -lLLVMTarget -lLLVMAnalysis -lLLVMProfileData -lLLVMRuntimeDyld -lLLVMObject -lLLVMMCParser -lLLVMBitReader -lLLVMMC -lLLVMCore -lLLVMSupport -lpsapi -lshell32 -lole32 -luuid '
+ MESALIB=
+ GLULIB=
+ MESALIB=-lOSMesa
+ '[' -s /mingw64/osmesa/lib/libMangledOSMesa32.a ']'
+ MESALIB=-lMangledOSMesa32
+ GLULIB=-lMangledGLU
+ '[' 0 = 1 ']'
+ echo 'Info: build openfx-misc using make...'
Info: build openfx-misc using make...
+ echo 'Info: make all except CImg.'
Info: make all except CImg.
+ env OSMESA_PATH=/mingw64/osmesa LLVM_PATH=/mingw64/llvm 'CXXFLAGS_MESA=-DHAVE_OSMESA -I/mingw64/osmesa/include' 'LDFLAGS_MESA=-L/mingw64/osmesa/lib -lMangledGLU -lMangledOSMesa32 -L/mingw64/lib -lz -L/mingw64/llvm/lib -LC:\msys64\mingw64\llvm/lib -lLLVMX86Disassembler -lLLVMX86AsmParser -lLLVMX86CodeGen -lLLVMSelectionDAG -lLLVMAsmPrinter -lLLVMDebugInfoCodeView -lLLVMCodeGen -lLLVMScalarOpts -lLLVMInstCombine -lLLVMInstrumentation -lLLVMTransformUtils -lLLVMBitWriter -lLLVMX86Desc -lLLVMMCDisassembler -lLLVMX86Info -lLLVMX86AsmPrinter -lLLVMX86Utils -lLLVMMCJIT -lLLVMExecutionEngine -lLLVMTarget -lLLVMAnalysis -lLLVMProfileData -lLLVMRuntimeDyld -lLLVMObject -lLLVMMCParser -lLLVMBitReader -lLLVMMC -lLLVMCore -lLLVMSupport -lpsapi -lshell32 -lole32 -luuid ' CXX=g++ CONFIG=relwithdebinfo OPTFLAG=-Ofast BITS=64 'LDFLAGS_ADD=-Wl,--build-id ' HAVE_CIMG=0 OPENMP=1 CXXFLAGS_EXTRA= make -j4
(cd Misc && make -j4 --jobserver-auth=3,4)
(cd Shadertoy && make -j4 --jobserver-auth=3,4)
make[1]: warning: -jN forced in submake: disabling jobserver mode.
make[1]: Entering directory '/home/olear/Natron-snapshot-workspace/tmp64/openfx-misc/Misc'
make[1]: warning: -jN forced in submake: disabling jobserver mode.
make[1]: Entering directory '/home/olear/Natron-snapshot-workspace/tmp64/openfx-misc/Shadertoy'
CXX MINGW64_NT-6.3-64-relwithdebinfo/ofxsThreadSuite.o
CXX MINGW64_NT-6.3-64-relwithdebinfo/tinythread.o
CXX MINGW64_NT-6.3-64-relwithdebinfo/Shadertoy.o
CXX MINGW64_NT-6.3-64-relwithdebinfo/ShadertoyRenderGL.o
CXX MINGW64_NT-6.3-64-relwithdebinfo/ofxsThreadSuite.o
CXX MINGW64_NT-6.3-64-relwithdebinfo/tinythread.o
CXX MINGW64_NT-6.3-64-relwithdebinfo/ShadertoyRenderMesa.o
CXX MINGW64_NT-6.3-64-relwithdebinfo/ofxsFileOpen.o
CXX MINGW64_NT-6.3-64-relwithdebinfo/ofxsGenerator.o
CXX MINGW64_NT-6.3-64-relwithdebinfo/ofxsLut.o
In file included from ShadertoyRenderGL.cpp:24:
ShadertoyRender.h:338:34: error: 'void (* glActiveTexture)(GLenum)' redeclared as different kind of entity
338 | static PFNGLACTIVETEXTUREARBPROC glActiveTexture = NULL;
| ^~~~~~~~~~~~~~~
In file included from ShadertoyRender.h:78,
from ShadertoyRenderGL.cpp:24:
C:/msys64/mingw64/osmesa/include/GL/gl.h:1823:23: note: previous declaration 'void glActiveTexture(GLenum)'
1823 | GLAPI void GLAPIENTRY glActiveTexture( GLenum texture );
| ^~~~~~~~~~~~~~~
In file included from ShadertoyRenderGL.cpp:24:
ShadertoyRender.h: In member function 'virtual void* ShadertoyPlugin::contextAttached(bool)':
ShadertoyRender.h:2472:25: error: assignment of function 'void glActiveTexture(GLenum)'
2472 | glActiveTexture = (PFNGLACTIVETEXTUREARBPROC)getProcAddress("glActiveTexture", "glActiveTextureARB");
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[1]: *** [../openfx/Support/Plugins/Makefile.master:82: MINGW64_NT-6.3-64-relwithdebinfo/ShadertoyRenderGL.o] Error 1
make[1]: *** Waiting for unfinished jobs....
CXX MINGW64_NT-6.3-64-relwithdebinfo/ofxsMultiPlane.o
CXX MINGW64_NT-6.3-64-relwithdebinfo/ofxsOGLTextRenderer.o
CXX MINGW64_NT-6.3-64-relwithdebinfo/ofxsOGLFontData.o
CXX MINGW64_NT-6.3-64-relwithdebinfo/ofxsRamp.o
CXX MINGW64_NT-6.3-64-relwithdebinfo/ofxsShutter.o
CXX MINGW64_NT-6.3-64-relwithdebinfo/ofxsTracking.o
CXX MINGW64_NT-6.3-64-relwithdebinfo/ofxsTransform3x3.o
CXX MINGW64_NT-6.3-64-relwithdebinfo/ofxsTransformInteract.o
CXX MINGW64_NT-6.3-64-relwithdebinfo/ofxsRectangleInteract.o
CXX MINGW64_NT-6.3-64-relwithdebinfo/randomGenerator.o
CXX MINGW64_NT-6.3-64-relwithdebinfo/TimeBuffer.o
CXX MINGW64_NT-6.3-64-relwithdebinfo/Add.o
CXX MINGW64_NT-6.3-64-relwithdebinfo/AdjustRoD.o
CXX MINGW64_NT-6.3-64-relwithdebinfo/Anaglyph.o
CXX MINGW64_NT-6.3-64-relwithdebinfo/AppendClip.o
make[1]: Leaving directory '/home/olear/Natron-snapshot-workspace/tmp64/openfx-misc/Shadertoy'
make: *** [Makefile:120: Shadertoy] Error 2
make: *** Waiting for unfinished jobs....
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment