File:Syn.c.txt
From 2011.igem.org
(Difference between revisions)
Line 1: | Line 1: | ||
This is C code. It should be renamed to "syn.c", after which it can be compiled as-is to give a working program, e.g. with "gcc syn.c". | This is C code. It should be renamed to "syn.c", after which it can be compiled as-is to give a working program, e.g. with "gcc syn.c". | ||
- | However, if you want a nice (though slow) graphical display, it is necessary to install the SDL 1.2 development libraries ('''libsdl1.2-dev''' in Ubuntu) and use the Makefile available at ''[[:File:Syn-Makefile.txt]]''. | + | However, if you want a nice (though slow) graphical display, it is necessary to install the SDL 1.2 development libraries ('''libsdl1.2-dev''' in Ubuntu) and use the Makefile available at ''[[:File:Syn-Makefile.txt]]''. That file should be renamed "Makefile" and then the project can be compiled with the command "make". |
Revision as of 09:33, 22 August 2011
This is C code. It should be renamed to "syn.c", after which it can be compiled as-is to give a working program, e.g. with "gcc syn.c".
However, if you want a nice (though slow) graphical display, it is necessary to install the SDL 1.2 development libraries (libsdl1.2-dev in Ubuntu) and use the Makefile available at File:Syn-Makefile.txt. That file should be renamed "Makefile" and then the project can be compiled with the command "make".
File history
Click on a date/time to view the file as it appeared at that time.
File links
The following page links to this file: