-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to compile with clang on linux #45
Comments
I think I found an error, in ppmdu/pmd2/pmd2.hpp, that is caused because major and minor at the line 61 is interpreted as function. |
patch.txt |
Well, first did you compile the dependencies? Also, this whole thing is probably going to be a pain to compile on clang/gcc as is. |
Good news: I succesfully compiled a lightweight version of statutils, able to extract string (I have a problem with locale, thrught, so I sypply deleted them where they where useless. Also, there are strange thing like in the text, but that is probably because du to the locale removal). I've manually writed a Makefile for this, and I let my distro compile the dependancy. (I now need to clear some ugly hack. I just thing that VisualStudio only compiled needed function, while gcc compile the full c++ file. So some function that isn't parsable doesn't compile. |
Its possible the locale names are wrong for linux. I used a refernce to see how they were called on other OSes. |
I'm sorry to necro this issue, but I have just come across this tool, which comprises the only implementation for an SWDL file decoder that I know of, and I am in dire need of that (for reverse-engineering Professor Layton games, some of which also use the SWDL format). |
So... I’m not sure why I needed to compile it, but I didn’t use it anymore (and instead use SkyTemple). I rewrote the part what most interested me in Rust. However, if you are interested, I think that Capypara, Irdkwia and Adex worked on this file format. I think Capy shared some python script, that I didn’t took a look at. |
Thank you very much for this lead ! I'll be sure to contact the people you mentioned. |
Hello. I actually tried to compile a single file on linux, with clang, not using the solution.
I've made a virtual environnment with
nix-shell -p pugixml -p poco -p clang --command "clang++ statsutil.cpp -I ."
It fail, with multiple errors. (clang 7.1.0)
Do you thing you can help me to find what doesn't work/correct the code. I've just a basic knowledge of c++, but I'll try to find what doesn't work.
error.txt
The text was updated successfully, but these errors were encountered: