Closed GoogleCodeExporter closed 9 years ago
Thanks!
It seems the same issue than this one:
http://code.google.com/p/gamekit/issues/detail?id=2&can=1
Previously we just disabled the X86 vidmode extension (because some Linux
distros lack it).
Your patch seems better, but it might break those systems that lack the vidmode
extension.
Someone needs to check if CMake can test for this extension, and then add it.
Original comment by erwin.coumans
on 19 Oct 2009 at 10:44
May be checking the library and the extension:
........
ELSE (APPLE)
CHECK_LIBRARY_EXISTS(Xxf86vm XF86VidModeQueryExtension "" XF86VidMode)
IF(XF86VidMode)
ADD_DEFINITIONS( -D_IRR_LINUX_X11_VIDMODE_)
SET(EXTRA_LIBS Xxf86vm)
ELSE (XF86VidMode)
SET(EXTRA_LIBS )
ENDIF (XF86VidMode)
ENDIF (APPLE)
...........
Original comment by jbernalm...@gmail.com
on 19 Oct 2009 at 11:37
Indeed.
It has been applied in latest trunk. Could you check if it works?
http://code.google.com/p/gamekit/source/detail?r=59
Thanks for the report
Original comment by erwin.coumans
on 20 Oct 2009 at 12:16
perhaps you can check latest source download, rev59?
Original comment by erwin.coumans
on 20 Oct 2009 at 12:23
Hi Erwin,
now I obtain the following error:
[lordloki@localhost gamekit]$ make
[ 0%] Building CXX object
irrlicht-1.6/source/Irrlicht/CMakeFiles/Irrlicht.dir/CDefaultGUIElementFactory.o
c++: no hay ficheros de entrada
/bin/sh: -D_IRR_LINUX_X11_VIDMODE_: command not found
make[2]: ***
[irrlicht-1.6/source/Irrlicht/CMakeFiles/Irrlicht.dir/CDefaultGUIElementFactory.
o]
Error 127
make[1]: *** [irrlicht-1.6/source/Irrlicht/CMakeFiles/Irrlicht.dir/all] Error 2
make: *** [all] Error 2
Original comment by jbernalm...@gmail.com
on 20 Oct 2009 at 8:21
Too bad :)
Could you try the updated trunk (or replacing the CMakeList.txt in the root
with the
attached version in this issue?
http://code.google.com/p/gamekit/issues/detail?id=10
)
Thanks,
Erwin
Original comment by erwin.coumans
on 20 Oct 2009 at 9:12
Now it works like a charm.
Thanks for your great work.
Original comment by jbernalm...@gmail.com
on 20 Oct 2009 at 9:30
great, thanks for the feedback!
Original comment by erwin.coumans
on 20 Oct 2009 at 10:04
Original issue reported on code.google.com by
jbernalm...@gmail.com
on 19 Oct 2009 at 8:59Attachments: