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

Update README.md (Issue 1037) Additional Windows Guidance #1038

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

EvenBetterClub
Copy link

Additional guidance for getting build to work on Windows

Additional guidance for getting build to work on Windows
@EvenBetterClub EvenBetterClub changed the title Update README.md (Issue 1037) Update README.md (Issue 1037) Additional Windows Guidance Feb 23, 2022
@brainuser5705
Copy link

Thank you for writing up this guide! Really awesome that you did this.

I'm not sure if this is the right place to ask but I followed all your instructions, and I am getting this error:

make[1]: Entering directory 'PROJECT_DIRECTORY'
     gcc c/chunk.c                                -std=c99 -Wall -Wextra -Werror -Wno-unused-parameter -O3 -flto
process_begin: CreateProcess(NULL, gcc -c -std=c99 -Wall -Wextra -Werror -Wno-unused-parameter -O3 -flto -o build/release/clox/chunk.o c/chunk.c, ...) failed.
make (e=2): The system cannot find the file specified.
make[1]: *** [util/c.make:51: build/release/clox/chunk.o] Error 2
make[1]: Leaving directory 'PROJECT_DIRECTORY'
make: *** [Makefile:66: clox] Error 2

Have you encountered this error or have any idea on how to fix this?

@EvenBetterClub
Copy link
Author

Thank you for writing up this guide! Really awesome that you did this.

I'm not sure if this is the right place to ask but I followed all your instructions, and I am getting this error:

make[1]: Entering directory 'PROJECT_DIRECTORY'
     gcc c/chunk.c                                -std=c99 -Wall -Wextra -Werror -Wno-unused-parameter -O3 -flto
process_begin: CreateProcess(NULL, gcc -c -std=c99 -Wall -Wextra -Werror -Wno-unused-parameter -O3 -flto -o build/release/clox/chunk.o c/chunk.c, ...) failed.
make (e=2): The system cannot find the file specified.
make[1]: *** [util/c.make:51: build/release/clox/chunk.o] Error 2
make[1]: Leaving directory 'PROJECT_DIRECTORY'
make: *** [Makefile:66: clox] Error 2

Have you encountered this error or have any idea on how to fix this?

Sorry - Haven't used since updated the notes etc - but this "feels wrong"..

Entering directory 'PROJECT_DIRECTORY'

Why would the code say entering directory 'PROJECT_DIRECTORY' ; I would "imagine - I'm not running a build" that it wold go "Entering directory c:'abc'" for example ?! If you could print out the variable or whatever it thinks where you are it might help you figure it out - good hunting

Cheers

@brainuser5705
Copy link

I should have been clearer in my comment. I substituted the actual directory path where I ran make and replaced it with PROJECT_DRIECTORY. I also checked the directory to see if it has chunk.c and it does.

But thanks for the help, I'll try to find out what the issue is.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants