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

Build errors on Mac Studio M1-max (amr64) #28

Open
MadBomber opened this issue Jul 17, 2022 · 0 comments
Open

Build errors on Mac Studio M1-max (amr64) #28

MadBomber opened this issue Jul 17, 2022 · 0 comments

Comments

@MadBomber
Copy link

Got any hints on how to get around this? I admit freely that I am now a script kiddie with no ability to program in old languages.

Dewayne
o-*

Last entry in the git log ...

commit f0d6fd44b3f31a852cbd765596b6db05a8e78276
Author: blais <[email protected]>
Date:   Fri Mar 18 10:09:41 2022 -0400

23:07:26 src $ c++ --version
Apple clang version 13.1.6 (clang-1316.0.21.2.5)
Target: arm64-apple-darwin21.5.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin


23:07:49 src $ make --version
GNU Make 3.81
Copyright (C) 2006  Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.

This program built for i386-apple-darwin11.3.0


23:07:54 src $ flex --version
flex 2.6.4 Apple(flex-34)


23:08:04 src $ bison --version
bison (GNU Bison) 2.3
Written by Robert Corbett and Richard Stallman.

Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


23:08:09 src $ qmake --version
QMake version 3.1
Using Qt version 6.3.1 in /opt/homebrew/lib


23:08:22 src $ rm Makefile
remove Makefile? y


23:08:39 src $ make -f Makefile.bootstrap
echo "MAKEDIR = ." > Makefile
cat Makefile.qmake Makefile.extra >> Makefile


23:08:53 src $ make
/Library/Developer/CommandLineTools/usr/bin/clang++ -c -pipe -stdlib=libc++ -I/opt/homebrew/opt/[email protected]/include -mdynamic-no-pic -O3 -msse2 -msse3 -mssse3 -ftree-vectorize -std=gnu++1z  -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -mmacosx-version-min=12 -Wall -Wextra -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I/opt/homebrew/lib/QtWidgets.framework/Headers -I/opt/homebrew/lib/QtGui.framework/Headers -I/opt/homebrew/lib/QtCore.framework/Headers -I. -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/OpenGL.framework/Headers -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/AGL.framework/Headers -I. -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/OpenGL.framework/Headers -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/AGL.framework/Headers -I/opt/homebrew/share/qt/mkspecs/macx-clang -F/opt/homebrew/lib -o optionsDialog.o optionsDialog.cpp
clang: warning: argument unused during compilation: '-msse2' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-msse3' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-mssse3' [-Wunused-command-line-argument]
In file included from optionsDialog.cpp:30:
./diffs.h:265:18: error: no template named 'auto_ptr' in namespace 'std'
      const std::auto_ptr<XxBuffer>* files,
            ~~~~~^
./diffs.h:275:18: error: no template named 'auto_ptr' in namespace 'std'
      const std::auto_ptr<XxBuffer>* files
            ~~~~~^
./diffs.h:284:18: error: no template named 'auto_ptr' in namespace 'std'
      const std::auto_ptr<XxBuffer>* files
            ~~~~~^
./diffs.h:299:18: error: no template named 'auto_ptr' in namespace 'std'
      const std::auto_ptr<XxBuffer>* files,
            ~~~~~^
./diffs.h:307:18: error: no template named 'auto_ptr' in namespace 'std'
      const std::auto_ptr<XxBuffer>* files
            ~~~~~^
./diffs.h:328:18: error: no template named 'auto_ptr' in namespace 'std'
      const std::auto_ptr<XxBuffer>& file1,
            ~~~~~^
./diffs.h:329:18: error: no template named 'auto_ptr' in namespace 'std'
      const std::auto_ptr<XxBuffer>& file2,
            ~~~~~^
./diffs.h:330:18: error: no template named 'auto_ptr' in namespace 'std'
      const std::auto_ptr<XxBuffer>& file3
            ~~~~~^
./diffs.h:373:18: error: no template named 'auto_ptr' in namespace 'std'
      const std::auto_ptr<XxBuffer>* files,
            ~~~~~^
In file included from optionsDialog.cpp:31:
./app.h:133:15: error: no template named 'auto_ptr' in namespace 'std'
   const std::auto_ptr<XxBuffer>* getBuffers() const;
         ~~~~~^
./app.h:338:9: error: no template named 'auto_ptr' in namespace 'std'
   std::auto_ptr<XxBuffer> readFile(
   ~~~~~^
./app.h:471:9: error: no template named 'auto_ptr' in namespace 'std'
   std::auto_ptr<XxBuffer> _files[3];
   ~~~~~^
./app.h:472:9: error: no template named 'auto_ptr' in namespace 'std'
   std::auto_ptr<XxDiffs>  _diffs;
   ~~~~~^
In file included from optionsDialog.cpp:31:
In file included from ./app.h:491:
./app.inline.h:69:19: error: no template named 'auto_ptr' in namespace 'std'
inline const std::auto_ptr<XxBuffer>* XxApp::getBuffers() const
             ~~~~~^
optionsDialog.cpp:148:30: error: use of undeclared identifier 'qVariantFromValue'
   setData( Qt::DisplayRole, qVariantFromValue( data ) );
                             ^
optionsDialog.cpp:197:30: error: use of undeclared identifier 'qVariantFromValue'
   setData( Qt::DisplayRole, qVariantFromValue( data ) );
                             ^
optionsDialog.cpp:206:30: error: use of undeclared identifier 'qVariantFromValue'
   setData( Qt::DisplayRole, qVariantFromValue( data ) );
                             ^
optionsDialog.cpp:215:30: error: use of undeclared identifier 'qVariantFromValue'
   setData( Qt::DisplayRole, qVariantFromValue( data ) );
                             ^
18 errors generated.
make: *** [optionsDialog.o] Error 1

@MadBomber MadBomber changed the title Build errors on Mac Studion M1-max (amr64) Build errors on Mac Studio M1-max (amr64) Jul 17, 2022
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

1 participant