Skip to content

Instantly share code, notes, and snippets.

Tom Maneiro dilworks

Block or report user

Report or block dilworks

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@dilworks
dilworks / clang_buildfix_debianstable.diff
Created Apr 29, 2019
Build Dolphin with clang-3.8 (Debian Stable)
View clang_buildfix_debianstable.diff
diff --git a/Source/Core/Common/GL/GLInterface/EGL.cpp b/Source/Core/Common/GL/GLInterface/EGL.cpp
index 93a60ca9d8..9f299550fb 100644
--- a/Source/Core/Common/GL/GLInterface/EGL.cpp
+++ b/Source/Core/Common/GL/GLInterface/EGL.cpp
@@ -289,7 +289,7 @@ std::unique_ptr<GLContext> GLContextEGL::CreateSharedContext()
return nullptr;
}
- return new_context;
+ return std::move(new_context);
View clang_linkerror.log
[ 23%] Linking CXX executable ../../../Binaries/traversal_server
/usr/bin/ld: CMakeFiles/common.dir/Random.cpp.o: referencia sin definir al símbolo '__cxa_thread_atexit@@CXXABI_1.3.7'
//usr/lib/x86_64-linux-gnu/libstdc++.so.6: error adding symbols: DSO missing from command line
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Source/Core/Common/CMakeFiles/traversal_server.dir/build.make:94: fallo en las instrucciones para el objetivo 'Binaries/traversal_server'
make[2]: *** [Binaries/traversal_server] Error 1
CMakeFiles/Makefile2:971: fallo en las instrucciones para el objetivo 'Source/Core/Common/CMakeFiles/traversal_server.dir/all'
make[1]: *** [Source/Core/Common/CMakeFiles/traversal_server.dir/all] Error 2
Makefile:151: fallo en las instrucciones para el objetivo 'all'
make: *** [all] Error 2
@dilworks
dilworks / clang_builderrors.log
Created Apr 29, 2019
Dolphin build errors with Clang on Debian stable
View clang_builderrors.log
--clang-3.8
[ 15%] Building CXX object Source/Core/Common/CMakeFiles/common.dir/GL/GLInterface/EGL.cpp.o
/home/tomman/workbench/dolphin-emu/Source/Core/Common/GL/GLInterface/EGL.cpp:292:10: error: no viable conversion from returned value of type
'unique_ptr<GLContextEGL>' to function return type 'unique_ptr<GLContext>'
return new_context;
^~~~~~~~~~~
/usr/include/c++/v1/memory:2459:29: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from
'std::unique_ptr<GLContextEGL>' to 'const std::__1::unique_ptr<GLContext, std::__1::default_delete<GLContext> > &' for 1st argument
class _LIBCPP_TYPE_VIS_ONLY unique_ptr
^
@dilworks
dilworks / gcc_63_builderror.log
Created Apr 28, 2019
Dolphin build error log on Debian Stable
View gcc_63_builderror.log
[ 64%] Building CXX object Source/Core/Core/CMakeFiles/core.dir/HW/WiimoteEmu/Camera.cpp.o
/home/tomman/workbench/dolphin-emu/Source/Core/Core/HW/WiimoteEmu/Camera.cpp: In member function ‘void WiimoteEmu::CameraLogic::Update(const Common::Matrix44&, bool)’:
/home/tomman/workbench/dolphin-emu/Source/Core/Core/HW/WiimoteEmu/Camera.cpp:105:36: error: call to non-constexpr function ‘constexpr std::array<_Tp, _Nm>::size_type std::array<_Tp, _Nm>::size() const [with _Tp = Common::TVec3<float>; long unsigned int _Nm = 2ul; std::array<_Tp, _Nm>::size_type = long unsigned int]’
std::array<CameraPoint, leds.size()> camera_points;
~~~~~~~~~^~
In file included from /home/tomman/workbench/dolphin-emu/Source/Core/Common/ChunkFile.h:16:0,
from /home/tomman/workbench/dolphin-emu/Source/Core/Core/HW/WiimoteEmu/Camera.h:7,
from /home/tomman/workbench/dolphin-emu/Source/Core/Core/HW/WiimoteEmu/Camera.cpp:5:
/usr/include/c++/6/array:171:7: note: ‘constexpr std::arr
@dilworks
dilworks / rdbruteforcekeygen.c
Last active Aug 30, 2018
Brute Force RegKey for RichDiamond [modified for GCC/Linux]
View rdbruteforcekeygen.c
// Brute Force RegKey for RichDiamond
// change VERSIONKEY to your generated VersionKey
// Linux: gcc -std=gnu99 -O3 -fopenmp -march=native -o rdbruteforcekeygen rdbruteforcekeygen.c
// Windows: test with VC++2008/2010?
#define VERSIONKEY 0xCE9190D8;
#include <stdio.h>
#ifdef _MSC_VER
View SEGAROMHeader.java
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package ve.net.tsdx.gs.mdrom;
import java.nio.charset.Charset;
import java.util.*;
import ve.net.tsdx.gs.*;
import ve.net.tsdx.gs.locale.*;
@dilworks
dilworks / testfixspaces.sh
Created Mar 29, 2015
Worst spaces-in-paths workaround for Steam/primusrun ever
View testfixspaces.sh
#!/bin/bash
echo "CMD: $@"
echo "ARGS: $#"
BASEPATH=""
if [ -f "$1" ]
then
echo "Valid at 1"
BASEPATH=$1
View gist:16f341f69f6ecad96385
tomman@tomman-lp-c2:/tmp$ ./locale-check
* Parent: 1918 mate-panel
* Terminal: 3259 xterm
* Shell: 3269 bash
Looks good. ♥
* You are using the es_VE.UTF-8 locale.
* Shell's locale matches terminal's locale.
* Terminal's locale matches parent process locale.
View CB68K_BV2XX.bex
'CrazyBus - Venezuelan bus racing/RPG "experiment"
'ONLY FOR SEGA(tm) Genesis(tm)/MegaDrive(tm)
'Codigo en dominio publico o WTFPL, elije tu licencia :)
'===========BEX 1.37 o superior es requerido para compilar esto=========
'cb68k v2.00-branch (Momohime) 18/03/2010
'core 2 - BEX sub/func build
'
'ROADMAP:
'========
'1.xx (noname - 29/10/2005): Ancient codebase
@dilworks
dilworks / waveform_dw_runtest.log
Created Jan 15, 2013
Waveform crash backtraces under Debian Wheezy
View waveform_dw_runtest.log
Starting program: /home/tomman/.local/share/Steam/SteamApps/common/Waveform/x86/waveform.x86
warning: Unable to find libthread_db matching inferior's thread library, thread debugging will not be available.
Setting breakpad minidump AppID = 204180
Steam_SetMinidumpSteamID: Caching Steam ID: 76561198072836430 [API loaded no]
[S_API WARN] CUserRemoteStorage::GetSyncPlatforms( (null) ) file not found
Couldn't find XDG_DATA_HOME.
Fall back to hardcoded ~/.local/share/.
[New LWP 5107]
Received user stats and achievements from Steam
You can’t perform that action at this time.