Kompilacja programu RME - fatal error: GL/glu.h: Nie ma takiego pliku ani katalogu

Tutaj można zadać pytanie, jeśli Linuksa widzi się pierwszy raz w życiu ;)
nexxx
Piegowaty Guziec
Piegowaty Guziec
Posty: 2
Rejestracja: 16 mar 2015, 13:30
Płeć: Mężczyzna
Wersja Ubuntu: 14.04
Architektura: x86

Kompilacja programu RME - fatal error: GL/glu.h: Nie ma takiego pliku ani katalogu

Post autor: nexxx »

Mam problem z kompilowaniem programu. Orientuje się ktoś jak to naprawić?

Kod: Zaznacz cały

/Pobrane/rme-master/build$ make -j `nproc`
[  1%] [  2%] Building CXX object CMakeFiles/rme.dir/source/about_window.cpp.o
Building CXX object CMakeFiles/rme.dir/source/action.cpp.o
In file included from /usr/include/wx-2.8/wx/glcanvas.h:54:0,
                 from /home/bmw/Pobrane/rme-master/source/main.h:66,
                 from /home/bmw/Pobrane/rme-master/source/action.cpp:20:
/usr/include/wx-2.8/wx/gtk/glcanvas.h:21:20: fatal error: GL/glu.h: Nie ma takiego pliku ani katalogu
 #include <GL/glu.h>
                    ^
compilation terminated.
In file included from /usr/include/wx-2.8/wx/glcanvas.h:54:0,
                 from /home/bmw/Pobrane/rme-master/source/main.h:66,
                 from /home/bmw/Pobrane/rme-master/source/about_window.cpp:20:
/usr/include/wx-2.8/wx/gtk/glcanvas.h:21:20: fatal error: GL/glu.h: Nie ma takiego pliku ani katalogu
 #include <GL/glu.h>
                    ^
compilation terminated.
make[2]: *** [CMakeFiles/rme.dir/source/action.cpp.o] Błąd 1
make[2]: *** Oczekiwanie na niezakończone zadania....
make[2]: *** [CMakeFiles/rme.dir/source/about_window.cpp.o] Błąd 1
make[1]: *** [CMakeFiles/rme.dir/all] Błąd 2
make: *** [all] Błąd 2
Ostatnio zmieniony 17 mar 2015, 08:06 przez igotit4free, łącznie zmieniany 2 razy.
Powód: Poprawiłem temat.
Awatar użytkownika
sir_lucjan
Serdeczny Borsuk
Serdeczny Borsuk
Posty: 207
Rejestracja: 24 wrz 2009, 11:25
Płeć: Mężczyzna
Wersja Ubuntu: inny OS
Środowisko graficzne: Inne
Architektura: x86_64
Kontakt:

Re: Problem z kompilacją

Post autor: sir_lucjan »

Zobacz czy masz:

Kod: Zaznacz cały

apt-cache policy libglu1-mesa
Dell Inspiron 15-3542 (3542-2538) || Linux Register User: #536661
Inny OS = Arch Linux
Inne środowisko = Plasma 5
nexxx
Piegowaty Guziec
Piegowaty Guziec
Posty: 2
Rejestracja: 16 mar 2015, 13:30
Płeć: Mężczyzna
Wersja Ubuntu: 14.04
Architektura: x86

Re: Problem z kompilacją

Post autor: nexxx »

Kod: Zaznacz cały

libglu1-mesa:
  Zainstalowana: 9.0.0-2
  Kandydująca:   9.0.0-2
  Tabela wersji:
 *** 9.0.0-2 0
        500 http://pl.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
        100 /var/lib/dpkg/status
bmw@bmw-K50IJ:~$ 
-- 16 mar 2015, o 23:51 --

Trochę pogrzebałem i teraz jest taki błąd:

Kod: Zaznacz cały

bmw@bmw-K50IJ:~/Pobrane/rme-master/build$ make -j `nproc`
Scanning dependencies of target rme
[  1%] [  2%] Building CXX object CMakeFiles/rme.dir/source/action.cpp.o
Building CXX object CMakeFiles/rme.dir/source/about_window.cpp.o
In file included from /home/bmw/Pobrane/rme-master/source/about_window.cpp:22:0:
/home/bmw/Pobrane/rme-master/source/gui.h:406:2: error: ‘wxGenericProgressDialog’ does not name a type
  wxGenericProgressDialog* progressBar;
  ^
In file included from /home/bmw/Pobrane/rme-master/source/action.cpp:26:0:
/home/bmw/Pobrane/rme-master/source/gui.h:406:2: error: ‘wxGenericProgressDialog’ does not name a type
  wxGenericProgressDialog* progressBar;
  ^
/home/bmw/Pobrane/rme-master/source/about_window.cpp: In constructor ‘AboutWindow::AboutWindow(wxWindow*)’:
/home/bmw/Pobrane/rme-master/source/about_window.cpp:191:34: error: ambiguous overload for ‘operator<<’ (operand types are ‘wxString’ and ‘const char [22]’)
  about << wxT("Compiled with: ") << BOOST_COMPILER << wxT("\n");
                                  ^
/home/bmw/Pobrane/rme-master/source/about_window.cpp:191:34: note: candidates are:
In file included from /usr/include/wx-2.8/wx/memory.h:16:0,
                 from /usr/include/wx-2.8/wx/object.h:20,
                 from /usr/include/wx-2.8/wx/wx.h:16,
                 from /home/bmw/Pobrane/rme-master/source/main.h:61,
                 from /home/bmw/Pobrane/rme-master/source/about_window.cpp:20:
/usr/include/wx-2.8/wx/string.h:992:13: note: wxString& wxString::operator<<(const wxString&) <near match>
   wxString& operator<<(const wxString& s)
             ^
/usr/include/wx-2.8/wx/string.h:992:13: note:   no known conversion for argument 1 from ‘const char [22]’ to ‘const wxString&’
/usr/include/wx-2.8/wx/string.h:1006:13: note: wxString& wxString::operator<<(wxChar) <near match>
   wxString& operator<<(wxChar ch) { append(1, ch); return *this; }
             ^
/usr/include/wx-2.8/wx/string.h:1006:13: note:   no known conversion for argument 1 from ‘const char [22]’ to ‘wxChar {aka wchar_t}’
/usr/include/wx-2.8/wx/string.h:1010:13: note: wxString& wxString::operator<<(const wxWCharBuffer&) <near match>
   wxString& operator<<(const wxWCharBuffer& s)
             ^
/usr/include/wx-2.8/wx/string.h:1010:13: note:   no known conversion for argument 1 from ‘const char [22]’ to ‘const wxWCharBuffer&’
/usr/include/wx-2.8/wx/string.h:1060:13: note: wxString& wxString::operator<<(int) <near match>
   wxString& operator<<(int i)
             ^
/usr/include/wx-2.8/wx/string.h:1060:13: note:   no known conversion for argument 1 from ‘const char [22]’ to ‘int’
/usr/include/wx-2.8/wx/string.h:1063:13: note: wxString& wxString::operator<<(unsigned int) <near match>
   wxString& operator<<(unsigned int ui)
             ^
/usr/include/wx-2.8/wx/string.h:1063:13: note:   no known conversion for argument 1 from ‘const char [22]’ to ‘unsigned int’
/usr/include/wx-2.8/wx/string.h:1066:13: note: wxString& wxString::operator<<(long int) <near match>
   wxString& operator<<(long l)
             ^
/usr/include/wx-2.8/wx/string.h:1066:13: note:   no known conversion for argument 1 from ‘const char [22]’ to ‘long int’
/usr/include/wx-2.8/wx/string.h:1069:13: note: wxString& wxString::operator<<(long unsigned int) <near match>
   wxString& operator<<(unsigned long ul)
             ^
/usr/include/wx-2.8/wx/string.h:1069:13: note:   no known conversion for argument 1 from ‘const char [22]’ to ‘long unsigned int’
/usr/include/wx-2.8/wx/string.h:1073:13: note: wxString& wxString::operator<<(long long int) <near match>
   wxString& operator<<(wxLongLong_t ll)
             ^
/usr/include/wx-2.8/wx/string.h:1073:13: note:   no known conversion for argument 1 from ‘const char [22]’ to ‘long long int’
/usr/include/wx-2.8/wx/string.h:1079:13: note: wxString& wxString::operator<<(long long unsigned int) <near match>
   wxString& operator<<(wxULongLong_t ull)
             ^
/usr/include/wx-2.8/wx/string.h:1079:13: note:   no known conversion for argument 1 from ‘const char [22]’ to ‘long long unsigned int’
make[2]: *** [CMakeFiles/rme.dir/source/about_window.cpp.o] Błąd 1
make[2]: *** Oczekiwanie na niezakończone zadania....
make[2]: *** [CMakeFiles/rme.dir/source/action.cpp.o] Błąd 1
make[1]: *** [CMakeFiles/rme.dir/all] Błąd 2
make: *** [all] Błąd 2
Awatar użytkownika
sir_lucjan
Serdeczny Borsuk
Serdeczny Borsuk
Posty: 207
Rejestracja: 24 wrz 2009, 11:25
Płeć: Mężczyzna
Wersja Ubuntu: inny OS
Środowisko graficzne: Inne
Architektura: x86_64
Kontakt:

Re: Kompilacja programu RME - fatal error: GL/glu.h: Nie ma takiego pliku ani katalogu

Post autor: sir_lucjan »

Podaj pełną nazwę programu z linkiem.
Dell Inspiron 15-3542 (3542-2538) || Linux Register User: #536661
Inny OS = Arch Linux
Inne środowisko = Plasma 5
ODPOWIEDZ

Wróć do „Przedszkole Linuksa”

Kto jest online

Użytkownicy przeglądający to forum: Obecnie na forum nie ma żadnego zarejestrowanego użytkownika i 13 gości