mlba-team / xdispatch

Unmaintained. See https://github.com/emzeat/xdispatch2 for successor project.
http://opensource.mlba-team.de/xdispatch
Apache License 2.0
76 stars 24 forks source link

Can't build for msvc2013 #3

Closed pomozoff closed 5 years ago

pomozoff commented 10 years ago

cmake's output:

== running global configuration
-- determining working directory: y:\Work\xdispatch\Build

== configuring target system 'VS13(Testing)/Windows(Debug)'
-- The C compiler identification is MSVC 18.0.30501.0
-- The CXX compiler identification is MSVC 18.0.30501.0
-- Check for working C compiler using: Visual Studio 12 2013
-- Check for working C compiler using: Visual Studio 12 2013 -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler using: Visual Studio 12 2013
-- Check for working CXX compiler using: Visual Studio 12 2013 -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Found Git: C:/Program Files (x86)/Git/cmd/git.exe (found version "1.8.5.2.msysgit.0")
-- version information for '0.8.0~devel (devel)'
-- running mz compiler detection tools
-- Microsoft Visual Studio Compiler found
-- 32bit platform
-- Today is:
-- User is: username
-- configuring for build type: Debug
-- Setting binary output path: Y:/Work/xdispatch/build/VS13_ProjectFiles/bin/
-- Looking for include file sys/event.h
-- Looking for include file sys/event.h - not found
-- Looking for include file kqueue/sys/event.h
-- Looking for include file kqueue/sys/event.h - not found
-- Looking for include file pthread_workqueue.h
-- Looking for include file pthread_workqueue.h - not found
-- Looking for include file dispatch/dispatch.h
-- Looking for include file dispatch/dispatch.h - not found
-- adding library libkqueue
-- Looking for EPOLLRDHUP
-- Looking for EPOLLRDHUP - not found
-- Looking for ppoll
-- Looking for ppoll - not found
-- Looking for include file sys/epoll.h
-- Looking for include file sys/epoll.h - not found
-- Looking for include file sys/event.h
-- Looking for include file sys/event.h - not found
-- Looking for include file sys/eventfd.h
-- Looking for include file sys/eventfd.h - not found
-- Looking for include file sys/inotify.h
-- Looking for include file sys/inotify.h - not found
-- Looking for include file sys/signalfd.h
-- Looking for include file sys/signalfd.h - not found
-- Looking for include file sys/timerfd.h
-- Looking for include file sys/timerfd.h - not found
-- building libkqueue as static lib
-- adding library libpthread_workqueue
-- building libpthread_workqueue as static lib
-- adding library dispatch
-- Looking for include file mach/mach_time.h
-- Looking for include file mach/mach_time.h - not found
-- Looking for include file stdint.h
-- Looking for include file stdint.h - found
-- Looking for include file crtdbg.h
-- Looking for include file crtdbg.h - found
-- Looking for include file pthread.h
-- Looking for include file pthread.h - not found
-- Looking for getprogname
-- Looking for getprogname - not found
-- Looking for getexecname
-- Looking for getexecname - not found
-- Looking for program_invocation_short_name
-- Looking for program_invocation_short_name - not found
-- Looking for CLOCK_UPTIME
-- Looking for CLOCK_UPTIME - not found
-- Looking for CLOCK_MONOTONIC
-- Looking for CLOCK_MONOTONIC - not found
-- Looking for sysconf
-- Looking for sysconf - not found
-- linking dispatch with: pthread_workqueue;kqueue
-- adding library xdispatch
-- linking xdispatch with: dispatch
-- Configuring done
-- Generating done
-- Build files have been written to: Y:/Work/xdispatch/build/VS13_ProjectFiles
All DONE
Press any key to continue . . .

Build dispatch project output:

