Ungayifaka kanjani i-Openframeworks 0.8 kuFedora 20

of Fedora

I-OpenFrameworks isethi yomthombo ovulekile ihlelwe, ibhalwe nge- C ++, egxile ekuthuthukiseni imidwebo. Ivumela abaklami nabahleli bohlelo ukuthuthukisa izinhlelo zokusebenza ezisebenzisanayo ngendlela elula nangaphandle kokuba nolwazi oluthuthukile.

KWE-0.8 x32
KWE-0.8 x64

Lapho uzama ukufaka OF en Fedora umuntu angathi, "Vele ulande, uhlanganise, futhi uqede ibhizinisi" Kulula kanjalo! Kepha hhayi ngaso sonke isikhathi konke kunjengoba kufanele, kwesinye isikhathi okuthile kwehluleka, kwesinye isikhathi noma ngubani ophumelela umklomelo weNobel Peace Prize uthi ukuthula akukhona ukungabi khona kwempi, kwesinye isikhathi akulona nje usuku oluhle. Yebo lolu ngolunye lwalezo zinsuku, siyakuhalalisela!

Ukufakwa kwangaphambili

  • Yiba namathuluzi wokuhlanganisa. I-Fedora 20 Ibaletha ngokuzenzakalela, okungenani kimi, kepha bangafakwa kukhonsoli ngale ndlela elandelayo:[mujuanp@desdelinux ~]$ su
    sizocelwa iphasiwedi yomlawuli
    [mujuanp@desdelinux ~]# yum -y install kernel-headers
    [mujuanp@desdelinux ~]# yum -y install kernel-devel
    Okulandelayo kuphela uma uneKernel «PAE»
    [mujuanp@desdelinux ~]# yum -y install kernel-PAE-devel
    [mujuanp@desdelinux ~]# yum -y groupinstall "Development Tools"
    [mujuanp@desdelinux ~]# yum -y groupinstall "Development Libraries"
  • Yiba Ukuhlanganiswa kwe-RPM
    [mujuanp@desdelinux ~]# yum -y localinstall --nogpgcheck http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-20.noarch.rpm http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-20.noarch.rpm
  • faka Ama-Codeblocks, lesi sinyathelo siyakhethwa ngoba ngokuhamba kwesikhathi siyabona ukuthi singasifaka kanjani ngombhalo ngaphakathi kufolda OF
    [mujuanp@desdelinux ~]# yum -y install codeblocks
    Ilungile! sesivele sinakho okudingekayo ukufaka OF

 

Ukufakwa

  • Manje siya enkombeni lapho silanda khona I-Openframeworks, Uyiqagele! kuyadingeka ukuyivula kuziphu, kulokhu ikufolda yomuntu siqu.
    [mujuanp@desdelinux ~]# tar xvf of_v0.8.0_linux64_release.tar.gz
  • Lapho lokhu sekwenziwe siya kufolda equkethe imibhalo ku- Fedora "Of_v0.8.0_linux64_release / scripts / linux / fedora"
    [mujuanp@desdelinux ~]# cd of_v0.8.0_linux64_release/scripts/linux/fedora
  • Okwalabo abathathe isinqumo sokungafaki AmaCodebloks ngaphambi Manje yisikhathi!
    [mujuanp@desdelinux fedora]# ./install_codeblocks
  • Ngenxa yephutha elinamagama wamaphakeji kuzofanela siguqule okuqukethwe kwefayela le-install_dependencies.sh lokhu. Sivula ifayili nge-vi, susa konke bese sikopisha okuqukethwe okushiwo.
    [mujuanp@desdelinux fedora]# vi install_dependencies.sh
  • Yebo manje! Ake siqalise iskripthi
    [mujuanp@desdelinux fedora]# ./install_dependencies.sh
    Ukusekelwa kwe- mp3? ayikho inkinga!
    [mujuanp@desdelinux fedora]# ./install_codecs.sh
  • Ngemuva kwalokhu siqhubeka nokuhlanganisa I-Openframeworks, sibuyela emuva kufolda «of_v0.8.0_linux64_release / scripts / linux /»
    [mujuanp@desdelinux fedora]# cd ../
    [mujuanp@desdelinux linux]# ./compileOF.sh
  • Manje udinga nje ukuhlanganisa ifayela le- Umakhi weProjekthi!
    [mujuanp@desdelinux linux]# ./compilePG.sh
    Yebo kube nenkinga yokuhlanganisa i- Umakhi weProjekthi okufana nalokhu:
    / usr / bin / ld: ayikwazi ukuthola -lXrandr.so -Xi.so
    iqoqo2: ld ibuyise isimo sokuphuma esingu-1
    Le nkinga ibangelwa, futhi, inkinga yamagama. esizokwenza kuzokwenza ikhophi lamafayela athintekile bese siwaqamba kabusha kulawo akhonjisiwe.
    nge-x64
    [mujuanp@desdelinux linux]# cd /usr/lib64
    nge-x32
    [mujuanp@desdelinux linux]# cd /usr/lib
    Uma silapha sibheka igama lamafayela.
    [mujuanp@desdelinux lib64]# ls
    Endabeni yami amagama yi: libXrandr.so.2.2.0 ne-libXi.so.6.1.0
    [mujuanp@desdelinux lib64]# cp libXi.so.6.1.0 libXi.so
    [mujuanp@desdelinux lib64]# cp libXrandr.so.2.2.0 libXrandr.so
    Lokhu kufanele kube ngokwanele ukuhlanganisa kahle i- Umakhi weProjekthi
    [mujuanp@desdelinux lib64]# cd /directorio/de/descarga/of_v0.8.0_linux64_release/scripts/linux/
    [mujuanp@desdelinux linux]# ./compilePG.sh
    Konke sekumi ngomumo, singakusebenzisa I-Openframeworks bakithi I-Fedora 20!

Okuqukethwe yi-athikili kunamathela ezimisweni zethu ze izimiso zokuhlelela. Ukubika iphutha chofoza lapha.

Yiba ngowokuqala ukuphawula

Shiya umbono wakho

Ikheli lakho le ngeke ishicilelwe. Ezidingekayo ibhalwe nge *

*

*

  1. Ubhekele imininingwane: Miguel Ángel Gatón
  2. Inhloso yedatha: Lawula Ugaxekile, ukuphathwa kwamazwana.
  3. Ukusemthethweni: Imvume yakho
  4. Ukuxhumana kwemininingwane: Imininingwane ngeke idluliselwe kubantu besithathu ngaphandle kwesibopho esisemthethweni.
  5. Isitoreji sedatha: Idatabase ebanjwe yi-Occentus Networks (EU)
  6. Amalungelo: Nganoma yisiphi isikhathi ungakhawulela, uthole futhi ususe imininingwane yakho.