Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - myk

Pages: 1 ... 28 29 [30]
436
Utilities and 3rd Party Applications / Re: DFHack 0.40.15-r1
« on: November 16, 2014, 12:53:18 am »
I believe that if the layer+biome is sandy, m SOIL will result in a sand tile

437
The problem might be that I run a 32-bit system?
That is what I would suspect.  Try building DwarfTherapist yourself from https://github.com/splintermind/Dwarf-Therapist/commits/DF2014

438
wait, maybe I misunderstood earlier: was the "(" unexpected error from when you run startlnp or from when you run ./DwarfTherapist directly?  If it's from running ./DwarfTherapist, what is the mode of the file and what does 'file DwarfTherapist' output?

@Beautato: Thanks for the new LNP release!

439
I'm also on gentoo, actually.  I solved the png issue by just recompiling libgraphics.so (via this repo ), putting the output libgraphics.so in df_linux/libs, and removing all other lib* files in there.

edit: I should also note that I have a slight patch against that repo to get it to work with how gentoo installs ncurses:

Quote
diff --git a/CMakeLists.txt b/CMakeLists.txt
index ff71ddc..56b4f40 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -12,6 +12,7 @@ endif()
 add_definitions(-Dunix -Dlinux -std=c++11)
 
 find_package(OpenGL REQUIRED)
+set(SDL_BUILDING_LIBRARY TRUE)
 find_package(SDL REQUIRED)
 find_package(SDL_image REQUIRED)
 find_package(SDL_ttf REQUIRED)
@@ -58,7 +59,7 @@ include_directories(
     ${GLEW_INCLUDE_DIRS}
     ${FREETYPE_INCLUDE_DIRS}
     ${X11_INCLUDE_DIR}
-    ${CURSES_INCLUDE_DIR}
+    /usr/include/ncursesw
 )
 
 add_library(graphics SHARED ${SOURCES})

440
n/p : )  yeah, I was in the same boat.

@Beau: I noticed that LNP/graphics/[16x16] Mayday v0.40.08/data/init/d_init.txt is missing the line:
Quote
[STRICT_POPULATION_CAP:220]
which causes forts to not ever get any migrants when using that graphics set

Edit: I see LNP 0.40.09 has it fixed.  Nevermind!

441
DT:DF2014 just merged my qt4-compat branch, so DT should be compilable now on machines that don't have qt5.

442
does the error message change?  what is the output when you try to run the DwarfTherapist binary directly?  e.g.:
Code: [Select]
cd LNP/utilities/dwarf_therapist
./DwarfTherapist

443
If you are getting complaints about "(", it's not a java problem.  I suspect you just have a *really* old version of your shell which can't interpret the "new", preferred $(...) syntax:
Quote
dt_capabilities=$(/sbin/getcap LNP/utilities/dwarf_therapist/DwarfTherapist | cut -f2 -d"=")
Try changing that line in startlnp to:
Quote
dt_capabilities=`/sbin/getcap LNP/utilities/dwarf_therapist/DwarfTherapist | cut -f2 -d"="`
(those are backticks -- from the key that also produces "~").

I couldn't find exactly how old your shell has to be to not support $(...), but this page says:
Quote
`...` is the legacy syntax required by only the very oldest of non-POSIX-compatible bourne-shells.

444
I'm not sure if this is desired, but I've had trouble getting qt5 to work properly, so I've been maintaining a qt4-compatible fork of Dwarf Therapist at

https://github.com/myk002/Dwarf-Therapist/tree/qt4-compat
git@github.com:myk002/Dwarf-Therapist.git branch:qt4-compat

I pull from https://github.com/splintermind/Dwarf-Therapist/tree/DF2014 regularly, so it works with 0.40.08.


I submitted the code as pull request to Dwarf Therapist upstream.  If it gets included, LNP can go back to compiling Dwarf Therapist on the fly instead of having to include a pre-built version!

Pages: 1 ... 28 29 [30]