Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error: use of class template 'INDI::WidgetView' requires template arguments #44

Open
lukashermann opened this issue Mar 26, 2024 · 1 comment

Comments

@lukashermann
Copy link

This error happens when I try to install pyindi-client on MacOS 14.
I attached the full log output here:
full_error.txt

indiclientpython_wrap.cpp:37719:9: error: use of class template 'INDI::WidgetView' requires template arguments
  INDI::WidgetView *arg1 = 0 ;
        ^
/usr/local/include/libindi/indipropertyview.h:348:8: note: template is declared here
struct WidgetView;
       ^
indiclientpython_wrap.cpp:37733:34: error: use of class template 'INDI::WidgetView' requires template arguments
  arg1 = reinterpret_cast< INDI::WidgetView * >(argp1);
                                 ^
/usr/local/include/libindi/indipropertyview.h:348:8: note: template is declared here
struct WidgetView;
       ^
indiclientpython_wrap.cpp:37738:84: error: use of class template 'INDI::WidgetView' requires template arguments
        result = (INDI::WidgetView< IText > *)new INDI::WidgetView< IText >((INDI::WidgetView const &)*arg1);
                                                                                   ^
/usr/local/include/libindi/indipropertyview.h:348:8: note: template is declared here
struct WidgetView;
       ^
indiclientpython_wrap.cpp:37754:9: error: use of class template 'INDI::WidgetView' requires template arguments
  INDI::WidgetView *arg1 = 0 ;
        ^
/usr/local/include/libindi/indipropertyview.h:348:8: note: template is declared here
struct WidgetView;
       ^
indiclientpython_wrap.cpp:37757:26: error: use of class template 'INDI::WidgetView' requires template arguments
  std::unique_ptr< INDI::WidgetView > rvrdeleter1 ;
                         ^
/usr/local/include/libindi/indipropertyview.h:348:8: note: template is declared here
struct WidgetView;
       ^
indiclientpython_wrap.cpp:37773:34: error: use of class template 'INDI::WidgetView' requires template arguments
  arg1 = reinterpret_cast< INDI::WidgetView * >(argp1);
                                 ^
/usr/local/include/libindi/indipropertyview.h:348:8: note: template is declared here
struct WidgetView;
       ^
indiclientpython_wrap.cpp:37779:84: error: use of class template 'INDI::WidgetView' requires template arguments
        result = (INDI::WidgetView< IText > *)new INDI::WidgetView< IText >((INDI::WidgetView &&)*arg1);
                                                                                   ^
/usr/local/include/libindi/indipropertyview.h:348:8: note: template is declared here
struct WidgetView;
       ^
indiclientpython_wrap.cpp:39201:9: error: use of class template 'INDI::WidgetView' requires template arguments
  INDI::WidgetView *arg1 = 0 ;
        ^
/usr/local/include/libindi/indipropertyview.h:348:8: note: template is declared here
struct WidgetView;
       ^
indiclientpython_wrap.cpp:39215:34: error: use of class template 'INDI::WidgetView' requires template arguments
  arg1 = reinterpret_cast< INDI::WidgetView * >(argp1);
                                 ^
/usr/local/include/libindi/indipropertyview.h:348:8: note: template is declared here
struct WidgetView;
       ^
indiclientpython_wrap.cpp:39220:88: error: use of class template 'INDI::WidgetView' requires template arguments
        result = (INDI::WidgetView< INumber > *)new INDI::WidgetView< INumber >((INDI::WidgetView const &)*arg1);
                                                                                       ^
/usr/local/include/libindi/indipropertyview.h:348:8: note: template is declared here
struct WidgetView;
       ^
indiclientpython_wrap.cpp:39236:9: error: use of class template 'INDI::WidgetView' requires template arguments
  INDI::WidgetView *arg1 = 0 ;
        ^
/usr/local/include/libindi/indipropertyview.h:348:8: note: template is declared here
struct WidgetView;
       ^
indiclientpython_wrap.cpp:39239:26: error: use of class template 'INDI::WidgetView' requires template arguments
  std::unique_ptr< INDI::WidgetView > rvrdeleter1 ;
                         ^
/usr/local/include/libindi/indipropertyview.h:348:8: note: template is declared here
struct WidgetView;
       ^
indiclientpython_wrap.cpp:39255:34: error: use of class template 'INDI::WidgetView' requires template arguments
  arg1 = reinterpret_cast< INDI::WidgetView * >(argp1);
                                 ^
/usr/local/include/libindi/indipropertyview.h:348:8: note: template is declared here
struct WidgetView;
       ^
indiclientpython_wrap.cpp:39261:88: error: use of class template 'INDI::WidgetView' requires template arguments
        result = (INDI::WidgetView< INumber > *)new INDI::WidgetView< INumber >((INDI::WidgetView &&)*arg1);
                                                                                       ^
/usr/local/include/libindi/indipropertyview.h:348:8: note: template is declared here
struct WidgetView;
       ^
indiclientpython_wrap.cpp:41035:9: error: use of class template 'INDI::WidgetView' requires template arguments
  INDI::WidgetView *arg1 = 0 ;
        ^
/usr/local/include/libindi/indipropertyview.h:348:8: note: template is declared here
struct WidgetView;
       ^
indiclientpython_wrap.cpp:41049:34: error: use of class template 'INDI::WidgetView' requires template arguments
  arg1 = reinterpret_cast< INDI::WidgetView * >(argp1);
                                 ^
/usr/local/include/libindi/indipropertyview.h:348:8: note: template is declared here
struct WidgetView;
       ^
indiclientpython_wrap.cpp:41054:88: error: use of class template 'INDI::WidgetView' requires template arguments
        result = (INDI::WidgetView< ISwitch > *)new INDI::WidgetView< ISwitch >((INDI::WidgetView const &)*arg1);
                                                                                       ^
/usr/local/include/libindi/indipropertyview.h:348:8: note: template is declared here
struct WidgetView;
       ^
indiclientpython_wrap.cpp:41070:9: error: use of class template 'INDI::WidgetView' requires template arguments
  INDI::WidgetView *arg1 = 0 ;
        ^
/usr/local/include/libindi/indipropertyview.h:348:8: note: template is declared here
struct WidgetView;
       ^
indiclientpython_wrap.cpp:41073:26: error: use of class template 'INDI::WidgetView' requires template arguments
  std::unique_ptr< INDI::WidgetView > rvrdeleter1 ;
                         ^
/usr/local/include/libindi/indipropertyview.h:348:8: note: template is declared here
struct WidgetView;
       ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
8 warnings and 20 errors generated.
error: command '/usr/bin/clang' failed with exit code 1
@aaronwmorris
Copy link
Contributor

This is likely related to indilib/indi#2063 which is included in indi 2.0.8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants