Do not use [ brackets ] in the command. Try this:
$ gcc helloWorld.c -o helloWorld $(sdl-config --cflags --libs)
я скачал руководство по введению в графическое программирование с помощью SDL, поэтому я попытался скомпилировать свой первый источник, и он записал следующую ошибку
команда для компиляции это была:
$ gcc helloWorld.c [-o helloWorld] $(sdl-config --cflags --libs)
и журнал это:
gcc: error: [-o: No such file or directory gcc: error: helloWorld]: No such file or directory
Do not use [ brackets ] in the command. Try this:
$ gcc helloWorld.c -o helloWorld $(sdl-config --cflags --libs)