Yeah, I did the submodule init and update. Here are the commands I ran:
git clone
https://github.com/quietust/dfhack.gitcd dfhack
git submodule init
git submodule update
cd build
cmake .. -DCMAKE_BUILD_TYPE:string=Release -DCMAKE_INSTALL_PREFIX=/home/khearn/Desktop/df_linux_40.10
vi CMakeCache.txt
# Fixed ZLIB_LIBRARY:FILEPATH since cmake always finds the 64-bit library and I have to tell it where the 32-bit one is
make install
Then I go to my df_linux_40.10 directory and there is a shiny new dfhack script. I then remove libs/libstdc++.so.6 and run dfhack.
Looking in hack/symbols.xml, there isn't anything newer than 40.08. The same in my source tree in library/xml/symbols.xml. So I'm evidently not getting the right stuff from github. I was using the "HTTPS clone URL" from
https://github.com/quietust/dfhack/tree/develop so I'd expect that would get me the develop, not the master.
This is why it's not really sufficient to say "just check github forks and compile." I'm a software engineer with about 25 years of experience, most of that doing build/release engineering, so I'm fairly experienced at building stuff from source. And even I'm having trouble with it. It took me a couple of hours to figure out which 32-bit libs I needed and get them all installed so it would build, plus figuring out that cmake was consistently finding the wrong zlib and figuring out how to override that. Heaven help someone with no experience building stuff.
Hmmm, looking on github, I see that library/xml was updated 3 hours ago. I guess I'll try a fresh clone and see if it works any better. The last clone I did was probably shortly before that.
Keith
Edit: Ok, I just discovered that I get the same HTTPS clone URL whether I'm on
https://github.com/quietust/dfhack/tree/develop or
https://github.com/quietust/dfhack/tree/master. So how do I tell git to grab the develop branch, not the master?