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

CMAKE build on Mac fails, 'string.h' file not found #165

Open
philburk opened this issue Jul 20, 2024 · 0 comments
Open

CMAKE build on Mac fails, 'string.h' file not found #165

philburk opened this issue Jul 20, 2024 · 0 comments
Labels

Comments

@philburk
Copy link
Owner

On Mac, I used the instructions from the README.md:

cmake .
make

EXPECTED it to build.

ACTUAL result was this failure:

Scanning dependencies of target PForth_lib
[  2%] Building C object csrc/CMakeFiles/PForth_lib.dir/pf_cglue.c.o
In file included from /Users/phil/work/pforth/csrc/pf_cglue.c:22:
In file included from /Users/phil/work/pforth/csrc/pf_all.h:48:
/Users/phil/work/pforth/csrc/pf_inc1.h:26:14: fatal error: 'string.h' file not found
    #include <string.h>    /* Needed for strlen(), memcpy(), and memset(). */
             ^~~~~~~~~~
1 error generated.
make[2]: *** [csrc/CMakeFiles/PForth_lib.dir/pf_cglue.c.o] Error 1
make[1]: *** [csrc/CMakeFiles/PForth_lib.dir/all] Error 2
@philburk philburk added the bug label Jan 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant