Tag Info

New answers tagged

1

All you need (including compilers) comes in that NetBeans IDE package. You should probably read this guide which will show you how to create a new project and run code: C/C++ Projects Quick Start Tutorial In NetBeans IDE press F1 for more documentation.


0

copy the source file to a directory where you have write permissions (so that the compiler is able to create the executable) e.g. mkdir ~/src && cd ~/src cp /usr/share/doc/libcurl4-doc/examples/ftpget.c ./ compile and link the file using gcc gcc -Wall -o ftpget ftpget.c -lcurl This will create an executable called ftpget which you should be ...


0

ifortran is not for free. I think gfortran is going to do the job. I never faced such problems with gfortran. Just make sure that gcc and gfortran are up-to-date: gcc --version gfortran --version


1

Create a Makefile. As your project might grow larger, your bash alias will most likely not always cover what you need and you might have to call it multiple times to get everything compiled. When your Makefile is up-to-date, all you have to type is make to build your whole project. See http://www.cs.colby.edu/maxwell/courses/tutorials/maketutor/.


-1

Run: make clean && make mrproper and try it again.



Top 50 recent answers are included