Giter Site home page Giter Site logo

homebrew-magnum's People

Contributors

jlaxson avatar mosra avatar

Watchers

 avatar  avatar  avatar

homebrew-magnum's Issues

Error installing magnum-plugins on Mac OS X 10.14.5 Mojave

Using brew, the following output is shown while trying to "brew install magnum-plugins":

==> Installing magnum-plugins from mosra/magnum
==> Downloading https://github.com/mosra/magnum-plugins/archive/v2019.01.tar.gz
Already downloaded: /Users/ibullard/Library/Caches/Homebrew/downloads/53509e3a2990a2916b25166b7b9f9bd97ccf6694e94eab4248ef7a54732757bd--magnum-plugins-2019.01.tar.gz
==> mkdir build
==> cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr/local/Cellar/mag
==> cmake --build .
Last 15 lines from /Users/ibullard/Library/Logs/Homebrew/magnum-plugins/03.cmake:
/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/string:888:29: note: in instantiation of function template specialization 'nlohmann::basic_json<std::map, std::vector, std::__1::basic_string, bool, long long, unsigned long long, double, std::allocator, adl_serializer>::operator basic_string_view<std::__1::basic_string_view<char, std::__1::char_traits >, 0>' requested here
{__self_view __sv = __t; return assign(__sv);}
^
/tmp/magnum-plugins-20190626-49516-66ydmn/magnum-plugins-2019.01/src/MagnumExternal/TinyGltf/tiny_gltf.h:1924:12: note: in instantiation of function template specialization 'std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator >::operator=<nlohmann::basic_json<std::map, std::vector, std::__1::basic_string, bool, long long, unsigned long long, double, std::allocator, adl_serializer>, void>' requested here
(*ret) = it.value();
^
1 error generated.
make[2]: *** [src/MagnumPlugins/TinyGltfImporter/CMakeFiles/TinyGltfImporter.dir/TinyGltfImporter.cpp.o] Error 1
make[1]: *** [src/MagnumPlugins/TinyGltfImporter/CMakeFiles/TinyGltfImporter.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 93%] Linking CXX shared module StbImageImporter.so
[ 93%] Built target StbImageImporter
[ 95%] Linking CXX shared library libMagnumOpenDdl.dylib
[ 95%] Built target MagnumOpenDdl
make: *** [all] Error 2

install magnum-plugins on Mac Catalina 10.15

I tried to install magnum plugin by command "brew install --HEAD mosra/magnum/magnum-plugins".
Here is error logs.

Scanning dependencies of target PngImageConverter
Scanning dependencies of target PngImporter
/tmp/magnum-plugins-20191016-23977-myermq/src/MagnumPlugins/JpegImporter/JpegImporter.cpp:101:5: error: use of undeclared identifier 'jpeg_mem_src'
jpeg_mem_src(&file, _in.begin(), _in.size());
^
[ 53%] Building CXX object src/MagnumPlugins/PngImageConverter/CMakeFiles/PngImageConverter.dir/PngImageConverter.cpp.o
[ 55%] Building CXX object src/MagnumPlugins/PngImporter/CMakeFiles/PngImporter.dir/PngImporter.cpp.o
1 error generated.
make[2]: *** [src/MagnumPlugins/JpegImporter/CMakeFiles/JpegImporter.dir/JpegImporter.cpp.o] Error 1
make[1]: *** [src/MagnumPlugins/JpegImporter/CMakeFiles/JpegImporter.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 57%] Linking CXX shared module ../../../Release/lib/magnum/imageconverters/MiniExrImageConverter.so
[ 57%] Built target MiniExrImageConverter
[ 60%] Linking CXX shared module ../../../Release/lib/magnum/imageconverters/PngImageConverter.so
[ 62%] Linking CXX shared module ../../../Release/lib/magnum/importers/PngImporter.so
[ 62%] Built target PngImageConverter
[ 62%] Built target PngImporter
make: *** [all] Error 2

pls help to fix, thank you.

brew error on macos

Dear Team,

[ 82%] Linking CXX shared module ../../../Release/lib/magnum/importers/StbImageImporter.so
[ 82%] Built target StbImageImporter
make: *** [all] Error 2

thanks

magnum-extras on MacOS Mojave (10.14.6)

Command I used:

brew install --HEAD mosra/magnum/magnum-extras

The error message reads:

/Users/username/Library/Caches/Homebrew/magnum-extras--git/toolchains
==> mkdir build
==> cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr/lo
==> cmake --build .
Last 15 lines from /Users/username/Library/Logs/Homebrew/magnum-extras/
03.cmake:
                     ^
/usr/local/include/Magnum/Animation/Track.h:517:22: note: candidate
 constructor not viable: requires 0 arguments, but 3 were provided
        /*implicit*/ TrackView() noexcept {}
                     ^
/usr/local/include/Magnum/Animation/Track.h:575:22: note: candidate
 constructor not viable: requires 6 arguments, but 3 were provided
        /*implicit*/ TrackView(const Containers::StridedArrayView1D
<const K>& keys, const Containers::StridedArrayView1D<const V>& val
ues, Interpolation interpolation, Interpolator interpolator, Extrap
olation before, Extrapolation after) noexcept: TrackViewStorage<K>{
keys, values, interpolation, interpolator, before, after} {}
                     ^
1 error generated.
make[2]: *** [src/player/CMakeFiles/magnum-player.dir/ScenePlayer.c
pp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
[ 95%] Linking CXX executable ../../../Release/bin/magnum-ui-galler
y
make[1]: *** [src/player/CMakeFiles/magnum-player.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 95%] Built target magnum-ui-gallery
make: *** [all] Error 2

Plugins not working with manually-built magnum-examples

I installed all taps:

brew install --HEAD mosra/magnum/corrade
brew install --HEAD mosra/magnum/magnum
brew install --HEAD mosra/magnum/magnum-plugins
brew install --HEAD mosra/magnum/magnum-integration
brew install --HEAD mosra/magnum/magnum-extras

Then build magnum-examples manually using cmake -G Xcode, then open the generated Xcode project, run target magnum-cubemap, the console shows following error:

Renderer: AMD Radeon R9 M370X OpenGL Engine by ATI Technologies Inc.
OpenGL version: 4.1 ATI-1.66.31
Using optional features:
    GL_ARB_ES2_compatibility
    GL_ARB_separate_shader_objects
    GL_ARB_texture_filter_anisotropic
    GL_ARB_texture_storage
    GL_ARB_vertex_array_object
    GL_EXT_debug_label
    GL_EXT_debug_marker
Using driver workarounds:
    no-layout-qualifiers-on-old-glsl
PluginManager::Manager::load(): plugin JpegImporter is not static and was not found in /usr/local/Cellar/magnum/HEAD-920db7a/lib/magnum/importers
Program ended with exit code: 1

I checked the directory mentioned, and there's only .conf and .so files, no static lib files:

image

ENV: macOS High Sierra 10.13.4, Xcode 9.2

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.