-
Notifications
You must be signed in to change notification settings - Fork 82
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
guidelines for installing on Linux #118
Comments
I don't know what "make install" does, which means that you don't need it. Try just "make" or "make 42" from the directory where the makefile is. You should get a command-line executable in the same directory. |
Removed |
Hmm. Your environment is more sophisticated than I am, so I don't know how much help I can be. But if make is generating errors, it might be helpful to see what those errors are. Does /tmp/42_build_output.txt have anything informative in it? |
I just installed and ran 42 on Windows WSL using Ubuntu 22.04 without any issues. The 5/4/23 logs in this issue have expired so I can't view them. I've had this environment setup for C development prior to trying the 42 installation so I can't step you through a clean install. This is the environment I think you need: sudo apt update A build error like "#include <GL/glut.h> not found" indicates a GL installation issue. If you comment out "GUIFLAG = -D ENABLE_GUI" in the Makefile then you should be able to build and run 42 without graphics just to show that everything except the GUI is working correctly. To run 42 enter "./42" You should also issue a "make clean" before you re-building after an erroneous build. |
Hello! I'm attempting to install 42 from the zip file, 42 20230210.zip downloaded from sourceforge, but have been encountering a non-zero return code while running make 42 && make install for an Ubuntu 22.04 virtual environment. Any ideas as to what could be the problem?
The text was updated successfully, but these errors were encountered: