| Summary: | unable to compile an wxGTK application | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Frederic DEGHETTO <frederic.deghetto> |
| Component: | [OLD] Library | Assignee: | Nick Hadaway <grandmasterlinux> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | High | ||
| Version: | 1.4_rc2 | ||
| Hardware: | x86 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
Frederic DEGHETTO
2003-02-12 09:23:28 UTC
blackie bombs # make -f makefile.unx g++ -c `wx-config --cxxflags` -o bombs.o bombs.cpp bombs.cpp: In constructor `BombsCanvasClass::BombsCanvasClass(wxFrame*, const wxPoint&, const wxSize&, long int)': bombs.cpp:172: warning: passing `double' for argument 1 of `wxCoord wxDCBase::LogicalToDeviceX(int) const' bombs.cpp:173: warning: passing `double' for argument 1 of `wxCoord wxDCBase::LogicalToDeviceY(int) const' g++ -c `wx-config --cxxflags` -o game.o game.cpp g++ -c `wx-config --cxxflags` -o bombs1.o bombs1.cpp g++ -o bombs bombs.o game.o bombs1.o `wx-config --libs` blackie bombs # I did not have a similar problem. Please paste the output of "emerge info" to this bug. nm the emerge info thing... i see you already did... You might have a problem with the fact that you have gtk2 enabled in USE. Make sure that wxGTK is build -gtk2 and then re-test the bombs demo. I have now verified this on a couple machines differnt test boxes. Hello, Now wxGTK is compiled with "USE=-gtk2 emerge wxGTK" and all is OK. Thanks you for your help. Like we say in france : merci pour votre aide. Frederic db fix db fix |