Giter VIP home page Giter VIP logo

xeus-calc's People

Contributors

egnha avatar johanmabille avatar martinrenou avatar sylvaincorlay avatar thibaultlacharme avatar vasavanthiru avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

xeus-calc's Issues

Missing conda packages from installation instructions

The build instructions fail for the conda environment that is created according to the installation instructions. On macOS, I got this error:

$ cmake -D CMAKE_INSTALL_PREFIX=$CONDA_PREFIX ..
-- Building xeus-calc v0..
CMake Error at /usr/local/Cellar/cmake/3.17.2/share/cmake/Modules/CMakeFindDependencyMacro.cmake:47 (find_package):
  By not providing "Findxtl.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "xtl", but
  CMake did not find one.
...

I could fix that by following the alternative instructions in CONTRIBUTING.md:

conda create -n xeus-calc -c conda-forge -c defaults xtl nlohmann_json cppzmq xeus

Kernel constructor is incompatible with Xeus 2

Issue: The current main.cpp is incompatible with the new kernel constructor in Xeus 2. (I presume xeus-calc ought to be current with xeus.)

Fix: Apply the changes in the Xeus 2 example main.cpp, e.g., 2937cc6.

Sample build error:

$ make
[ 25%] Building CXX object CMakeFiles/xeus-calc.dir/src/xeus_calc_interpreter.cpp.o
[ 50%] Linking CXX shared library libxeus-calc.dylib
[ 50%] Built target xeus-calc
[ 75%] Building CXX object CMakeFiles/xcalc.dir/src/main.cpp.o
.../xeus-calc/src/main.cpp:28:19: error: no matching constructor for initialization of 'xeus::xkernel'
    xeus::xkernel kernel(config, xeus::get_user_name(), std::move(interpreter));
                  ^      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.../include/xeus/xkernel.hpp:31:20: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 3 were provided
    class XEUS_API xkernel
                   ^
.../include/xeus/xkernel.hpp:62:9: note: candidate constructor not viable: requires at least 4 arguments, but 3 were provided
        xkernel(const std::string& user_name,
        ^
.../include/xeus/xkernel.hpp:51:9: note: candidate constructor not viable: requires at least 5 arguments, but 3 were provided
        xkernel(const xconfiguration& config,
        ^
1 error generated.
make[2]: *** [CMakeFiles/xcalc.dir/src/main.cpp.o] Error 1
make[1]: *** [CMakeFiles/xcalc.dir/all] Error 2
make: *** [all] Error 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.