Git Product home page Git Product logo

binarybuilder's People

Contributors

dshean avatar novas0x2a avatar oleg-alexandrov avatar scottmcmichael avatar zmoratto avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

binarybuilder's Issues

OSG fails to build

There's a problem with OpenSceneGraph's CGDisplayBitsPerPixel on OSX 10.7.4. Dump of term output below:

/private/var/folders/1b/hzk6yz497mzcxd0dmky73gp40000gn/T/BinaryBuildervAGqsc/build/osg/OpenSceneGraph-2.8.5/src/osgViewer/DarwinUtils.mm: In member function 'virtual void osgDarwin::DarwinWindowingSystemInterface::getScreenSettings(const osg::GraphicsContext::ScreenIdentifier&, osg::GraphicsContext::ScreenSettings&)':
/private/var/folders/1b/hzk6yz497mzcxd0dmky73gp40000gn/T/BinaryBuildervAGqsc/build/osg/OpenSceneGraph-2.8.5/src/osgViewer/DarwinUtils.mm:316: error: 'CGDisplayBitsPerPixel' was not declared in this scope
/private/var/folders/1b/hzk6yz497mzcxd0dmky73gp40000gn/T/BinaryBuildervAGqsc/build/osg/OpenSceneGraph-2.8.5/src/osgViewer/DarwinUtils.mm:317: warning: 'CGDisplayCurrentMode' is deprecated (declared at /Developer/SDKs/MacOSX10.7.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGDirectDisplay.h:458)
/private/var/folders/1b/hzk6yz497mzcxd0dmky73gp40000gn/T/BinaryBuildervAGqsc/build/osg/OpenSceneGraph-2.8.5/src/osgViewer/DarwinUtils.mm:317: warning: 'CGDisplayCurrentMode' is deprecated (declared at /Developer/SDKs/MacOSX10.7.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGDirectDisplay.h:458)
/private/var/folders/1b/hzk6yz497mzcxd0dmky73gp40000gn/T/BinaryBuildervAGqsc/build/osg/OpenSceneGraph-2.8.5/src/osgViewer/DarwinUtils.mm: In member function 'virtual void osgDarwin::DarwinWindowingSystemInterface::enumerateScreenSettings(const osg::GraphicsContext::ScreenIdentifier&, std::vector<osg::GraphicsContext::ScreenSettings, std::allocatorosg::GraphicsContext::ScreenSettings >&)':
/private/var/folders/1b/hzk6yz497mzcxd0dmky73gp40000gn/T/BinaryBuildervAGqsc/build/osg/OpenSceneGraph-2.8.5/src/osgViewer/DarwinUtils.mm:335: warning: 'CGDisplayAvailableModes' is deprecated (declared at /Developer/SDKs/MacOSX10.7.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGDirectDisplay.h:432)
/private/var/folders/1b/hzk6yz497mzcxd0dmky73gp40000gn/T/BinaryBuildervAGqsc/build/osg/OpenSceneGraph-2.8.5/src/osgViewer/DarwinUtils.mm:335: warning: 'CGDisplayAvailableModes' is deprecated (declared at /Developer/SDKs/MacOSX10.7.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGDirectDisplay.h:432)
/private/var/folders/1b/hzk6yz497mzcxd0dmky73gp40000gn/T/BinaryBuildervAGqsc/build/osg/OpenSceneGraph-2.8.5/src/osgViewer/DarwinUtils.mm: In member function 'bool osgDarwin::DarwinWindowingSystemInterface::setScreenResolutionImpl(const osg::GraphicsContext::ScreenIdentifier&, unsigned int, unsigned int)':
/private/var/folders/1b/hzk6yz497mzcxd0dmky73gp40000gn/T/BinaryBuildervAGqsc/build/osg/OpenSceneGraph-2.8.5/src/osgViewer/DarwinUtils.mm:401: warning: 'CGDisplayCurrentMode' is deprecated (declared at /Developer/SDKs/MacOSX10.7.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGDirectDisplay.h:458)
/private/var/folders/1b/hzk6yz497mzcxd0dmky73gp40000gn/T/BinaryBuildervAGqsc/build/osg/OpenSceneGraph-2.8.5/src/osgViewer/DarwinUtils.mm:401: warning: 'CGDisplayCurrentMode' is deprecated (declared at /Developer/SDKs/MacOSX10.7.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGDirectDisplay.h:458)
/private/var/folders/1b/hzk6yz497mzcxd0dmky73gp40000gn/T/BinaryBuildervAGqsc/build/osg/OpenSceneGraph-2.8.5/src/osgViewer/DarwinUtils.mm:403: warning: 'CGDisplayBestModeForParametersAndRefreshRate' is deprecated (declared at /Developer/SDKs/MacOSX10.7.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGDirectDisplay.h:445)
/private/var/folders/1b/hzk6yz497mzcxd0dmky73gp40000gn/T/BinaryBuildervAGqsc/build/osg/OpenSceneGraph-2.8.5/src/osgViewer/DarwinUtils.mm:405: error: 'CGDisplayBitsPerPixel' was not declared in this scope
/private/var/folders/1b/hzk6yz497mzcxd0dmky73gp40000gn/T/BinaryBuildervAGqsc/build/osg/OpenSceneGraph-2.8.5/src/osgViewer/DarwinUtils.mm:411: warning: 'CGDisplaySwitchToMode' is deprecated (declared at /Developer/SDKs/MacOSX10.7.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGDirectDisplay.h:463)
/private/var/folders/1b/hzk6yz497mzcxd0dmky73gp40000gn/T/BinaryBuildervAGqsc/build/osg/OpenSceneGraph-2.8.5/src/osgViewer/DarwinUtils.mm:411: warning: 'CGDisplaySwitchToMode' is deprecated (declared at /Developer/SDKs/MacOSX10.7.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGDirectDisplay.h:463)
/private/var/folders/1b/hzk6yz497mzcxd0dmky73gp40000gn/T/BinaryBuildervAGqsc/build/osg/OpenSceneGraph-2.8.5/src/osgViewer/DarwinUtils.mm: In member function 'bool osgDarwin::DarwinWindowingSystemInterface::setScreenRefreshRateImpl(const osg::GraphicsContext::ScreenIdentifier&, double)':
/private/var/folders/1b/hzk6yz497mzcxd0dmky73gp40000gn/T/BinaryBuildervAGqsc/build/osg/OpenSceneGraph-2.8.5/src/osgViewer/DarwinUtils.mm:433: warning: 'CGDisplayBestModeForParametersAndRefreshRate' is deprecated (declared at /Developer/SDKs/MacOSX10.7.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGDirectDisplay.h:445)
/private/var/folders/1b/hzk6yz497mzcxd0dmky73gp40000gn/T/BinaryBuildervAGqsc/build/osg/OpenSceneGraph-2.8.5/src/osgViewer/DarwinUtils.mm:435: error: 'CGDisplayBitsPerPixel' was not declared in this scope
/private/var/folders/1b/hzk6yz497mzcxd0dmky73gp40000gn/T/BinaryBuildervAGqsc/build/osg/OpenSceneGraph-2.8.5/src/osgViewer/DarwinUtils.mm:442: warning: 'CGDisplaySwitchToMode' is deprecated (declared at /Developer/SDKs/MacOSX10.7.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGDirectDisplay.h:463)
/private/var/folders/1b/hzk6yz497mzcxd0dmky73gp40000gn/T/BinaryBuildervAGqsc/build/osg/OpenSceneGraph-2.8.5/src/osgViewer/DarwinUtils.mm:442: warning: 'CGDisplaySwitchToMode' is deprecated (declared at /Developer/SDKs/MacOSX10.7.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGDirectDisplay.h:463)
[

Build on Redhat 6.7

We have a project which is required to run on RedHat 6.7 and we are interested in using visionworkbench. I am trying to run the BinaryBuilder, but it is proving problematical. I had to install a more modern C compiler (4.9.3), and I had problems with the makefiles for isis and visionworkbench where they would not find LAPACK. Also, the version of hdf5 has changed, so I had to correct that as well. So after those changes, it builds but the following self-tests on visionworkbench fail:
TestGeometry.cxx
TestLevenbergMarquardt.cxx
TestLinearAlgebra.cxx
The failures all look similar to this:

./TestLevenbergMarquardt
[==========] Running 2 tests from 1 test case.
[----------] Global test environment set-up.
[----------] 2 tests from LevenbergMarquardt
[ RUN ] LevenbergMarquardt.least_squares_model
[ OK ] LevenbergMarquardt.least_squares_model (0 ms)
[ RUN ] LevenbergMarquardt.levenberg_marquardt
unknown file: Failure
C++ exception with description "LapackExports.cc:105LAPACK reported an error with argument 4294967296 in void vw::math::gelss(vw::math::f77_int, vw::math::f77_int, vw::math::f77_int, double_, vw::math::f77_int, double_, vw::math::f77_int, double_, double, vw::math::f77_int_, double_, vw::math::f77_int, vw::math::f77_int_)" thrown in the test body.
[ FAILED ] LevenbergMarquardt.levenberg_marquardt (1 ms)
[----------] 2 tests from LevenbergMarquardt (1 ms total)

[----------] Global test environment tear-down
[==========] 2 tests from 1 test case ran. (1 ms total)
[ PASSED ] 1 test.
[ FAILED ] 1 test, listed below:
[ FAILED ] LevenbergMarquardt.levenberg_marquardt

1 FAILED TEST

Since there are f77ints in there, and that number is a really big 32bit integer, I'm guessing that something ended up dividing by zero. Do you have any hints for where I might look or what might fix the problem, or if that isn't really something to worry about?

Thanks,
Lawrence

image2toast.cc doesn't compile in VisionWorkbench

While compiling VisionWorkBench on OSX 10.7.4, I get this error:

image2toast.cc: In function 'int main(int, char*)':
image2toast.cc:90: error: 'DiskImageResourceJPEG' has not been declared
image2toast.cc:91: error: 'DiskImageResourcePNG' has not been declared
make[4]: *
* [image2toast.o] Error 1

BB can't build SuperLU Binaries on OSX

It's currently referring to blas which it expects to be shipped in ISIS. ISIS OSX doesn't ship that library since it depends on vecLib. This needs to be worked out.

ilmbase fails with gcc/4.7.0

Complains about incompatible GLIBCXX version.

ilmbase2.0.1 is available, but I remember something about a reason why BB still uses 1.0.2.

RHEL needs cmake28

Some packages (Lapack for one) require a more recent version of cmake than redhat enterprise supplies. It's possible to install a cmake28 package that provides cmake 2.8, but the executable it provides is called cmake28, not cmake. Changing the line
cmake='cmake'
in Binarbuilder.py to
cmake='cmake28'
appears to fix this problem. Binarybuilder.py should check for the cmake version and if it's less than 2.8, check if cmake28 exists.

Fails when trying to build parallel

Build fails after several attempts at building parallel:

========== parallel.compile ==========
make -j8
make  all-recursive
make[1]: Entering directory `/tmp/BinaryBuilderxwh4C_/build/parallel/parallel-20130722'
Making all in src
make[2]: Entering directory `/tmp/BinaryBuilderxwh4C_/build/parallel/parallel-20130722/src'
pod2man --release='20130722' --center='parallel' \
                --section=1 ./parallel.pod > ./parallel.1
pod2man --release='20130722' --center='parallel' \
                --section=1 ./sem.pod > ./sem.1
pod2man --release='20130722' --center='parallel' \
                --section=1 ./sql > ./sql.1
pod2man --release='20130722' --center='parallel' \
                --section=1 ./niceload.pod > ./niceload.1
pod2html ./parallel.pod > ./parallel.html
./parallel.pod around line 537: Expected text after =item, not a number
./parallel.pod around line 543: Expected text after =item, not a number
rm -f ./pod2htm*
pod2html ./sem.pod > ./sem.html
./parallel.pod around line 2811: Expected text after =item, not a number
./parallel.pod around line 2815: Expected text after =item, not a number
rm -f ./pod2htm*
pod2html ./sql > ./sql.html
POD document had syntax errors at /usr/bin/pod2man line 71.
make[2]: *** [parallel.1] Error 255
make[2]: *** Waiting for unfinished jobs....
rm -f ./pod2htm*
make[2]: Leaving directory `/tmp/BinaryBuilderxwh4C_/build/parallel/parallel-20130722/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/BinaryBuilderxwh4C_/build/parallel/parallel-20130722'
make: *** [all] Error 2
No handlers could be found for logger "root"
Failed to build parallel in attempt 0 Package[parallel] Stage[compile] Command[make] ('make', '-j8'): command returned 2 (None)
Env{'MAKEOPTS': '-j8', 'CPPFLAGS': '-I/tmp/BinaryBuilderxwh4C_/build/parallel/parallel-20130722/include -m64 -I/tmp/BinaryBuilderxwh4C_/install/noinstall/include -I/tmp/BinaryBuilderxwh4C_/install/include', 'INSTALL_DIR': '/tmp/BinaryBuilderxwh4C_/install', 'LDFLAGS': '-L/tmp/BinaryBuilderxwh4C_/build/parallel/parallel-20130722/lib -Wl,-rpath,/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa -Wl,-O1 -Wl,--enable-new-dtags -Wl,--hash-style=both -m64 -L/tmp/BinaryBuilderxwh4C_/install/lib', 'ISIS3RDPARTY': '/tmp/BinaryBuilderxwh4C_/install/isis/3rdParty/lib', 'CC': '/tmp/BinaryBuilderxwh4C_/misc/mycompilers/gcc', 'ISISROOT': '/tmp/BinaryBuilderxwh4C_/install/isis', 'prefix': '/tmp/BinaryBuilderxwh4C_/install', 'PATH': '/tmp/BinaryBuilderxwh4C_/install/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'PKG_CONFIG_PATH': '/tmp/BinaryBuilderxwh4C_/install/lib/pkgconfig', 'HOME': '/tmp/BinaryBuilderxwh4C_/build', 'F77': 'gfortran', 'CXXFLAGS': '-I/tmp/BinaryBuilderxwh4C_/build/parallel/parallel-20130722/include -O3 -g -m64 -pipe -I/tmp/BinaryBuilderxwh4C_/install/noinstall/include -I/tmp/BinaryBuilderxwh4C_/install/include', 'NOINSTALL_DIR': '/tmp/BinaryBuilderxwh4C_/install/noinstall', 'DOWNLOAD_DIR': '/tmp/tarballs', 'BUILD_DIR': '/tmp/BinaryBuilderxwh4C_/build', 'CXX': '/tmp/BinaryBuilderxwh4C_/misc/mycompilers/g++', 'MISC_DIR': '/tmp/BinaryBuilderxwh4C_/misc', 'CFLAGS': '-I/tmp/BinaryBuilderxwh4C_/build/parallel/parallel-20130722/include -O3 -g -m64 -pipe'}
Sleep for 60 seconds and try again

I'm not sure if this is an issue with the Parallel docs (POD document had syntax errors at /usr/bin/pod2man line 71.) or something with the build script. Is there a way to change the GNU Parallel version?

-Thanks

VW doesn't actually build against the BB-installed boost headers

Binary builder currently installs the Boost headers at

/BINARY_BUILDER_DEST/include/boost-1_49/boost

Normally, only /BINARY_BUILDER_DEST/include is included via -I statements to the compiler. Therefore the BinaryBuilder-installed headers are not included unless someone specficially adds /BINARY_BUILDER_DEST/include/boost-1_49 to their -I arguments.

I have Boost 1.48 installed on my system, and Binary Builder installed 1.49. When I tried to compile a program with Vision Workbench, the file

/VW_DEST/include/vw/config.h

with this code:

// Check to make sure the user is using the same version of Boost
// headers that the software was built with.
#include <boost/version.hpp>
#if BOOST_VERSION != VW_BOOST_VERSION
#error You are using a different version of Boost (BOOST_VERSION) than you used to build VW_! (VW_BOOST_VERSION)
#endif

causes the error, because its grabbing the system's boost/version.hpp, while VW_BOOST_VERSION is 1.49, since it was installed with BinaryBuilder.

A solution may be to install the Boost headers in

/BINARY_BUILDER_DEST/include/boost-1_49

and then create a symbolic link like so:

/BINARY_BUILDER_DEST/include/boost -> boost-1_49

This allows you to keep multiple versions of the headers around, but the symlink allows for the 'regular' include pattern to pick up the directory.

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.