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

Can't compile #1

Open
kc01-8 opened this issue Mar 3, 2022 · 4 comments
Open

Can't compile #1

kc01-8 opened this issue Mar 3, 2022 · 4 comments

Comments

@kc01-8
Copy link

kc01-8 commented Mar 3, 2022

When I try to use run.sh, this happens:
image
And when I try to run the code manually from source folder, it doesn't work either.
image

@mnmustafa1109
Copy link
Owner

The first issue is resolved. You dont need to do cd sources now and can run run.sh from the main root folder. Have you installed ncurses beforehand. Cause this app use ncurses and its a dependency.

@mnmustafa1109 mnmustafa1109 pinned this issue Mar 3, 2022
@kc01-8
Copy link
Author

kc01-8 commented Mar 4, 2022

The first issue is resolved. You dont need to do cd sources now and can run run.sh from the main root folder. Have you installed ncurses beforehand. Cause this app use ncurses and its a dependency.

It isn't because if you look at the screenshot run.sh can't find the files. So i cd'd into sources because of that. I have installed ncurses.

@mnmustafa1109
Copy link
Owner

Well, I updated the run.sh file. It was compiling every .cpp file and combining at one go. Which I read about wasn't a great idea. So now I compile them first and then link them separately. SO can you pls try and compiling it again

@mnmustafa1109
Copy link
Owner

If the problem persists try referring to this forum
undefined reference ncurses

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

2 participants