Pardus-Linux.Org - Comments for "Eclipse (launch failed. binary not found hatası)" http://www.pardus-linux.org/forum/yaz%C4%B1l%C4%B1m/eclipse-launch-failed-binary-not-found-hatas%C4%B1 Comments for "Eclipse (launch failed. binary not found hatası)"trCevap: Eclipse (launch failed. binary not found hatası) http://www.pardus-linux.org/forum/yaz%C4%B1l%C4%B1m/eclipse-launch-failed-binary-not-found-hatas%C4%B1#comment-138902 <p>Alakanıza teşekkür ederim güncellediğiniz kod için şöyle bir hata aldım eclipsede "Program file not specified "</p> <p>tabi bu hatayı almadan önce buradaki arkadaşın aklına uydum.</p> <p><span class="geshifilter"><code class="text geshifilter-text">http://stackoverflow.com/questions/1668447/launch-failed-binary-not-found-snow-leopard-and-eclipse-c-c-ide-issue</code></span> </p> Wed, 09 Nov 2011 00:40:19 +0000napstercomment 138902 at http://www.pardus-linux.orgCevap: Eclipse (launch failed. binary not found hatası) http://www.pardus-linux.org/forum/yaz%C4%B1l%C4%B1m/eclipse-launch-failed-binary-not-found-hatas%C4%B1#comment-138899 <p>Öncelikle çok tşk ediyorum resime bakarak programı tekrar yazdığınız için. Önce build etmeme rağmen o hatayı veriyordu. Codeblocks kurdum eclipse ile daha sonra ilgileneceğim.</p> <p><span style="text-decoration: underline;">güncellediğiniz kod için şöyle bir hata aldım eclipsede "Program file not specified "</span></p> <p>&nbsp;</p> <p>Asıl sorunum&nbsp;</p> <p><strong>Problem:</strong></p> <p>&nbsp;</p> <p>Problem, bir program içinde belli bir aralıkta yaratılan rastgele tam listelerindeki tam sayı frekanslarının çoklu işlem (multiple processes) paralel olarak hesaplanmasıdır. Örneğin 0-9 aralığında yaratılan bir rastgele sayı listesi 2, 1, 6, 9, 1, 1, 0, 7, 9, 5, 4, 9 ise, bu sayı aralığındaki frekanslar da buradaki gibi olur: f0=1, f1=3, f2=1, f3=0, f4=1, f5=1, f6=1, f7=1, f8=0, f9=3. Bunun için bir ebeveyn ve iki çocuk (toplamda üç) işlem kullanılacak.</p> <p>&nbsp;</p> <p><strong>Program için Spesifikasyonlar:</strong></p> <ul> <li>Ana program (C de “main”) bir ebeveyn işlemle (process) başlayacaktır.</li> <li>Ebeveyn işlem bundan sonra yaratacağı iki çocuktan her biri ile iletişim için “pipe” sistem fonksiyonu kullanılarak birer “pipe” (boru) yaratır.</li> <li>Ebeveyn, bundan sonra iki çocuk işlem yaratır.</li> <li>Her çocuk kendine ait olmayan ve kendinin kullanmayacağı “pipe” girdi çıktılarını (I/O) kapatır.</li> <li>Ebeveyn kullanıcıdan uygun bir mesajla rastgele sayı listesinin sayı aralığını ve yaratılacak listenin büyüklüğünü girmesini ister, örneğin 0 (alt sınır) 9(üst sınır) 12 liste büyüklüğü gibi.</li> <li>Ebeveyn kullanıcıdan aldığı sayı aralığını ve liste büyüklüğünü çocuk işlemlere iletir.</li> <li>İletişimden sonra ebeveyn ve çocuk işlemler, her biri verilen aralıkta ve büyüklükte birer rastgele sayı listesi yaratarak sayı frekanslarını hesaplar. Not: yaratılan listenin bellekte tutulmasına gerek yoktur. Rastgele sayı yaratmak için rand() fonksiyonunu kullanmanız mümkün.</li> </ul> <p>&nbsp;</p> Wed, 09 Nov 2011 00:32:10 +0000napstercomment 138899 at http://www.pardus-linux.orgCevap: Eclipse (launch failed. binary not found hatası) http://www.pardus-linux.org/forum/yaz%C4%B1l%C4%B1m/eclipse-launch-failed-binary-not-found-hatas%C4%B1#comment-138901 <p> Yazmak istediğiniz şey, benim bilgim dışında. Dilerseniz ayrı bir başlık altında, bu konu hakkında yardım isteyebilirsiniz. </p> Wed, 09 Nov 2011 00:23:57 +0000baDiberecomment 138901 at http://www.pardus-linux.orgCevap: Eclipse (launch failed. binary not found hatası) http://www.pardus-linux.org/forum/yaz%C4%B1l%C4%B1m/eclipse-launch-failed-binary-not-found-hatas%C4%B1#comment-138893 <p>Aslında Eclipse'i ve Eclipse-cdt paketini Pardus depolarından kurduysanız, başka bir işlem yapmanıza gerek kalmaması gerek. Kodunuzu aşağıdaki gibi güncelledikten sonra herhangi bir sorun yaşamadan inşa edebiliyorum:</p> <div class="geshifilter"> <div class="text geshifilter-text" style="font-family:monospace;">#include &lt;sys/types.h&gt;<br /> #include &lt;stdio.h&gt;<br /> #include &lt;unistd.h&gt;<br /> #include &lt;stdlib.h&gt;</p> <p>int main()<br /> {<br /> &nbsp; &nbsp; &nbsp; &nbsp; pid_t pid;<br /> &nbsp; &nbsp; &nbsp; &nbsp; int mypipe[2];<br /> &nbsp; &nbsp; &nbsp; &nbsp; char buffer[100];<br /> &nbsp; &nbsp; &nbsp; &nbsp; <br /> &nbsp; &nbsp; &nbsp; &nbsp; if (pipe(mypipe)){<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; fprintf(stderr, &quot;pipe oluştururken hata&quot;);<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; return 1;<br /> &nbsp; &nbsp; &nbsp; &nbsp; }<br /> &nbsp; &nbsp; &nbsp; &nbsp; <br /> &nbsp; &nbsp; &nbsp; &nbsp; pid = fork();<br /> &nbsp; &nbsp; &nbsp; &nbsp; if (pid==(pid_t) 0){<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; read(mypipe[0],buffer,100);<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; printf(&quot;%s &quot;, buffer);<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; return 1;<br /> &nbsp; &nbsp; &nbsp; &nbsp; }else if (pid &lt; (pid_t) 0){<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; fprintf(stderr, &quot;fork yaparken hata&quot;);<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; return 1;<br /> &nbsp; &nbsp; &nbsp; &nbsp; }else{<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; write(mypipe[1], &quot;hello world&quot;, 13);<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; return 1;<br /> &nbsp; &nbsp; &nbsp; &nbsp; }<br /> }</div> </div> <p>Acaba önce Project > Build All demeden başka birşey mi yapmaya çalışıyorsunuz? </p> Tue, 08 Nov 2011 22:20:57 +0000baDiberecomment 138893 at http://www.pardus-linux.orgCevap: Eclipse (launch failed. binary not found hatası) http://www.pardus-linux.org/forum/yaz%C4%B1l%C4%B1m/eclipse-launch-failed-binary-not-found-hatas%C4%B1#comment-138887 <p> hem pardus'a hem eclipseye yabancıyım nerden bakabilirim buna </p> Tue, 08 Nov 2011 13:30:49 +0000napstercomment 138887 at http://www.pardus-linux.orgCevap: Eclipse (launch failed. binary not found hatası) http://www.pardus-linux.org/forum/yaz%C4%B1l%C4%B1m/eclipse-launch-failed-binary-not-found-hatas%C4%B1#comment-138886 <p> Eclipse ayarlarında, C/C++ derlemek için derleyici olarak ne gözüküyor? </p> Tue, 08 Nov 2011 13:20:55 +0000baDiberecomment 138886 at http://www.pardus-linux.org