Skip to content

Instantly share code, notes, and snippets.

@LowSpecCorgi
LowSpecCorgi / build.gradle
Last active July 22, 2021 16:49
Mixin client BUILD.GRADLE
buildscript {
repositories {
mavenCentral()
jcenter()
maven {
name = "forge"
url = "http://files.minecraftforge.net/maven"
}
maven {
name = 'sponge'
This file has been truncated, but you can view the full file.
15:45:05 - == MCP 9.18 (data: 9.18, client: 1.8.8, server: 1.8.8) ==
15:45:05 - OS : win32
15:45:05 - "scalac" is not found on the PATH. Scala files will not be recompiled
15:45:05 - # VERSION INFO
15:45:05 - python: 2.7.3 (default, Apr 10 2012, 23:31:26) [MSC v.1500 32 bit (Intel)]
15:45:05 - platform: Windows-post2008Server-6.2.9200
15:45:05 - # java: '"java" -version'
15:45:05 - openjdk version "1.8.0_252"
OpenJDK Runtime Environment (AdoptOpenJDK)(build 1.8.0_252-b09)
Errors:
Documents\GameEngine\out\build\x64-Debug\texture.cpp.obj : error LNK2005: stbi_load_from_memory already defined in GameEngine.cpp.obj
Documents\GameEngine\out\build\x64-Debug\texture.cpp.obj : error LNK2005: stbi_load_from_callbacks already defined in GameEngine.cpp.obj
Documents\GameEngine\out\build\x64-Debug\texture.cpp.obj : error LNK2005: stbi_load already defined in GameEngine.cpp.obj
Documents\GameEngine\out\build\x64-Debug\texture.cpp.obj : error LNK2005: stbi_load_from_file already defined in GameEngine.cpp.obj
Documents\GameEngine\out\build\x64-Debug\texture.cpp.obj : error LNK2005: stbi_load_gif_from_memory already defined in GameEngine.cpp.obj
Documents\GameEngine\out\build\x64-Debug\texture.cpp.obj : error LNK2005: stbi_load_16_from_memory already defined in GameEngine.cpp.obj
Documents\GameEngine\out\build\x64-Debug\texture.cpp.obj : error LNK2005: stbi_load_16_from_callbacks already defined in GameEngine.cpp.obj
@LowSpecCorgi
LowSpecCorgi / gist:c1959502fe20e271be44223270a3ae00
Created April 12, 2020 11:03
Full error log from Ninja, while trying to compile Aseprite
NINJA LOG:
[163/1515] Building CXX object third_party/ha.../harfbuzz.dir/src/hb-ot-shape-fallback.cc.obj
FAILED: third_party/harfbuzz/CMakeFiles/harfbuzz.dir/src/hb-ot-shape-fallback.cc.obj
C:\MinGW\bin\c++.exe -DCMARK_STATIC_DEFINE -DHAVE_ATEXIT -DHAVE_FALLBACK -DHAVE_FREETYPE=1 -DHAVE_GETPAGESIZE -DHAVE_INTEL_ATOMIC_PRIMITIVES -DHAVE_ISATTY -DHAVE_MPROTECT -DHAVE_OT -DHAVE_UCDN -DHAVE_UNISTD_H -DNDEBUG -DPNG_NO_MMX_CODE -I../third_party/zlib -Ithird_party/zlib -I../third_party/libpng -Ithird_party/libpng -I../third_party/libwebp/src -I../third_party/tinyxml -I../third_party/pixman/pixman -I. -I../third_party/freetype2/include -I../third_party/harfbuzz/src -I../third_party/giflib/lib -I../third_party/jpeg -Ithird_party/cmark -I../third_party/curl/include -I../third_party/simpleini -I../third_party/. -Ithird_party/harfbuzz/src -I../third_party/harfbuzz/src/hb-ucdn -Ithird_party/freetype2/include -fno-rtti -fno-exceptions -fno-threadsafe-statics -O2 -g -DNDEBUG -std=c++11 -MD -MT third_party/harfbuzz/CMakeF