terminate called after throwing an instance of 'std::logic_error'

  • I upgraded my servers krpanotools today.. and my code is broken now.

    Command
    /////////////////////
    /home/xxx/krpanotools/krpanotools transform view 360_equi.jpg /home/seeit360/public_html/tmp/360_equi 0 0 0 70 -outsize=150x75
    /////////////////////

    Working Dir: /home/xxx/public_html/files2

    OUTPUT NEW KRPANOTOOLS
    /////////////////////
    krpano spheretocube 1.20.8 - 64bit (build 2020-09-15)
    loading inputimage ...
    terminate called after throwing an instance of 'std::logic_error'
    what(): basic_string::_S_construct null not valid
    Aborted
    /////////////////////


    OUTPUT OLD KRPANOTOOLS
    /////////////////////
    /home/xxx/krpanotools/krpanotools_old transform view 360_equi.jpg /home/xxx/public_html/tmp/360_equi 0 0 0 70 -outsize=150x75

    ktransform 1.19 Pre Release 4 - 64bit (build 2016-04-07)
    loading inputimage ...
    done. (input imagesize 12000x6000)
    making view... 150x75
    done.
    /////////////////////


    ****EDIT GOT IT WORKING EDIT******
    Looks like the syntax was updated to
    /home/xxx/krpanotools/krpanotools spheretocube view360_equi.jpg /home/xxx/public_html/tmp/360_equi -fov=70 -outsize=150x75

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!