Code Monkey home page Code Monkey logo

ome-cmake-superbuild's Introduction

OME CMake super-build

This package provides a CMake super-build for the OME Files C++ library, and other additional libraries.

Links

Purpose

Building all the prerequisite libraries on platforms not providing a package manager can be quite painful. This includes platforms such as Microsoft Windows, or on older platforms without all the required dependencies available via the package manager (such as CentOS 6/RHEL 6). This package automates the building and installation of all prerequisites, as well as Bio-Formats itself.

Supported platforms

  • Microsoft Windows with Visual Studio 2013 or 2015
  • RHEL 6 and 7
  • CentOS 6 and 7
  • Ubuntu 14.04 and 16.04
  • FreeBSD 11

More information

For more information, see the documentation.

ome-cmake-superbuild's People

Contributors

hflynn avatar joshmoore avatar mtbc avatar rleigh-codelibre avatar sbesson avatar simleo avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ome-cmake-superbuild's Issues

superbuild fails when building icu [Windows 7 x64, Visual Studio 2015]

Hello,

Compiling the super-build on windows 7 with visual studio 2015 fails with the following output while building icu

"C:\Users\CIMLab\Documents\flim-ui\ome-files-build\install.vcxproj" (default target) (1) ->
"C:\Users\CIMLab\Documents\flim-ui\ome-files-build\ALL_BUILD.vcxproj" (default target) (3) ->
"C:\Users\CIMLab\Documents\flim-ui\ome-files-build\icu.vcxproj" (default target) (6) ->
(CustomBuild target) ->
  C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets(1098,5): error MSB3644: The reference assemblies for framework ".NETFramework,Version=v4.0" were not found. To resolve this, instal
l the SDK or Targeting Pack for this framework version or retarget your application to a version of the framework for which you have the SDK or Targeting Pack installed. Note that assemblies will be resolved from
the Global Assembly Cache (GAC) and will be used in place of reference assemblies. Therefore your assembly may not be correctly targeted for the framework you intend. [C:\Users\CIMLab\Documents\flim-ui\ome-files-b
uild\icu-source\source\data\makedata.vcxproj] [C:\Users\CIMLab\Documents\flim-ui\ome-files-build\icu.vcxproj]
  C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets(1098,5): error MSB3644: The reference assemblies for framework ".NETFramework,Version=v4.0" were not found. To resolve this, instal
l the SDK or Targeting Pack for this framework version or retarget your application to a version of the framework for which you have the SDK or Targeting Pack installed. Note that assemblies will be resolved from
the Global Assembly Cache (GAC) and will be used in place of reference assemblies. Therefore your assembly may not be correctly targeted for the framework you intend. [C:\Users\CIMLab\Documents\flim-ui\ome-files-b
uild\icu-source\source\data\makedata.vcxproj] [C:\Users\CIMLab\Documents\flim-ui\ome-files-build\icu.vcxproj]

    6474 Warning(s)
    2 Error(s)

.NET framework v4 is installed.

Thanks,
Sean

XercesChecks and XalanChecks spuriously fail when using using system xerces-c, xalan-c [Windows 7 x64, Visual Studio 2015]

Hello, When compiling the superbuild using system xerces-c and xalan-c (see #164) on Windows 7 x64 with Visual Studio 2015, both XercesChecks and XalanChecks fail, producing the following error log. However, building the same code from the check works in a small external test CMake project. If I manually disable these checks in ome-common, ome-model and ome-files, the build completes successfully.

I'm not sure how to debug these tests further, but let me know if I can help.

Cheers
Sean

Performing C++ SOURCE FILE Test XERCES_LINK failed with the following output:
Change Dir: C:/Users/CIMLab/Documents/flim-ui/ome-files-build/ome-files-build/CMakeFiles/CMakeTmp

Run Build Command:"C:/Program Files (x86)/MSBuild/14.0/bin/MSBuild.exe" "cmTC_12556.vcxproj" "/p:Configuration=Debug" "/p:VisualStudioVersion=14.0"
Microsoft (R) Build Engine version 14.0.25420.1

Copyright (C) Microsoft Corporation. All rights reserved.



Build started 28/09/2017 4:26:07 PM.

The target "CopyLocalFilesOutputGroup" listed in a BeforeTargets attribute at "c:\Users\CIMLab\Documents\vcpkg\scripts\buildsystems\msbuild\vcpkg.targets (62,82)" does not exist in the project, and will be ignored.

Project "C:\Users\CIMLab\Documents\flim-ui\ome-files-build\ome-files-build\CMakeFiles\CMakeTmp\cmTC_12556.vcxproj" on node 1 (default targets).

PrepareForBuild:

  Creating directory "cmTC_12556.dir\Debug\".

  Creating directory "C:\Users\CIMLab\Documents\flim-ui\ome-files-build\ome-files-build\CMakeFiles\CMakeTmp\Debug\".

  Creating directory "cmTC_12556.dir\Debug\cmTC_12556.tlog\".

InitializeBuildStatus:

  Creating "cmTC_12556.dir\Debug\cmTC_12556.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.

VcpkgTripletSelection:

  Using triplet "x64-windows" from "c:\Users\CIMLab\Documents\vcpkg\installed\x64-windows\"

ClCompile:

  C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\x86_amd64\CL.exe /c /I"C:\Users\CIMLab\Documents\vcpkg\installed\x64-windows\include" /I"c:\Users\CIMLab\Documents\vcpkg\installed\x64-windows\include" /Zi /W3 /WX- /Od /Ob0 /D WIN32 /D _WINDOWS /D XERCES_LINK /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /EHsc /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /GR /Fo"cmTC_12556.dir\Debug\\" /Fd"cmTC_12556.dir\Debug\vc140.pdb" /Gd /TP /errorReport:queue  /bigobj "C:\Users\CIMLab\Documents\flim-ui\ome-files-build\ome-files-build\CMakeFiles\CMakeTmp\src.cxx"

  Microsoft (R) C/C++ Optimizing Compiler Version 19.00.24210 for x64

  Copyright (C) Microsoft Corporation.  All rights reserved.

  

  cl /c /I"C:\Users\CIMLab\Documents\vcpkg\installed\x64-windows\include" /I"c:\Users\CIMLab\Documents\vcpkg\installed\x64-windows\include" /Zi /W3 /WX- /Od /Ob0 /D WIN32 /D _WINDOWS /D XERCES_LINK /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /EHsc /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /GR /Fo"cmTC_12556.dir\Debug\\" /Fd"cmTC_12556.dir\Debug\vc140.pdb" /Gd /TP /errorReport:queue  /bigobj "C:\Users\CIMLab\Documents\flim-ui\ome-files-build\ome-files-build\CMakeFiles\CMakeTmp\src.cxx"

  

  src.cxx

Link:

  C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\x86_amd64\link.exe /ERRORREPORT:QUEUE /OUT:"C:\Users\CIMLab\Documents\flim-ui\ome-files-build\ome-files-build\CMakeFiles\CMakeTmp\Debug\cmTC_12556.exe" /INCREMENTAL /NOLOGO /LIBPATH:"c:\Users\CIMLab\Documents\vcpkg\installed\x64-windows\debug\lib" /LIBPATH:"c:\Users\CIMLab\Documents\vcpkg\installed\x64-windows\debug\lib\manual-link" "C:\Users\CIMLab\Documents\vcpkg\installed\x64-windows\lib\boost_filesystem-vc140-mt-1_65_1.lib" "C:\Users\CIMLab\Documents\vcpkg\installed\x64-windows\lib\boost_system-vc140-mt-1_65_1.lib" "C:\Users\CIMLab\Documents\vcpkg\installed\x64-windows\lib\xerces-c_3.lib" kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib /MANIFEST /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /manifest:embed /DEBUG /PDB:"C:/Users/CIMLab/Documents/flim-ui/ome-files-build/ome-files-build/CMakeFiles/CMakeTmp/Debug/cmTC_12556.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:"C:/Users/CIMLab/Documents/flim-ui/ome-files-build/ome-files-build/CMakeFiles/CMakeTmp/Debug/cmTC_12556.lib" /MACHINE:X64  /machine:x64 cmTC_12556.dir\Debug\src.obj

  cmTC_12556.vcxproj -> C:\Users\CIMLab\Documents\flim-ui\ome-files-build\ome-files-build\CMakeFiles\CMakeTmp\Debug\cmTC_12556.exe

  cmTC_12556.vcxproj -> C:/Users/CIMLab/Documents/flim-ui/ome-files-build/ome-files-build/CMakeFiles/CMakeTmp/Debug/cmTC_12556.pdb (Full PDB)

AppLocalFromInstalled:

  powershell.exe -ExecutionPolicy Bypass -noprofile -File "c:\Users\CIMLab\Documents\vcpkg\scripts\buildsystems\msbuild\applocal.ps1" "C:\Users\CIMLab\Documents\flim-ui\ome-files-build\ome-files-build\CMakeFiles\CMakeTmp\Debug\cmTC_12556.exe" "c:\Users\CIMLab\Documents\vcpkg\installed\x64-windows\debug\bin" "cmTC_12556.dir\Debug\cmTC_12556.tlog\cmTC_12556.write.1u.tlog" "cmTC_12556.dir\Debug\vcpkg.applocal.log"

FinalizeBuildStatus:

  Deleting file "cmTC_12556.dir\Debug\cmTC_12556.tlog\unsuccessfulbuild".

  Touching "cmTC_12556.dir\Debug\cmTC_12556.tlog\cmTC_12556.lastbuildstate".

Done Building Project "C:\Users\CIMLab\Documents\flim-ui\ome-files-build\ome-files-build\CMakeFiles\CMakeTmp\cmTC_12556.vcxproj" (default targets).



Build succeeded.

    0 Warning(s)

    0 Error(s)



Time Elapsed 00:00:01.22


Return value: FAILED_TO_RUN
Source file was:
#include <xercesc/util/PlatformUtils.hpp>

int main() {
  xercesc::XMLPlatformUtils::Initialize();
  xercesc::XMLPlatformUtils::Terminate();
}

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.