Menu

MathGL 2.0: troubles compiling for Octave

Help
2012-01-23
2012-10-16
  • Pascal Dupuis

    Pascal Dupuis - 2012-01-23

    Hello,
    I would like to give MathGL 2.0 a try. Under Fedora 16, I installed all the
    required the -devel packages. mathgl compiles with a few warning, but then
    installing the octave package fails with
    failed to load: /$HOME/octave/mathgl-2.0.0/i386-redhat-linux-gnu-
    api-v45+/mathgl.oct: undefined symbol: mgl_data_data_
    a 'nm -C' on mathgl.oct shows this file contains the undefined symbol
    mgl_data_data_, which is mentioned in include/mgl/data.h, but no
    implementation is found in mgl.so. Any idea ?

    Also, if I use mkoctfile to generate the .oct package, I have different
    undefined symbols ???

    TIA

    Pascal

     
  • Alexey Balakin

    Alexey Balakin - 2012-01-25

    Thank you, it is my error -- I declare this function in header file, but
    forgot to implement. I fix this bug in SVN version. However, swig shouldn't
    use these (C-only) functions by default. Can you send me the list of undefined
    symbols and commands which you are using for generating *.oct?

    Alexey

     

Log in to post a comment.