Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
wxWidgets problem
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
Gentoopfuscher
n00b
n00b


Joined: 21 Aug 2010
Posts: 59

PostPosted: Sun Jan 20, 2013 8:29 pm    Post subject: wxWidgets problem Reply with quote

Hallo, ich moechte mir 4pane installieren.
http://www.4pane.co.uk/Download.htm
emerge 4pane bringt mir, nach erfolgreichem emerge wxGTK
http://wiki.wxwidgets.org/Installing_and_configuring_under_Gentoo

diesen Fehler
Code:

configure: error:
                           Cannot detect the currently installed wxWidgets port !
                           Check your 'wx-config --cxxflags'...
                         


Code:
g++ `wx-config --cppflags` `wx-config --libs` main.cpp

ergibt mir den Fehler:
Code:
g++: error: main.cpp: No such file or directory


Kann mir jemand weiterhelfen?
Back to top
View user's profile Send private message
bell
Guru
Guru


Joined: 27 Nov 2007
Posts: 508

PostPosted: Mon Jan 21, 2013 8:35 am    Post subject: Reply with quote

Was sagt
Code:
eselect wxwidgets list
? Ggf. setzen.
Back to top
View user's profile Send private message
Gentoopfuscher
n00b
n00b


Joined: 21 Aug 2010
Posts: 59

PostPosted: Mon Jan 21, 2013 6:02 pm    Post subject: Reply with quote

Genau das habe ich ja nach der Anleitung
http://wiki.wxwidgets.org/Installing_and_configuring_under_Gentoo
gemacht und laut eselect.list, auch erfolgreich.
nur das pruefen
Code:
g++ `wx-config --cppflags` `wx-config --libs` main.cpp

gibt mir den Fehler im 1. post.
Back to top
View user's profile Send private message
syn0ptik
Apprentice
Apprentice


Joined: 09 Jan 2013
Posts: 267

PostPosted: Mon Jan 21, 2013 11:32 pm    Post subject: Reply with quote

Besser gemacht dieser command binen wxwidget directory.
Back to top
View user's profile Send private message
Gentoopfuscher
n00b
n00b


Joined: 21 Aug 2010
Posts: 59

PostPosted: Tue Jan 22, 2013 11:34 am    Post subject: Reply with quote

Which directory is that exactliy?
Back to top
View user's profile Send private message
Christian99
Veteran
Veteran


Joined: 28 May 2009
Posts: 1668

PostPosted: Tue Jan 22, 2013 11:57 am    Post subject: Reply with quote

der fehler im ersten post sagt dir aber nicht, dass es ein problem mit wxwidgets gibt, sondern dass es keine datei namens main.cpp gibt.
Back to top
View user's profile Send private message
syn0ptik
Apprentice
Apprentice


Joined: 09 Jan 2013
Posts: 267

PostPosted: Wed Jan 23, 2013 1:22 am    Post subject: Reply with quote

Du muss auszug und erreichen wxwidget directory.
Back to top
View user's profile Send private message
Gentoopfuscher
n00b
n00b


Joined: 21 Aug 2010
Posts: 59

PostPosted: Thu Jan 24, 2013 3:14 am    Post subject: Reply with quote

i found two directories: /usr/include/wx-2.8/wx/ and /usr/lib/wx ..
but how do i have to deal?
This command does not work even if i change into these directories.

Code:
find -name main.cpp
./usr/share/doc/vlc-2.0.3/main.cpp


Das kann die vermisste main.cpp aber nicht sein?
Aber wo sollte die Datei liegen und wie bekomme ich sie ?

Die hier hatte ich noch vergessen, scheint also zu gehen.
Code:
 wx-config --cxxflags
-I/usr/lib/wx/include/base-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -DwxUSE_GUI=0 -pthread
Code:
 wx-config --libs
-pthread -Wl,-O1 -Wl,--as-needed  -lwx_baseu_xml-2.8 -lwx_baseu_net-2.8 -lwx_baseu-2.8
Back to top
View user's profile Send private message
syn0ptik
Apprentice
Apprentice


Joined: 09 Jan 2013
Posts: 267

PostPosted: Thu Jan 24, 2013 8:18 am    Post subject: Reply with quote

nein, diese auf arbeiten catalog.
Du musst auszug wxwidgets.eselect-1.4.bz2, aber wofür du wollen diese?
Back to top
View user's profile Send private message
mvaterlaus
Apprentice
Apprentice


Joined: 01 Oct 2010
Posts: 234
Location: Switzerland

PostPosted: Fri Feb 01, 2013 9:07 am    Post subject: Reply with quote

hi,
ich denke eher, dass die Übersetzung des Sourcecodes main.cpp in [1] als Beispiel dient. Versuch doch mal ein minimales Programm zu schreiben, oder kopier es von [2] und übersetzt es mit dem darunter angegebenen Befehl.


[1]http://wiki.wxwidgets.org/Installing_and_configuring_under_Gentoo
[2]http://zetcode.com/gui/wxwidgets/firstprograms/
Back to top
View user's profile Send private message
Josef.95
Advocate
Advocate


Joined: 03 Sep 2007
Posts: 4520
Location: Germany

PostPosted: Tue Apr 09, 2013 2:37 pm    Post subject: Reply with quote

Hm, vergiss doch diesen blöden Test mit der nicht vorhandenen main.cpp ;)
Sofern x11-libs/wxGTK installiert ist, und via eselect gesetzt wurde, sollte sich app-misc/4pane problemlos mit dem Ebuild aus dem genanten 4Pane Overlay mergen lassen.
Ich hab es kurz mit gesetzten
Code:
eselect wxwidgets show
Current wxWidgets profile:                                                                                                                                                                                                                   
  gtk2-unicode-2.9
getestet, damit funktionierte das bauen und installieren von app-misc/4pane-1.0 auf einem aktuellen amd64 System einwandfrei.
Back to top
View user's profile Send private message
Gentoopfuscher
n00b
n00b


Joined: 21 Aug 2010
Posts: 59

PostPosted: Fri Apr 12, 2013 8:58 pm    Post subject: Reply with quote

Ich habe nach emerge wxGTK (useflags nicht veraendert):
Code:
eselect wxwidgets show
Available wxWidgets profiles:
  [1]   base-unicode-release-2.8 *

Wie bekomme ich das gtk-profile, bzw brauche ich das zwingend?
http://www.4pane.co.uk/InstallingWx.htm
emerge 4pane gibt mir den Fehler:
Code:

checking if wxWidgets port is wxGTK... no
checking if wxWidgets port is wxMotif... no
checking if wxWidgets port is wxMac... no
checking if wxWidgets port is wxX11... no
checking if wxWidgets port is wxMGL... no
checking if wxWidgets port is wxMSW... no
configure: error:
                           Cannot detect the currently installed wxWidgets port !
                           Check your 'wx-config --cxxflags'...

Code:
 wx-config --cxxflags                                                                                                                                                                                               
-I/usr/lib/wx/include/base-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -DwxUSE_GUI=0 -pthread
Back to top
View user's profile Send private message
Josef.95
Advocate
Advocate


Joined: 03 Sep 2007
Posts: 4520
Location: Germany

PostPosted: Fri Apr 12, 2013 11:01 pm    Post subject: Reply with quote

Hm, ungewöhnlich.
Ich vermute ein wenig das es mit manuell am Paketmanager vorbei installierten wx Zeugs aus /usr/local/ zusammenhängen könnte, siehe dazu auch in deinem anderen Thread 4pane filemanager compile error
Falls das zutrifft, dann versuche es doch mal mit dem normalen wxGTK Ebuild aus dem offiziellen portage Tree
sprich verhindere das (eventuell vorhandene?) manuell ins System geschossene Versionen aus /usr/local/ verwendet werden.
Back to top
View user's profile Send private message
Gentoopfuscher
n00b
n00b


Joined: 21 Aug 2010
Posts: 59

PostPosted: Sat Apr 13, 2013 8:27 am    Post subject: Reply with quote

Genau das habe ich gemacht, der Fehler kam daher.
Soll ich /usr/local loeschen?
Bisher habe ich es nur umbenannt.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum