Coder Social home page Coder Social logo

simh / windows-build Goto Github PK

View Code? Open in Web Editor NEW
6.0 10.0 5.0 133.4 MB

Components needed to build simh simulators on the Windows platform

C 75.46% Perl 0.21% CMake 0.66% Shell 3.88% HTML 2.39% C++ 13.11% Pascal 0.21% Makefile 1.19% Objective-C 1.52% Java 0.40% Python 0.01% CSS 0.03% Batchfile 0.07% Assembly 0.38% DIGITAL Command Language 0.08% Awk 0.09% Module Management System 0.01% SAS 0.01% Ada 0.19% C# 0.12%

windows-build's Introduction

windows-build for SIMH

This repository contains the external dependencies needed to build full asynchronous, networking and video support for the simh simulators on Windows.

The files provided here are only meant for users who want to build simh simulators. The strategy is to download or clone this repository so that they can build under various versions of Microsoft Visual Studio. No user should ever be building these pieces unless you are explicitly maintaining this repository.

It contains five separate packages which the windows simh build depends on: The WinPcap developer Pack Posix threads for Windows Simple DirectMedia Layer Simple DirectMedia Layer True Type Fonts Perl Compatible Regular Expressions

The Visual Studio Projects in the simh source tree presume that The directory containing this file should be located parallel to the directory containing the simh source code. The makefile which can be used by MinGW compiler also presumes the same directory structure.

For Example, the directory structure should look like:

.../simh/simhv38-2-rc1/VAX/vax_cpu.c
.../simh/simhv38-2-rc1/scp.c
.../simh/simhv38-2-rc1/Visual Studio Projects/simh.sln
.../simh/simhv38-2-rc1/Visual Studio Projects/VAX.vcproj
.../simh/simhv38-2-rc1/BIN/Nt/Win32-Release/vax.exe
.../simh/windows-build/pthreads/pthread.h
.../simh/windows-build/winpcap/WpdPack/Include/pcap.h
.../simh/windows-build/libSDL/SDL-2.0.3/include/SDL.h
.../simh/windows-build/PCRE/include/pcreposix.h

The ../simh/windows-build/winpcap directory contains Version 4.1.2 of the winpcap developer pack from:

   http://www.winpcap.org/devel.htm

The ../simh/windows-build/pthreads directory contains the source to the next release of the pthreads-win32 Posix Threads package for the windows platform.

The ../simh/windows-build/libSDL directory contains the source to version 2.0.3 of libSDL2. This source has been modified from the code in the zip file: http://www.libsdl.org/release/SDL2-2.0.3.zip. The modifications produce SDL libraries which can be statically linked into simh simulator binaries when building with the Microsoft Visual Studio compilers. These binaries will then run without external DLL dependencies. The MinGW link libraries are also provided. These have been extracted from: http://www.libsdl.org/release/SDL2-devel-2.0.3-mingw.tar.gz along with the SDL2.dll file which is required when running a simulator with video support if it is compiled with the MinGW gcc compiler.

The SDL True Type Font support is also modified to produce a static library with the original source from: https://www.libsdl.org/projects/SDL_ttf/release/SDL2_ttf-2.0.12.zip

The ../simh/windows-build/PCRE directory contains the source to PCRE version 8.36 the Perl Compatible Regular Expression library.

windows-build's People

Contributors

markpizz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

windows-build's Issues

Can't build with VS2010

After VS2010 converts the solution and projects from the original VS2008 version the projects will not compile.

------ Build started: Project: BuildROMs, Configuration: Debug Win32 ------
Build started 4/28/2013 10:54:05 AM.
InitializeBuildStatus:
Creating "..\BIN\NT\Project\simh\BuildROMs\Win32-Debug\BuildROMs.unsuccessfulbuild" because "AlwaysCreate" was specified.
ClCompile:
sim_BuildROMs.c
LinkEmbedManifest:
BuildROMs.vcxproj -> C:\GitHub\simh\Visual Studio Projects..\BIN\NT\Win32-Debug\BuildROMs.exe
FinalizeBuildStatus:
Deleting file "..\BIN\NT\Project\simh\BuildROMs\Win32-Debug\BuildROMs.unsuccessfulbuild".
Touching "..\BIN\NT\Project\simh\BuildROMs\Win32-Debug\BuildROMs.lastbuildstate".

Build succeeded.

Time Elapsed 00:00:07.84
------ Build started: Project: VAX, Configuration: Debug Win32 ------
Build started 4/28/2013 10:54:13 AM.
InitializeBuildStatus:
Creating "..\BIN\NT\Project\simh\VAX\Win32-Debug\VAX.unsuccessfulbuild" because "AlwaysCreate" was specified.
PreBuildEvent:
Description: Build Dependent ROM include File(s) & Check for required build dependencies & git commit id
E:\Program Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(103,5): error MSB3073: The command "pushd ..
E:\Program Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(103,5): error MSB3073: "C:\GitHub\simh\BIN\NT\Win32-Debug\BuildROMs"
E:\Program Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(103,5): error MSB3073: popd
E:\Program Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(103,5): error MSB3073:
E:\Program Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(103,5): error MSB3073: if not exist ../../windows-build/winpcap/Wpdpack/Include/pcap.h goto _notice
E:\Program Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(103,5): error MSB3073: if not exist ../../windows-build/pthreads/pthread.h goto _notice
E:\Program Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(103,5): error MSB3073: goto _good
E:\Program Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(103,5): error MSB3073:
E:\Program Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(103,5): error MSB3073: :_notice
E:\Program Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(103,5): error MSB3073: echo ****************************************************
E:\Program Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(103,5): error MSB3073: echo ****************************************************
E:\Program Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(103,5): error MSB3073: echo ** The required build support is not available. **
E:\Program Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(103,5): error MSB3073: echo ****************************************************
E:\Program Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(103,5): error MSB3073: echo ****************************************************
E:\Program Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(103,5): error MSB3073: type 0ReadMe_Projects.txt
E:\Program Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(103,5): error MSB3073: exit 1
E:\Program Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(103,5): error MSB3073:
E:\Program Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(103,5): error MSB3073: :_good
E:\Program Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(103,5): error MSB3073: SET GIT_COMMIT_ID=
E:\Program Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(103,5): error MSB3073: if not exist ...git-commit-id goto _NoId
E:\Program Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(103,5): error MSB3073: for /F %%i in (...git-commit-id) do SET GIT_COMMIT_ID=%%i
E:\Program Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(103,5): error MSB3073: :_NoId
E:\Program Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(103,5): error MSB3073: SET OLD_GIT_COMMIT_ID=
E:\Program Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(103,5): error MSB3073: if not exist .git-commit-id.h echo.>.git-commit-id.h
E:\Program Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(103,5): error MSB3073: for /F "tokens=3" %%i in (.git-commit-id.h) do SET OLD_GIT_COMMIT_ID=%%i
E:\Program Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(103,5): error MSB3073: if "%GIT_COMMIT_ID%" equ "%OLD_GIT_COMMIT_ID%" goto _IdGood
E:\Program Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(103,5): error MSB3073: echo #define SIM_GIT_COMMIT_ID %GIT_COMMIT_ID% >.git-commit-id.h
E:\Program Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(103,5): error MSB3073: :_IdGood
E:\Program Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(103,5): error MSB3073:
E:\Program Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(103,5): error MSB3073: :VCEnd" exited with code 1.

Build FAILED.

Time Elapsed 00:00:01.14
========== Build: 1 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

Clean rebuild from source - CMake?

I rebuilt windows-build from scratch and the whole build process is a bit of a mess. I was wondering how receptive all you all might be to accepting a future pull request that uses CMake to build the libraries and put them into a reasonable directory structure, with updated version of the libraries (libpng, for example, is significantly behind.)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.