Skip to content

Instantly share code, notes, and snippets.

View clonejo's full-sized avatar

Feiko Nanninga clonejo

  • Aachen / Leer, Germany
View GitHub Profile
$ ./bralad -h"127.0.0.1"
(c)allocating 65536 times 4 bytes. Pointer: 0x7fbd1c122010.
init: 1024x800
Supported OpenGL version: 3.3.11627 Compatibility Profile Context
Loaded OpenGL version: 33
Requesting resource "./res/shader/terrain.shader" as "terrain", type: "Shader".
Loaded resource "terrain" with type: "Shader".
Requesting resource "./res/texture/terrain.png" as "terrain", type: "Image".
Loaded resource "terrain" with type: "Image".
Requesting resource "./res/texture/grasscolor.png" as "grasscolor", type: "Image".
$ ./bralad -h"127.0.0.1"
(c)allocating 65536 times 4 bytes. Pointer: 0x7fd4f4da0010.
derelict.util.exception.SymbolLoadException@src/d/derelict3/import/derelict/util/exception.d(38): Failed to load symbol glfwGetJoystickAxes from shared library libglfw.so.3
----------------
./bralad(void* derelict.util.sharedlib.SharedLib.loadSymbol(immutable(char)[], bool)+0xa9) [0xeb0f89]
./bralad(void derelict.util.loader.SharedLibLoader.bindFunc(void**, immutable(char)[], bool)+0x89) [0xea7771]
./bralad(void derelict.glfw3.glfw3.DerelictGLFW3Loader.loadSymbols()+0x7d4) [0xe9f194]
./bralad(void derelict.util.loader.SharedLibLoader.load(immutable(char)[][])+0x6e) [0xea756a]
./bralad(void derelict.util.loader.SharedLibLoader.load(immutable(char)[])+0xfb) [0xea74ef]
./bralad(void derelict.util.loader.SharedLibLoader.load()+0x5a) [0xea73ee]
$ make -j 9
dmd -Ibrala/ -Isrc/d/derelict3/import -Isrc/d/glamour -Isrc/d/gl3n/ -Isrc/d/ -Isrc/d/openssl/ -version=Derelict3 -version=gl3n -version=stb -debug -g -gc ./build/src/c/nbt/buffer.o ./build/src/c/nbt/nbt_parsing.o ./build/src/c/nbt/nbt_util.o ./build/src/c/nbt/nbt_loading.o ./build/src/c/nbt/nbt_treeops.o ./build/src/c/stb_image.o ./build/brala/engine.o ./build/brala/dine/builder/vertices.o ./build/brala/dine/builder/biomes.o ./build/brala/dine/builder/blocks.o ./build/brala/dine/builder/tessellator.o ./build/brala/dine/builder/vertices_/slabs.o ./build/brala/dine/builder/vertices_/blocks.o ./build/brala/dine/builder/vertices_/util.o ./build/brala/dine/builder/vertices_/stairs.o ./build/brala/dine/builder/builder.o ./build/brala/dine/builder/constants.o ./build/brala/dine/util.o ./build/brala/dine/chunk.o ./build/brala/dine/world.o ./build/brala/utils/console.o ./build/brala/utils/ctfe.o ./build/brala/utils/defaultaa.o ./build/brala/utils/exception.o ./build/brala/utils/thread.o ./build/brala/utils
$ git diff remotes/origin/master master | cat
diff --git a/Makefile b/Makefile
index 1dfbe47..40fff0f 100644
--- a/Makefile
+++ b/Makefile
@@ -8,9 +8,9 @@ DCFLAGS_IMPORT = -Ibrala/ -Isrc/d/derelict3/import -Isrc/d/glamour -Isrc/d/
DCFLAGS_LINK = $(LDCFLAGS) $(LINKERFLAG)-lssl $(LINKERFLAG)-lcrypto
ifeq ($(DC),ldc2)
- ADDITIONAL_FLAGS = -d-version=Derelict3 -d-version=gl3n -d-version=stb -d-debug -unittest -g -gc
$ ./bralad -h"127.0.0.1"
(c)allocating 65536 times 4 bytes. Pointer: 0x7fdf74fe7010.
core.exception.AssertError@gl3n.linalg(2306): unittest failure
----------------
./bralad(onUnittestErrorMsg+0x46) [0xf951f2]
./bralad(_d_unittestm+0x47) [0xf612e3]
./bralad(void gl3n.linalg.__unittest_fail(int)+0x1a) [0xcab186]
./bralad(@safe void gl3n.linalg.Quaternion!(float).Quaternion.__unittest1943()+0x3ef) [0xc494df]
./bralad(void gl3n.linalg.__modtest()+0xb8) [0xcaaf90]
./bralad(extern (C) bool core.runtime.runModuleUnitTests().int __foreachbody314(ref object.ModuleInfo*)+0x30) [0xf95580]
(c)allocating 65536 times 4 bytes. Pointer: 0x7f0eeef57010.
init: 1024x800
Supported OpenGL version: 3.3.11627 Compatibility Profile Context
Loaded OpenGL version: 33
Requesting resource "./res/shader/terrain.shader" as "terrain", type: "Shader".
Loaded resource "terrain" with type: "Shader".
Requesting resource "./res/texture/terrain.png" as "terrain", type: "Image".
Loaded resource "terrain" with type: "Image".
Requesting resource "./res/texture/grasscolor.png" as "grasscolor", type: "Image".
Loaded resource "grasscolor" with type: "Image".
$ gdb ./bralad
GNU gdb (Ubuntu/Linaro 7.4-2012.04-0ubuntu2) 7.4-2012.04
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://bugs.launchpad.net/gdb-linaro/>...
$ gdb ./bralad
GNU gdb (Ubuntu/Linaro 7.4-2012.04-0ubuntu2) 7.4-2012.04
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://bugs.launchpad.net/gdb-linaro/>...
$ gdb ./bralad
GNU gdb (Ubuntu/Linaro 7.4-2012.04-0ubuntu2) 7.4-2012.04
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://bugs.launchpad.net/gdb-linaro/>...
$ ./bralad -h"germancrafter.de"
(c)allocating 65536 times 4 bytes. Pointer: 0x7f7ef9590010.
init: 1024x800
Supported OpenGL version: 3.3.11627 Compatibility Profile Context
Loaded OpenGL version: 33
Requesting resource "./res/shader/terrain.shader" as "terrain", type: "Shader".
Loaded resource "terrain" with type: "Shader".
Requesting resource "./res/texture/terrain.png" as "terrain", type: "Image".
Loaded resource "terrain" with type: "Image".
Requesting resource "./res/texture/grasscolor.png" as "grasscolor", type: "Image".