Re: Re: Tr: Re: [hatari-devel] Serial port issue with windowsHi, |
[ Thread Index | Date Index | More lists.tuxfamily.org/hatari-devel Archives ]
Hi, Thomas
Thanks for your interest on my troubles compiling on Windows - Things have gone worst on my setup since last WE and i did not had time to find seriously a solution ... To summarize, Hatari does not compile any more while the tortoise repository remained intact and I don't think that I've changed anything important in CMAKE ... Here is what I've got now :
C:\_zz>mingw32-make
"C:\Program Files (x86)\CMake\bin\cmake.exe" -HC:\Tortoise_Repositry\hatari -BC:\_zz --check-build-system CMakeFiles\Makefile.cmake 0
"C:\Program Files (x86)\CMake\bin\cmake.exe" -E cmake_progress_start C:\_zz\CMakeFiles C:\_zz\CMakeFiles\progress.marks
mingw32-make -f CMakeFiles\Makefile2 all
mingw32-make[1]: Entering directory 'C:/_zz'
mingw32-make -f src\CMakeFiles\Floppy.dir\build.make src/CMakeFiles/Floppy.dir/depend
mingw32-make[2]: Entering directory 'C:/_zz'
"C:\Program Files (x86)\CMake\bin\cmake.exe" -E cmake_depends "MinGW Makefiles" C:\Tortoise_Repositry\hatari C:\Tortoise_Repositry\hatari\src C:\_zz C:\_zz\src
C:\_zz\src\CMakeFiles\Floppy.dir\DependInfo.cmake --color=
mingw32-make[2]: Leaving directory 'C:/_zz'
mingw32-make -f src\CMakeFiles\Floppy.dir\build.make src/CMakeFiles/Floppy.dir/build
mingw32-make[2]: Entering directory 'C:/_zz'
"C:\Program Files (x86)\CMake\bin\cmake.exe" -E cmake_progress_report C:\_zz\CMakeFiles 15
[ 1%] Building C object src/CMakeFiles/Floppy.dir/createBlankImage.c.obj
mingw32-make: Interrupt/Exception caught (code = 0xc0000005, addr = 0x000007FEFEC02020)
CMakeFiles\Makefile2:121: recipe for target 'src/CMakeFiles/Floppy.dir/all' failed
mingw32-make[1]: *** [src/CMakeFiles/Floppy.dir/all] Error 255
mingw32-make[1]: Leaving directory 'C:/_zz'
Makefile:118: recipe for target 'all' failed
mingw32-make: *** [all] Error 2
C:\_zz>
===============================
And my CMAKE setup is
Commandline options:
-DCMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO:STRING="" -DCMAKE_INSTALL_PREFIX:PATH="C:/Program Files (x86)/Hatari" -DSDL_INCLUDE_DIR:PATH="SDL_INCLUDE_DIR-NOTFOUND" -DCMAKE_EXE_LINKER_FLAGS_RELEASE:STRING="" -DCMAKE_SHARED_LINKER_FLAGS_MINSIZEREL:STRING="" -DCMAKE_NM:FILEPATH="C:/_WinBuilds/bin/nm.exe" -DCURSES_FORM_LIBRARY:FILEPATH="C:/_WinBuilds/ncurses/bin/libformw5.dll" -DCMAKE_LINKER:FILEPATH="C:/_WinBuilds/bin/ld.exe" -DCMAKE_MODULE_LINKER_FLAGS:STRING="" -DMATH_LIBRARY:FILEPATH="MATH_LIBRARY-NOTFOUND" -DCMAKE_RANLIB:FILEPATH="C:/_WinBuilds/bin/ranlib.exe" -DCMAKE_RC_FLAGS:STRING=" " -DCMAKE_SH:FILEPATH="C:/Windows/System32/cmd.exe" -DCMAKE_C_FLAGS_DEBUG:STRING="-g" -DCMAKE_C_FLAGS_RELEASE:STRING="-O3 -DNDEBUG" -DCMAKE_EXE_LINKER_FLAGS_MINSIZEREL:STRING="" -DSDLMAIN_LIBRARY:FILEPATH="SDLMAIN_LIBRARY-NOTFOUND" -DCMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO:STRING="" -DCURSES_EXTRA_LIBRARY:FILEPATH="CURSES_EXTRA_LIBRARY-NOTFOUND" -DCMAKE_MODULE_LINKER_FLAGS_RELEASE:STRING="" -DPNG_PNG_INCLUDE_DIR:PATH="C:/_WinBuilds/include/libpng14" -DCURSES_NCURSES_LIBRARY:FILEPATH="C:/_WinBuilds/ncurses/bin/libncursesw5.dll" -DCMAKE_AR:FILEPATH="C:/_WinBuilds/bin/ar.exe" -DCMAKE_OBJCOPY:FILEPATH="C:/_WinBuilds/bin/objcopy.exe" -DSDL2_LIBRARY:STRING="mingw32;C:/_WinBuilds/bin/SDL2.dll" -DCMAKE_C_FLAGS_MINSIZEREL:STRING="-Os -DNDEBUG" -DCMAKE_EXE_LINKER_FLAGS:STRING="" -DMINGW32_LIBRARY:STRING="mingw32" -DCMAKE_MODULE_LINKER_FLAGS_MINSIZEREL:STRING="" -DCMAKE_BUILD_TYPE:STRING="" -DREADLINE_INCLUDE_DIR:PATH="C:/_WinBuilds/readline/include" -DZLIB_INCLUDE_DIR:PATH="C:/_WinBuilds/zlib/include" -DPYTHON_EXECUTABLE:FILEPATH="C:/Python34/python.exe" -DSDL2MAIN_LIBRARY:FILEPATH="C:/_WinBuilds/bin/SDL2.dll" -DSDL_LIBRARY_TEMP:FILEPATH="SDL_LIBRARY_TEMP-NOTFOUND" -DZLIB_LIBRARY:FILEPATH="C:/_WinBuilds/zlib/zlib1.dll" -DCAPSIMAGE_LIBRARY:FILEPATH="CAPSIMAGE_LIBRARY-NOTFOUND"
-DCMAKE_STATIC_LINKER_FLAGS_DEBUG:STRING=""
-DBIN2DATADIR:STRING="."
-DCMAKE_MODULE_LINKER_FLAGS_DEBUG:STRING="" -DCMAKE_C_COMPILER:FILEPATH="C:/_WinBuilds/bin/gcc.exe" -DCMAKE_EXE_LINKER_FLAGS_DEBUG:STRING="" -DCMAKE_C_STANDARD_LIBRARIES:STRING="-lkernel32 -luser32 -lgdi32 -lwinspool -lshell32 -lole32 -loleaut32 -luuid -lcomdlg32 -ladvapi32"
-DCAPSIMAGE_INCLUDE_DIR:PATH="CAPSIMAGE_INCLUDE_DIR-NOTFOUND" -DCMAKE_C_FLAGS:STRING="" -DCMAKE_C_FLAGS_RELWITHDEBINFO:STRING="-O2 -g -DNDEBUG" -DCMAKE_SHARED_LINKER_FLAGS:STRING="" -DCMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO:STRING="" -DCMAKE_MAKE_PROGRAM:FILEPATH="C:/_WinBuilds/bin/mingw32-make.exe"
Cache file:
CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO:STRING=
CMAKE_INSTALL_PREFIX:PATH=C:/Program Files (x86)/Hatari
SDL_INCLUDE_DIR:PATH=SDL_INCLUDE_DIR-NOTFOUND
CMAKE_EXE_LINKER_FLAGS_RELEASE:STRING=
CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL:STRING=
CMAKE_NM:FILEPATH=C:/_WinBuilds/bin/nm.exe
CURSES_FORM_LIBRARY:FILEPATH=C:/_WinBuilds/ncurses/bin/libformw5.dll
CMAKE_LINKER:FILEPATH=C:/_WinBuilds/bin/ld.exe
CMAKE_MODULE_LINKER_FLAGS:STRING=
MATH_LIBRARY:FILEPATH=MATH_LIBRARY-NOTFOUND
CMAKE_RANLIB:FILEPATH=C:/_WinBuilds/bin/ranlib.exe
CMAKE_RC_FLAGS:STRING=
CMAKE_SH:FILEPATH=C:/Windows/System32/cmd.exe
CMAKE_C_FLAGS_DEBUG:STRING=-g
CMAKE_C_FLAGS_RELEASE:STRING=-O3 -DNDEBUG
CMAKE_EXE_LINKER_FLAGS_MINSIZEREL:STRING=
SDLMAIN_LIBRARY:FILEPATH=SDLMAIN_LIBRARY-NOTFOUND
CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO:STRING=
CURSES_EXTRA_LIBRARY:FILEPATH=CURSES_EXTRA_LIBRARY-NOTFOUND
CMAKE_MODULE_LINKER_FLAGS_RELEASE:STRING=
PNG_PNG_INCLUDE_DIR:PATH=C:/_WinBuilds/include/libpng14
CURSES_NCURSES_LIBRARY:FILEPATH=C:/_WinBuilds/ncurses/bin/libncursesw5.dll
CMAKE_AR:FILEPATH=C:/_WinBuilds/bin/ar.exe
CMAKE_OBJCOPY:FILEPATH=C:/_WinBuilds/bin/objcopy.exe
SDL2_LIBRARY:STRING=mingw32;C:/_WinBuilds/bin/SDL2.dll
CMAKE_C_FLAGS_MINSIZEREL:STRING=-Os -DNDEBUG
CMAKE_EXE_LINKER_FLAGS:STRING=
MINGW32_LIBRARY:STRING=mingw32
CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL:STRING=
CMAKE_BUILD_TYPE:STRING=
READLINE_INCLUDE_DIR:PATH=C:/_WinBuilds/readline/include
ZLIB_INCLUDE_DIR:PATH=C:/_WinBuilds/zlib/include
PYTHON_EXECUTABLE:FILEPATH=C:/Python34/python.exe
SDL2MAIN_LIBRARY:FILEPATH=C:/_WinBuilds/bin/SDL2.dll
SDL_LIBRARY_TEMP:FILEPATH=SDL_LIBRARY_TEMP-NOTFOUND
ZLIB_LIBRARY:FILEPATH=C:/_WinBuilds/zlib/zlib1.dll
CAPSIMAGE_LIBRARY:FILEPATH=CAPSIMAGE_LIBRARY-NOTFOUND
CMAKE_STATIC_LINKER_FLAGS_DEBUG:STRING=
BIN2DATADIR:STRING=.
CMAKE_MODULE_LINKER_FLAGS_DEBUG:STRING=
CMAKE_C_COMPILER:FILEPATH=C:/_WinBuilds/bin/gcc.exe
CMAKE_EXE_LINKER_FLAGS_DEBUG:STRING=
CMAKE_C_STANDARD_LIBRARIES:STRING=-lkernel32 -luser32 -lgdi32 -lwinspool -lshell32 -lole32 -loleaut32 -luuid -lcomdlg32 -ladvapi32
CAPSIMAGE_INCLUDE_DIR:PATH=CAPSIMAGE_INCLUDE_DIR-NOTFOUND
CMAKE_C_FLAGS:STRING=
CMAKE_C_FLAGS_RELWITHDEBINFO:STRING=-O2 -g -DNDEBUG
CMAKE_SHARED_LINKER_FLAGS:STRING=
CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO:STRING=
CMAKE_MAKE_PROGRAM:FILEPATH=C:/_WinBuilds/bin/mingw32-make.exe
Hervé
Tous vos emails en 1 clic avec l'application SFR Mail sur iPhone et Android - En savoir plus.
========================================
Message du : 12/04/2015 22:36
De : "Thomas Huth " <th.huth@xxxxxx>
A : hatari-devel@xxxxxxxxxxxxxxxxxxx
Copie à :
Sujet : Re: Tr: Re: [hatari-devel] Serial port issue with windowsHi,
Am Thu, 9 Apr 2015 11:35:22 +0200 (CEST)
schrieb hwarin@xxxxxxx:
>
> Hi, Eero
>
> In fact, I don't know about this as all of this is managed by CMAKE
> (that I never even knew before yesterday) and don't know precisely
> how to check - may be in a close look at the output of my "Make" ?
>
> ==> I will provide you this evening a complete cut/past of my "Make"
> output
Could you maybe also provide the output of "make VERBOSE=1" ?
> Another question : Does my setup appear to be complete for a simple
> build or will I ABSOLUTELY need something else as VisualStudio to
> have very simple IO functions to be compiled (I can manage to edit
> sources from notepad for the while).
I don't think that current Hatari still compiles with VisualStudio -
should be fine if you only use it as an editor, but I doubt that you
can still build the sources with it. A MinGW / make-based build system
should be the way to go.
[...]
> > From that, I've been able to retrieve sources and got something
> > compiled .. but I'm unable to link properly :
> > "CMakeFiles\hatari.dir/objects.a(file.c.obj):file:(.text+0x2e1):
> > undefined reference to 'gzopen'
If you're completely stuck, you could also try to build without zlib
support (HAVE_LIBZ and HAVE_LIBZ_H should be undefined in config.h).
Thomas
Mail converted by MHonArc 2.6.19+ | http://listengine.tuxfamily.org/ |