Opened 22 months ago

Last modified 18 months ago

#66896 assigned defect

gmtk @1.4.3_13: error: no matching constructor for initialization of 'GmtkPrintout'

Reported by: cooljeanius (Eric Gallager) Owned by: rprogers@…
Priority: Normal Milestone:
Component: ports Version: 2.8.1
Keywords: Cc:
Port: gmtk

Description

  CXX      gmtkViz-gmtkViz.o
gmtkViz.cc:2367:27: error: no matching constructor for initialization of 'GmtkPrintout'
                        new wxPrintPreview(new GmtkPrintout(curPage, name),
                                               ^            ~~~~~~~~~~~~~
gmtkViz.cc:980:2: note: candidate constructor not viable: no known conversion from 'wxString' to 'const wxChar *' (aka 'const wchar_t *') for 2nd argument
        GmtkPrintout( StructPage *newPage,
        ^
gmtkViz.cc:977:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided
class GmtkPrintout : public wxPrintout {
      ^
gmtkViz.cc:2368:11: error: no matching constructor for initialization of 'GmtkPrintout'
                                                new GmtkPrintout(curPage, name),
                                                    ^            ~~~~~~~~~~~~~
gmtkViz.cc:980:2: note: candidate constructor not viable: no known conversion from 'wxString' to 'const wxChar *' (aka 'const wchar_t *') for 2nd argument
        GmtkPrintout( StructPage *newPage,
        ^
gmtkViz.cc:977:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided
class GmtkPrintout : public wxPrintout {
      ^
gmtkViz.cc:4236:16: error: no matching function for call to 'stat'
                        error_num = stat(strFile, &strFile_stat);
                                    ^~~~
/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/sys/stat.h:386:9: note: candidate function not viable: no known conversion from 'wxString' to 'const char *' for 1st argument
int     stat(const char *, struct stat *) __DARWIN_INODE64(stat);
        ^
gmtkViz.cc:4303:14: error: no matching constructor for initialization of 'FileParser'
                                fp = new FileParser(tempFileName, cppCommandOptions);
                                         ^          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./GMTK_FileParser.h:361:3: note: candidate constructor not viable: no known conversion from 'wxString' to 'const char *const' for 1st argument
  FileParser(const char *const fileName, 
  ^
./GMTK_FileParser.h:36:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided
class FileParser : public IM
      ^
gmtkViz.cc:4322:15: error: no matching constructor for initialization of 'FileParser'
                                        fp = new FileParser(tempFileName, cppCommandOptions);
                                                 ^          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./GMTK_FileParser.h:361:3: note: candidate constructor not viable: no known conversion from 'wxString' to 'const char *const' for 1st argument
  FileParser(const char *const fileName, 
  ^
./GMTK_FileParser.h:36:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided
class FileParser : public IM
      ^
gmtkViz.cc:5893:9: warning: comparison of different enumeration types in switch statement ('RVInfo::Type' and 'RVInfo::Disposition') [-Wenum-compare-switch]
                        case RVInfo::d_observed:
                             ^~~~~~~~~~~~~~~~~~
gmtkViz.cc:5890:9: warning: comparison of different enumeration types in switch statement ('RVInfo::Type' and 'RVInfo::Disposition') [-Wenum-compare-switch]
                        case RVInfo::d_hidden:
                             ^~~~~~~~~~~~~~~~
gmtkViz.cc:9303:3: error: unknown type name 'wxwxPointListNode'
                wxwxPointListNode *node = points->GetFirst();
                ^
2 warnings and 6 errors generated.
make[2]: *** [gmtkViz-gmtkViz.o] Error 1
make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_gmtk/gmtk/work/gmtk-1.4.3/tksrc'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_gmtk/gmtk/work/gmtk-1.4.3/tksrc'
make: *** [all-recursive] Error 1
make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_gmtk/gmtk/work/gmtk-1.4.3'
Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_gmtk/gmtk/work/gmtk-1.4.3" && /usr/bin/make -j16 -w all 
Exit code: 2
Error: Failed to build gmtk: command execution failed
DEBUG: Error code: CHILDSTATUS 36234 2

I'm on Big Sur with Xcode 13.

Attachments (1)

gmtk-main.log (882.0 KB) - added by cooljeanius (Eric Gallager) 22 months ago.
main.log for gmtk

Download all attachments as: .zip

Change History (2)

Changed 22 months ago by cooljeanius (Eric Gallager)

Attachment: gmtk-main.log added

main.log for gmtk

comment:1 Changed 18 months ago by ryandesign (Ryan Carsten Schmidt)

Cc: rprogers@… removed
Owner: set to rprogers@…
Status: newassigned
Note: See TracTickets for help on using tickets.