Package Details: sciplot 1:0.3.1-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: 2024-05-05 15:36 (UTC)

Latest Comments

dbermond commented on 2024-02-17 17:29 (UTC)

@wmww @Elmar Fixed, thanks for reporting.

Elmar commented on 2024-02-16 01:46 (UTC)

Yes, I can confirm and share wmww's observation in Feb 2024 that this package aborts the transaction which is quite unfortunate after 20min of building other dependencies.

The reason is, it lists the wrong dependency. The packagebuild does not assume catch2, which is being listed as dependency, but catch2-v2 which even conflicts with the former.

As this package seems to lack maintenance, anyone can apply the fix easily yourself. I am using the Pamac GUI and it allows me to "edit buildfiles" of packages like sciplot. In the line makedepends=… just change catch2 to catch2-v2 and save. If catch2 was already downloaded for this reason, remove the catch2 package before adding sciplot.

wmww commented on 2024-01-18 07:33 (UTC)

It was failing to build for me with the error:

cp: cannot stat '/usr/include/catch2/catch.hpp': No such file or directory

But changing the catch2 build dependency to catch2-v2 fixed it.

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.

<deleted-account> 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...