Skip to content

Instantly share code, notes, and snippets.

View hhirsch's full-sized avatar
💬
Coding

Henry Hirsch hhirsch

💬
Coding
  • Germany
View GitHub Profile
std::map<char, std::pair<int,int> > characterMap = {{'A', std::make_pair(1,1)}, {'B',std::make_pair(1,2)}};
/xxx/c++/glPortal/source/engine/gui/Character.hpp:23:107: error: could not convert ‘{{'A', std::make_pair<int, int>(1, 1)}, {'B', std::make_pair<int, int>(1, 2)}}’ from ‘<brace-enclosed initializer list>’ to ‘std::map<char, std::pair<int, int> >’
make[2]: *** [CMakeFiles/portal.dir/engine/gui/GameScreen.cpp.o] Fehler 1
make[1]: *** [CMakeFiles/portal.dir/all] Fehler 2
PNG to gif
convert %04d.png[0001-0011] animation.gif
==11007== Memcheck, a memory error detector
==11007== Copyright (C) 2002-2011, and GNU GPL'd, by Julian Seward et al.
==11007== Using Valgrind-3.7.0 and LibVEX; rerun with -h for copyright info
==11007== Command: ./source/glportal_d 8080
==11007==
--11007-- WARNING: Serious error when reading debug info
--11007-- When reading debug info from /usr/lib/i386-linux-gnu/nvidia/current/libGL.so.304.88:
--11007-- Can't make sense of .got.plt section mapping
--11007-- WARNING: Serious error when reading debug info
--11007-- When reading debug info from /usr/lib/i386-linux-gnu/libnvidia-glcore.so.304.88:
@hhirsch
hhirsch / gdb bt
Last active August 29, 2015 14:02
$ gdb --args ./source/glportal_d 8080
GNU gdb (GDB) 7.4.1-debian
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 "i486-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
@hhirsch
hhirsch / test.py
Last active August 29, 2015 14:07
import bpy
from bpy.props import *
types = [
("none" ,"None" , "No special property"),
("win" , "Trigger Win" , "Area triggers win"),
("death" , "Trigger Death" , "Area triggers death"),
("radiation" , "Trigger Radiation" , "Area triggers rad"),
("portable" , "Portable" , "Set Wall Portable")
]
My cmake file
https://github.com/GlPortal/travissetup-blows/blob/master/cmake/FindAssimp.cmake
Location of Library and Header
http://packages.ubuntu.com/trusty/amd64/libassimp-dev/filelist
Error Message
https://travis-ci.org/GlPortal/travissetup-blows/jobs/39692488
;; Init file to use with the orgmode plugin.
;; Load org-mode
;; Requires org-mode v8.x
;; Uncomment these lines and change the path to your org source to
;; add use it.
;; (let* ((org-lisp-dir "~/.emacs.d/src/org/lisp"))
;; (when (file-directory-p org-lisp-dir)
;; (add-to-list 'load-path org-lisp-dir)
(setq gnus-select-method
'(nnimap "foo.de"))
(add-to-list 'gnus-secondary-select-methods
'(nntp "bar.org"))
<?php
/**
* Radishok_LazyJs
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/osl-3.0.php
/home/henry/system/projects/c++/glPortal/source/engine/env/Config.cpp: In static member function ‘static void glPortal::Config::load()’:
/home/henry/system/projects/c++/glPortal/source/engine/env/Config.cpp:51:42: error: expected unqualified-id before ‘&’ token
/home/henry/system/projects/c++/glPortal/source/engine/env/Config.cpp:51:42: error: expected ‘)’ before ‘&’ token
/home/henry/system/projects/c++/glPortal/source/engine/env/Config.cpp:51:42: error: expected ‘{’ before ‘&’ token
/home/henry/system/projects/c++/glPortal/source/engine/env/Config.cpp:51:43: error: ‘e’ was not declared in this scope
/home/henry/system/projects/c++/glPortal/source/engine/env/Config.cpp:51:44: error: expected ‘;’ before ‘)’ token
make[3]: *** [source/CMakeFiles/glportal.dir/engine/env/Config.cpp.o] Fehler 1
make[2]: *** [source/CMakeFiles/glportal.dir/all] Fehler 2
make[1]: *** [source/CMakeFiles/run.dir/rule] Fehler 2
make: *** [run] Fehler 2