1>------ Build started: Project: ZERO_CHECK, Configuration: Debug Win32 ------
1>  Checking Build System
1>  CMake does not need to re-run because Y:/Work/xdispatch/build/VS13_ProjectFiles/CMakeFiles/generate.stamp is up-to-date.
1>  CMake does not need to re-run because Y:/Work/xdispatch/build/VS13_ProjectFiles/libkqueue/CMakeFiles/generate.stamp is up-to-date.
1>  CMake does not need to re-run because Y:/Work/xdispatch/build/VS13_ProjectFiles/libpthread_workqueue/CMakeFiles/generate.stamp is up-to-date.
1>  CMake does not need to re-run because Y:/Work/xdispatch/build/VS13_ProjectFiles/libdispatch/CMakeFiles/generate.stamp is up-to-date.
1>  CMake does not need to re-run because Y:/Work/xdispatch/build/VS13_ProjectFiles/libxdispatch/CMakeFiles/generate.stamp is up-to-date.
2>------ Build started: Project: kqueue, Configuration: Debug Win32 ------
3>------ Build started: Project: pthread_workqueue, Configuration: Debug Win32 ------
2>  Building Custom Rule y:/Work/xdispatch/libkqueue/CMakeLists.txt
2>  CMake does not need to re-run because Y:\Work\xdispatch\build\VS13_ProjectFiles\libkqueue\CMakeFiles\generate.stamp is up-to-date.
3>  Building Custom Rule y:/Work/xdispatch/libpthread_workqueue/CMakeLists.txt
3>  CMake does not need to re-run because Y:\Work\xdispatch\build\VS13_ProjectFiles\libpthread_workqueue\CMakeFiles\generate.stamp is up-to-date.
2>  platform.c
3>  manager.c
3>  platform.c
2>y:\work\xdispatch\libkqueue\src\windows\../common/private.h(38): fatal error C1083: Cannot open include file: '../common/queue.h': No such file or directory
2>  read.c
2>y:\work\xdispatch\libkqueue\src\windows\../common/private.h(38): fatal error C1083: Cannot open include file: '../common/queue.h': No such file or directory
2>  timer.c
3>y:\work\xdispatch\libpthread_workqueue\src\windows\../private.h(118): fatal error C1189: #error :  Need to define _hardware_pause() for this architure (..\..\..\libpthread_workqueue\src\windows\platform.c)
3>y:\work\xdispatch\libpthread_workqueue\src\windows\../private.h(118): fatal error C1189: #error :  Need to define _hardware_pause() for this architure (..\..\..\libpthread_workqueue\src\windows\manager.c)
3>  thread_info.c
3>  thread_rt.c
3>  api.c
3>  witem_cache.c
2>y:\work\xdispatch\libkqueue\src\windows\../common/private.h(38): fatal error C1083: Cannot open include file: '../common/queue.h': No such file or directory
2>  user.c
3>y:\work\xdispatch\libpthread_workqueue\src\private.h(118): fatal error C1189: #error :  Need to define _hardware_pause() for this architure (..\..\..\libpthread_workqueue\src\api.c)
2>y:\work\xdispatch\libkqueue\src\windows\../common/private.h(38): fatal error C1083: Cannot open include file: '../common/queue.h': No such file or directory
2>  map.c
3>y:\work\xdispatch\libpthread_workqueue\src\private.h(118): fatal error C1189: #error :  Need to define _hardware_pause() for this architure (..\..\..\libpthread_workqueue\src\witem_cache.c)
2>y:\work\xdispatch\libkqueue\src\common\private.h(38): fatal error C1083: Cannot open include file: '../common/queue.h': No such file or directory
2>  filter.c
2>y:\work\xdispatch\libkqueue\src\common\private.h(38): fatal error C1083: Cannot open include file: '../common/queue.h': No such file or directory
2>  knote.c
2>y:\work\xdispatch\libkqueue\src\common\private.h(38): fatal error C1083: Cannot open include file: '../common/queue.h': No such file or directory
2>  kevent.c
2>y:\work\xdispatch\libkqueue\src\common\private.h(38): fatal error C1083: Cannot open include file: '../common/queue.h': No such file or directory
2>  kqueue.c
2>y:\work\xdispatch\libkqueue\src\common\private.h(38): fatal error C1083: Cannot open include file: '../common/queue.h': No such file or directory
2>  Generating Code...
4>------ Build started: Project: dispatch, Configuration: Debug Win32 ------
4>  Building Custom Rule y:/Work/xdispatch/libdispatch/CMakeLists.txt
4>  CMake does not need to re-run because Y:\Work\xdispatch\build\VS13_ProjectFiles\libdispatch\CMakeFiles\generate.stamp is up-to-date.
4>  apply.c
4>  benchmark.c
4>  blocks.c
4>  continuation_cache.c
4>  debug.c
4>  legacy.c
4>  object.c
4>  once.c
4>  protocolServer.c
4>  protocolUser.c
4>  queue.c
4>  queue_kevent.c
4>  semaphore.c
4>  shared_constructor.c
4>  source.c
4>..\..\..\libdispatch\src\shared_constructor.c(56): warning C4013: 'libkqueue_thread_attach' undefined; assuming extern returning int
4>..\..\..\libdispatch\src\shared_constructor.c(72): warning C4013: 'libkqueue_thread_detach' undefined; assuming extern returning int
4>  source_kevent.c
4>  mach.c
4>  tsd.c
4>  platform.c
4>  time.c
4>  time.c
4>LINK : fatal error LNK1104: cannot open file '..\bin\Debug\pthread_workqueueD.lib'
5>------ Build started: Project: xdispatch, Configuration: Debug Win32 ------
5>  Building Custom Rule y:/Work/xdispatch/libxdispatch/CMakeLists.txt
5>  CMake does not need to re-run because Y:\Work\xdispatch\build\VS13_ProjectFiles\libxdispatch\CMakeFiles\generate.stamp is up-to-date.
5>  base.cpp
5>  execution.cpp
5>y:\work\xdispatch\libxdispatch\src\../include/xdispatch/platform.h(101): fatal error C1083: Cannot open include file: 'tr1/functional': No such file or directory (..\..\..\libxdispatch\src\base.cpp)
5>  group.cpp
5>y:\work\xdispatch\libxdispatch\src\../include/xdispatch/platform.h(101): fatal error C1083: Cannot open include file: 'tr1/functional': No such file or directory (..\..\..\libxdispatch\src\execution.cpp)
5>  once.cpp
5>y:\work\xdispatch\libxdispatch\src\../include/xdispatch/platform.h(101): fatal error C1083: Cannot open include file: 'tr1/functional': No such file or directory (..\..\..\libxdispatch\src\group.cpp)
5>  queue.cpp
5>y:\work\xdispatch\libxdispatch\src\../include/xdispatch/platform.h(101): fatal error C1083: Cannot open include file: 'tr1/functional': No such file or directory (..\..\..\libxdispatch\src\once.cpp)
5>  semaphore.cpp
5>y:\work\xdispatch\libxdispatch\src\../include/xdispatch/platform.h(101): fatal error C1083: Cannot open include file: 'tr1/functional': No such file or directory (..\..\..\libxdispatch\src\queue.cpp)
5>  shared_constructor.cpp
5>y:\work\xdispatch\libxdispatch\src\../include/xdispatch/platform.h(101): fatal error C1083: Cannot open include file: 'tr1/functional': No such file or directory (..\..\..\libxdispatch\src\semaphore.cpp)
5>  source.cpp
5>y:\work\xdispatch\libxdispatch\src\../include/xdispatch/platform.h(101): fatal error C1083: Cannot open include file: 'tr1/functional': No such file or directory (..\..\..\libxdispatch\src\shared_constructor.cpp)
5>  source_internal.cpp
5>y:\work\xdispatch\libxdispatch\src\../include/xdispatch/platform.h(101): fatal error C1083: Cannot open include file: 'tr1/functional': No such file or directory (..\..\..\libxdispatch\src\source.cpp)
5>  synchronized.cpp
5>y:\work\xdispatch\libxdispatch\src\../include/xdispatch/platform.h(101): fatal error C1083: Cannot open include file: 'tr1/functional': No such file or directory (..\..\..\libxdispatch\src\source_internal.cpp)
5>  timer.cpp
5>y:\work\xdispatch\libxdispatch\src\../include/xdispatch/platform.h(101): fatal error C1083: Cannot open include file: 'tr1/functional': No such file or directory (..\..\..\libxdispatch\src\synchronized.cpp)
5>y:\work\xdispatch\libxdispatch\src\../include/xdispatch/platform.h(101): fatal error C1083: Cannot open include file: 'tr1/functional': No such file or directory (..\..\..\libxdispatch\src\timer.cpp)
========== Build: 1 succeeded, 4 failed, 0 up-to-date, 0 skipped ==========
emzeat commented 5 years ago

Master is supporting building on windows again, as of 68e917cc21e48f13bf73368a693005e9840e5079.