-
Notifications
You must be signed in to change notification settings - Fork 1
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
Errors while compiling hite.c file #2
Comments
Hi Priyash, Sorry to hear this code gave you some trouble. Can you say a little bit more about how you compiled it? Which OS? I just recloned and ran:
and it worked fine for me. |
I'm using CodeBlocks (https://www.codeblocks.org/) on windows 10 for compilation. |
Hello Prof. the command "gcc -o hite hite.c -lm" works fine, but hite earth.in gives an error stating "Command 'hite' not found", seems like hite is been treated as linux command PS: I am using Linux Mint |
Did you try
? I haven't used Mint before, but maybe it requires being very clear about the path? |
Hello sir, when i run 'hite earth.in" i got some problem like "ERROR: Expected option NumPlanets, found option α↕@. |
It's not obvious to me what the issue is from your comment. The first option in earth.in is NumPlanets, so I don't know why it would be reporting an error on line 66. Did you modify earth.in in some way? Does running 'hite kepler452b.in' produce a similar error? |
Yes, running hite kepler452b.in
Please tell me if i forget some step to use your code, i hope you can help me for this problem, thankyou before Best regard |
For note, i use originaly file from your file .tar |
It looks like you're running from a Windows prompt, which is something I haven't tried before. For scientific computing I strongly recommend using the freely available Windows Subsystem for Linux. From there, you may need to install gcc. Once you've confirmed gcc is installed, the commands should be
(I think.) Let me know if that works for you and if so, I will update the README. Thanks for your interest in this code! |
I was trying to run hite.c file in compiler (CodeBlocks, OS: Windows 10), and while compiling I received this error. Can someone please check this out:
Note: Already tried changing getline with GetLine, nothing worked.
The text was updated successfully, but these errors were encountered: