Skip to content
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

Using in 2023 #5

Open
gingerbeardman opened this issue Jun 3, 2023 · 3 comments · Fixed by #6
Open

Using in 2023 #5

gingerbeardman opened this issue Jun 3, 2023 · 3 comments · Fixed by #6
Labels
bug Something isn't working

Comments

@gingerbeardman
Copy link

gingerbeardman commented Jun 3, 2023

In light of there being no binary download that I can see, I tried building using gcc on macOS 12.6.6

$ cd gcc
$ make
gcc -Wall   -c -o ../src/helpdeco.o ../src/helpdeco.c
In file included from ../src/helpdeco.c:25:
../src/helpdeco.h:26:10: fatal error: 'malloc.h' file not found
#include <malloc.h>
         ^~~~~~~~~~
1 error generated.
make: *** [../src/helpdeco.o] Error 1

I can resolve that with:

#if defined(__MACH__)
  #include <stdlib.h>
#else 
  #include <malloc.h>
#endif  

But further issues appear.

@pmachapman pmachapman linked a pull request Jun 4, 2023 that will close this issue
@pmachapman
Copy link
Owner

I have updated helpdeco to build on macOS in Xcode or via the command line using GCC or Clang.

I have successfully built and run helpdeco on OS X El Capitan 10.11.6.

@gingerbeardman
Copy link
Author

gingerbeardman commented Jun 5, 2023

Many thanks!

Sadly I had no luck getting sensible results decompiling the HLP file I have, which is in Japanese. It looks like the text encoding is not considered?

THEWALLJ.HLP.zip

@pmachapman pmachapman reopened this Jun 17, 2023
@pmachapman pmachapman added the bug Something isn't working label Aug 28, 2023
@gingerbeardman
Copy link
Author

FWIW I was able to extract the contents of a CHM using 7z. Sadly no joy with HLP files.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants