Problem launch failed binary not found [message #856245] |
Wed, 25 April 2012 13:54 |
portals _ Messages: 2 Registered: April 2012 |
Junior Member |
|
|
Witam
Napisałem prosty program c++ i chciałem go skompilować.
Udało się bez większych problemów, natomiast uruchamianie przez eclispa kończy się tym komunikatem:
Problem launch failed binary not found
Drugi problem jest gdy chcę użyć biblioteki plplot występuję problem podczas linkowania
**** Build of configuration Debug for project na_matematyke ****
make all
Building file: ../src/main.cpp
Invoking: GCC C++ Compiler
g++ -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"src/main.d" -MT"src/main.d" -o "src/main.o" "../src/main.cpp"
Finished building: ../src/main.cpp
Building target: na_matematyke
Invoking: GCC C++ Linker
g++ -o "na_matematyke" ./src/main.o ./src/main_i.o
./src/main.o: In function `plot(double, double, double, double, int)':
/home/piotrek/workspace/na_matematyke/Debug/../src/main.cpp:10: undefined reference to `c_plinit'
/home/piotrek/workspace/na_matematyke/Debug/../src/main.cpp:11: undefined reference to `c_plenv'
/home/piotrek/workspace/na_matematyke/Debug/../src/main.cpp:12: undefined reference to `c_plpoin'
/home/piotrek/workspace/na_matematyke/Debug/../src/main.cpp:13: undefined reference to `c_plend'
collect2: error: ld returned 1 exit status
make: *** [na_matematyke] Błąd 1
**** Build Finished ****
Z konsoli kompiluję: g++ -O2 `pkg-config --cflags --libs plplotd` test.cc -o prog
Używam fedory 17 jednak na 16 jest to samo.
Proszę o pomoc w rozwiązaniu problemu, czytam dużo dobrych komentarzy na temat eclipse choć ilość opcji w nim mnie przeraża.
[Updated on: Wed, 25 April 2012 14:19] Report message to a moderator
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.10427 seconds