Skip to content

Instantly share code, notes, and snippets.

float isoSurface(Vector3f p, std::vector<Cube> cubeList)
{
if(cubeList.empty()) return 0.0f;
float d = euclidean_distance(p, cubeList[0]);
for(size_t i = 1; i < cubeList.size(); ++i){
d = min(d, cubeList[i]);
}
return d;
}
/* * { margin: 0; padding: 0;} */
/* body, html { height:100%; } */
.painter {
/* position:absolute; */
background-color: #000000;
width: 100%;
height: 100%;
}
finalizers.c:166:1: error: static declaration of 'GC_set_finalizer_notifier' follows non-static declaration
In file included from ../libguile/bdw-gc.h:47:0,
from finalizers.c:26:
/usr/include/gc/gc.h:177:21: note: previous declaration of 'GC_set_finalizer_notifier' was here
make[3]: *** [libguile_2.0_la-finalizers.lo] Error 1
make[3]: Leaving directory `/home/madsy/mingw/home/madsy/src/guile-2.0.9.182-c8e83-dirty/libguile'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/madsy/mingw/home/madsy/src/guile-2.0.9.182-c8e83-dirty/libguile'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/madsy/mingw/home/madsy/src/guile-2.0.9.182-c8e83-dirty'
GUILE_FOR_BUILD=/home/madsy/guiletest/bin/guile CFLAGS=-DGC_NOT_DLL PKG_CONFIG_PATH=/home/madsy/mingw/lib/pkgconfig ./configure --
host=i686-w64-mingw32 --prefix=/home/madsy/mingw --enable-static=yes --enable-shared=no --enable-threads=windows --disable-rpath --
enable-debug-malloc --enable-guile-debug --disable-posix --disable-deprecated --with-sysroot=/home/madsy/mingw
--without-libpth-prefix
This file has been truncated, but you can view the full file.
====================================================================================
== Script to run Gule tests with on Windows. Assumes --prefix is equal to C:\bin ==
== Guile compiled with: GUILE_FOR_BUILD=/home/madsy/guiletest/bin/guile \ ==
== CFLAGS=-DGC_NOT_DLL PKG_CONFIG_PATH=/home/madsy/mingw/lib/pkgconfig \ ==
== CFLAGS=-I/home/madsy/mingw/include LDFLAGS=-L/home/madsy/mingw/lib \ ==
== ./configure --host=i686-w64-mingw32 --prefix=/home/madsy/mingw/root \ ==
== --enable-static=yes --enable-shared=no --enable-threads=windows \ ==
== --disable-rpath --enable-debug-malloc --enable-guile-debug \ ==
== --disable-deprecated --with-sysroot=/home/madsy/mingw --without-libpth-prefix ==
== ==
SCM_DEFINE_PUBLIC(glCullFace,"gl-cull-face",1,0,0,
(SCM mode)
"ADD ME LATER")
#define FUNC_NAME s_glCullFace
{
GLenum lp_mode = (GLenum)scm_to_uint32(mode);
glCullFace(lp_mode);
return SCM_UNDEFINED;
}
#undef FUNC_NAME
GEN c-tokenize.o
In file included from /usr/include/stdlib.h:314:0,
from c-tokenize.c:28:
/usr/include/x86_64-linux-gnu/sys/types.h:65:17: error: two or more data types in declaration specifiers
/usr/include/x86_64-linux-gnu/sys/types.h:75:19: error: two or more data types in declaration specifiers
/usr/include/x86_64-linux-gnu/sys/types.h:80:17: error: two or more data types in declaration specifiers
make[3]: *** [c-tokenize.o] Error 1
make[3]: Leaving directory `/home/madsy/mingw/home/madsy/demo_deps/guile-2.0.9.219-e1bb-dirty-mingw/libguile'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/madsy/mingw/home/madsy/demo_deps/guile-2.0.9.219-e1bb-dirty-mingw/libguile'
finalizers.c:166:1: error: static declaration of 'GC_set_finalizer_notifier' follows non-static declaration
/home/madsy/mingw/include/gc/gc.h:177:21: note: previous declaration of 'GC_set_finalizer_notifier' was here
make[3]: *** [libguile_2.0_la-finalizers.lo] Error 1
#gc-7.2e
export CFLAGS="-I/home/madsy/mingw/include -DGC_NOT_DLL"
export LDFLAGS="-L/home/madsy/mingw/lib"
PKG_CONFIG_PATH="/home/madsy/mingw/lib/pkgconfig"
./configure --host=i686-w64-mingw32 --enable-threads=posix --enable-parallel-mark --enable-gc-debug \
--enable-shared=no --enable-static=yes --prefix=/home/madsy/mingw
make && make install
export CFLAGS="-DGC_NOT_DLL -O3 -Os -I/home/madsy/mingw/include"
export LDFLAGS="-L/home/madsy/mingw/lib"
set GUILE_LOAD_COMPILED_PATH=C:\guile\lib\guile\2.0\ccache;C:\guile\lib\guile\2.0\site-ccache
set GUILE_LOAD_PATH=C:\guile\share\guile\2.0;C:\guile\share\guile\site\2.0;C:\guile\share\guile\site ;C:\guile\share\guile
set GUILE_SYSTEM_EXTENSIONS_PATH=C:\guile\lib;C:\guile\lib\guile\2.0\extensions
guile.exe