On Wed, Apr 10, 2013 at 5:39 PM, andreas graeper
<agrae...@googlemail.com> wrote:
> hi,
> lubuntu12
> lua5.1.5
> wx2.8.12 gtk2du
> wxlua2.8.10.0 this downloaded as source archive
>
> now i tried svn version:
>
>
> CMake Error at build/CMakewxAppLib.cmake:112 (get_filename_component):
>   get_filename_component called with incorrect number of arguments
> Call Stack (most recent call first):
>   CMakeLists.txt:25 (include)

What version of CMake and did you compile it yourself? wxLua is tested
mostly with 2.8.4 -> 2.8.9 in Windows and Fedora, RHEL, and Mandriva.
I'm guessing that the variable CMAKE_EDIT_COMMAND is somehow not set
by CMake? It should point to cmake-gui falling back to ccmake which
should be a part of any normal CMake install.

Please add this line shown below and let me know what the output is :

Index: wxLua/build/CMakewxAppLib.cmake
===================================================================
--- wxLua/build/CMakewxAppLib.cmake     (revision 178)
+++ wxLua/build/CMakewxAppLib.cmake     (working copy)
@@ -109,6 +109,7 @@

 if (UNIX)
     # We want to open it in the gui, not in the curses ccmake which
is broken in the gnome terminal (RHEL6)
+    MESSAGE("AAAA '${CMAKE_EDIT_COMMAND}'")
     get_filename_component(CMAKE_EDIT_COMMAND_PATH ${CMAKE_EDIT_COMMAND} PATH)

     if (EXISTS ${CMAKE_EDIT_COMMAND_PATH}/cmake-gui)


> and other output tells, that installed lua is not used.

Don't worry about that yet, as long as you're getting the error
anything else is meaningless.

Regards,
    John

------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
wxlua-users mailing list
wxlua-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxlua-users

Reply via email to