TransWikia.com

pst-solides3d display nothing and psSolid command not found and GPL Ghostscript 9.50: Unrecoverable error, exit code 1

TeX - LaTeX Asked by Santlance on May 26, 2021

pst-solides3d run failed

here is my code.

documentclass[a4paper]{article}
usepackage{pst-solides3d}
usepackage{pstricks}
usepackage{auto-pst-pdf}
usepackage{graphics}
begin{document}
    begin{pspicture}(-5,-4)(6,9)
        psset{viewpoint=50 20 20 rtp2xyz, Decran=50}
        psSolid[object=new,
        sommets=
        0 -2 0 
        -2 0 0 
        0 4 0 
        4 0 0 
        0 0 5, 
        faces={
            [3 2 1 0]
            [4 0 3]
            [4 3 2]
            [4 2 1]
            [4 1 0]},
        intersectiontype=0,
        intersectionplan={[0 0 1 -1] [0 0 1 -2]},
        intersectionlinewidth=1 2,
        intersectioncolor=(bleu) (rouge),
        plansepare={[0 0 1 -2]},
        name=firstSlice,
        action=draw]
    end{pspicture}
end{document}

The code runs absolutely well on other laptop, but doesn’t in my laptop.It shows that my texstudio can’t recognize the psSolid command, and run out with the error "GPL Ghostscript 9.50: Unrecoverable error, exit code 1".I have no idea to deal with it, but I guess this is because my laptop is lack of some important files ?
However, what is interesting is that I can get my picture with the way mentioned in this link Ghostscript 8.57: Unrecoverable error, exit code 1

So is anyone have the same problem or have the idea to handle it ?
****************************************update in 2021.1.7
platform warning

here I find a warning in logs, and maybe I find the reason of this problem.There is not only windows os but also windows subsystem for linux in my laptop,so i think texlive is confusing to choose one platform to compile my code, that is just my guess, but any solution about this?

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP