Package Details: sciplot 1:0.2.2-1

Git Clone URL: https://aur.archlinux.org/sciplot.git (read-only, click to copy)
Package Base: sciplot
Description: C++ scientific plotting library powered by gnuplot
Upstream URL: https://github.com/sciplot/sciplot/
Licenses: MIT
Submitter: dbermond
Maintainer: dbermond
Last Packager: dbermond
Votes: 0
Popularity: 0.000000
First Submitted: 2022-02-11 21:55 (UTC)
Last Updated: 2022-11-14 11:20 (UTC)

Latest Comments

dbermond commented on 2022-12-18 23:08 (UTC)

@newsboost Plot2D class is present on version 0.3.x, and the package is at 0.2.x I'm letting it outdated due to libsurvive build issues. Maybe I should prepare a versioned sciplot package for libsurvive.

newsboost commented on 2022-12-18 19:22 (UTC)

Hi, sorry if this is a stupid question. But I downloaded this and there are some headerfiles in /usr/include/sciplot/. So, I then tried https://sciplot.github.io/tutorials/ and tried compiling with:

g++ -I/usr/include/sciplot demo.cpp
demo.cpp: In function ‘int main(int, char**)’:
demo.cpp:19:5: error: ‘Plot2D’ was not declared in this scope
   19 |     Plot2D plot1;
      |     ^~~~~~
demo.cpp:21:5: error: ‘plot1’ was not declared in this scope
   21 |     plot1.palette("paired");
      |     ^~~~~
demo.cpp:28:11: error: expected ‘;’ before ‘plot2’
   28 |     Plot2D plot2;
      |           ^~~~~~
      |           ;

It looks like a file "Plot2d.hxx" or something is missing. Or am I misunderstanding something?

dbermond commented on 2022-02-27 00:39 (UTC)

@meister1593 Fixed.

meister1593 commented on 2022-02-26 14:07 (UTC)

Doesn't build

[ 97%] Building CXX object tests/CMakeFiles/sciplot-cpptests.dir/sciplot.test.cxx.o
In file included from /usr/include/signal.h:328,
                 from /home/plyshka/arch/sciplot/src/sciplot/tests/catch.hpp:5458,
                 from /home/plyshka/arch/sciplot/src/sciplot/tests/sciplot.test.cxx:3:
/home/plyshka/arch/sciplot/src/sciplot/tests/catch.hpp:8357:54: error: call to non-‘constexpr’ function ‘long int sysconf(int)’
 8357 | constexpr static std::size_t sigStackSize = 32768 >= MINSIGSTKSZ ? 32768 : MINSIGSTKSZ;
      |                                                      ^~~~~~~~~~~
In file included from /usr/include/bits/sigstksz.h:24,
                 from /usr/include/signal.h:328,
                 from /home/plyshka/arch/sciplot/src/sciplot/tests/catch.hpp:5458,
                 from /home/plyshka/arch/sciplot/src/sciplot/tests/sciplot.test.cxx:3:
/usr/include/unistd.h:640:17: note: ‘long int sysconf(int)’ declared here
  640 | extern long int sysconf (int __name) __THROW;
      |                 ^~~~~~~
In file included from /home/plyshka/arch/sciplot/src/sciplot/tests/sciplot.test.cxx:3:
/home/plyshka/arch/sciplot/src/sciplot/tests/catch.hpp:8424:41: error: size of array ‘altStackMem’ is not an integral constant-expression
 8424 | char FatalConditionHandler::altStackMem[sigStackSize] = {};
      |                                         ^~~~~~~~~~~~
make[2]: *** [tests/CMakeFiles/sciplot-cpptests.dir/build.make:398: tests/CMakeFiles/sciplot-cpptests.dir/sciplot.test.cxx.o] Error 1
make[2]: Leaving directory '/home/plyshka/arch/sciplot/src/build'
make[1]: *** [CMakeFiles/Makefile2:365: tests/CMakeFiles/sciplot-cpptests.dir/all] Error 2
make[1]: Leaving directory '/home/plyshka/arch/sciplot/src/build'
make: *** [Makefile:136: all] Error 2
make: Leaving directory '/home/plyshka/arch/sciplot/src/build'
==> ERROR: A failure occurred in build().
    Aborting...