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

Mysterious error with makefile #153

Closed
ghost opened this issue Feb 14, 2023 · 1 comment
Closed

Mysterious error with makefile #153

ghost opened this issue Feb 14, 2023 · 1 comment

Comments

@ghost
Copy link

ghost commented Feb 14, 2023

Have a look at this makefile:

https://github.com/objeck/objeck-lang/blob/master/core/shared/make/Makefile.msys2-ucrt.amd64

Something really strange happened. The first time you run ./deploy_msys2-ucrt.sh it will present you this error and it will fail to build obc.exe:

cp logger.a ../compiler; cp logger.a ../vm; cp logger.a ../release/WindowsLauncher/AppLauncher
cp: cannot create regular file '../release/WindowsLauncher/AppLauncher': No such file or directory

Seems as simple as you are copying file into an nonexistent directory, isn't it?

But if you run ./deploy_msys2-ucrt.sh the second time, the error will mysteriously disappeared and you have obc.exe build as expected!

objeck added a commit that referenced this issue Feb 14, 2023
@objeck
Copy link
Owner

objeck commented Feb 14, 2023

Should be fixed

@objeck objeck closed this as completed Feb 14, 2023
objeck added a commit that referenced this issue Feb 14, 2023
objeck added a commit that referenced this issue Feb 14, 2023
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

No branches or pull requests

1 participant