LuaDist / Repository

Repository of LuaDist modules available for installation using the luadist-git command line tool
www.luadist.org
243 stars 41 forks source link

iup fails to build on Windows (MinGW) #5

Closed TymurGubayev closed 13 years ago

TymurGubayev commented 13 years ago

I provided im-3.6.3 manually ( im-3.6.3_Win32_dllw4_lib.zip from official im site). I also added IM_INCLUDE_DIR = "include/im/" to variables in config.lua. Now >lua luadist install iuplua -verbose=true fails at libiup.dll:

Linking C shared library libiup.dll
CreatingCMakeFiles library file: libiup.dll.a/iup.dir/src/iup_register.c.obj:iup_register.c:(.text+0x416): undefined reference to `iupClipboardGetClass'
CMakeFiles/iup.dir/src/iup_register.c.obj:iup_register.c:(.text+0x683): undefined reference to `iupSplitGetClass'
collect2: ld returned 1 exit status

mingw32-make.exe[2]: *** [libiup.dll] Error 1
mingw32-make.exe[1]: *** [CMakeFiles/iup.dir/all] Error 2
mingw32-make.exe: *** [all] Error 2
Failed to build dist iup-3.1 error: CMake failed building in directory D:/Work/Programming/LuaDist/Bootstrap/_install/luadist-1.0.0-Windows-AMD64/bin/../tmp/iup-3.1-CMake-build
drahosp commented 13 years ago

This issue will be addressed in #6.