Giter Site home page Giter Site logo

qbprog / oce-win-bundle Goto Github PK

View Code? Open in Web Editor NEW
11.0 11.0 12.0 20.49 MB

OCE dependency bundle for windows

License: Other

C++ 25.26% C 53.44% Gnuplot 0.01% Assembly 0.28% Python 0.38% Objective-C 0.10% Shell 0.83% Pascal 0.50% C# 5.25% Visual Basic 1.19% Awk 0.02% Perl 0.03% TeX 0.09% CMake 0.13% Makefile 0.52% Groff 0.60% Batchfile 0.04% HTML 11.23% DIGITAL Command Language 0.08% PHP 0.03%

oce-win-bundle's People

Contributors

bihlerben avatar heyuqi avatar jcmonnin avatar ornithophile avatar qbprog avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

oce-win-bundle's Issues

Nice to build oce-win-bundle in same project/solution as OCE and other projects

Thanks for putting this package together!

I have a few very minor CMake modifications to oce-win-bundle and to OCE itself that enable them to be built in a single project along with other projects (enabling CMake to generate one Visual Studio Solution that builds oce-win-bundle, oce,and other projects.)

  1. Change 6 instances of CMAKE_SOURCE_DIR to CMAKE_CURRENT_SOURCE_DIR in top-level CMakeLists.txt file.
  2. Change INSTALL_DIR to OCE_WIN_BUNDLE_INSTALL_DIR in all files since INSTALL_DIR is likely to clash with the same name in other projects. (Also changed INSTALL_DIR_BITS to OCE_WIN_BUNDLE_INSTALL_DIR_BITS.)
  3. Remove "SET( CMAKE_INSTALL_PREFIX ...)" lines which don't appear to be needed since all INSTALL lines specify destinations and because this global setting can interfere with other projects in the solution that set CMAKE_INSTALL_PREFIX differently.
  4. Also a 1-line change to libs/FreeImage/Source/OpenEXR/IlmImf/ImfAcesFile.h, changing the "class Chromaticities;" forward declaration to "struct Chromaticities;" for consistency with the later full class declaration, enables oce-win-bundle to build with Visual Studio 2012.

I don't see a way to upload a .patch file here, but it's attached to the oce-dev Google Groups conversation at https://groups.google.com/forum/?fromgroups=#!topic/oce-dev/TM_xlePKFmo.

If you like these changes and want to apply and test the patch yourself, that would be great. I am learning how to use github so I can make a branch and apply the changes if you prefer.

install bundle on windows/mingw32

The compilation goes fine with mingw32, but make install only install header files.

After installing the bundle (to D:\oce-win-bundle), I have:

  • a 'include' directory with FreeImage, freetype and gl2ps subdirectories
  • an empty file named 'oce-bundle-root.empty'

But I can't find any lib/dll, it seems the install process misses them.

CMake Error at CMakeLists.txt:56 (IF)

Dear Sir,

I am new to cmake and get an error like this:

CMake Error at CMakeLists.txt:56 (IF):
  if given arguments:

    "STREQUAL" "TBB"

  Unknown arguments specified

I googled for this error but got no direct answer.

Some information of my environment:

  • Win10 Pro x64
  • CMake 3.4
  • OCE-Win-bundle (latest)
  • Visual Studio 2015 Community Edition

Minor changes in CMakeLists.txt

Hi @QbProg, here is a trivial patch:

-SUBDIRS(freetype.cmake)
-SUBDIRS(gl2ps.cmake)
-SUBDIRS(freeimage.cmake)
+ADD_SUBDIRECTORY(freetype.cmake)
+ADD_SUBDIRECTORY(gl2ps.cmake)
+ADD_SUBDIRECTORY(FreeImage.cmake)

According to CMake docs, subdirs is deprecated. Please note also the change freeimage into FreeImage, this is needed on case-sensitive filesystems, I am pretty sure that your bundle may be useful also on nun-Windows platforms.

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.