Compiling Executor

About Mini vMac and all other 68k emulators, including SoftMac, Executor, and MESS.

Moderators: Cat_7, Ronald P. Regensburg

Post Reply
WizKid
Tinkerer
Posts: 72
Joined: Sun Jul 31, 2016 11:58 pm

Compiling Executor

Post by WizKid »

Seeing as how the latest Executor for OS X is from April of 2020, I thought compiling it from the github repo would be prudent.

So I followed the Readme in autc04's guthub repo, and the results are puzzling. I get an error:

Code: Select all

Adams-MacBook-Pro:build a_wgaa$ cmake ..
-- The C compiler identification is AppleClang 11.0.3.11030032
-- The CXX compiler identification is AppleClang 11.0.3.11030032
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /Library/Developer/CommandLineTools/usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /Library/Developer/CommandLineTools/usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found Ruby: /usr/bin/ruby (found suitable version "2.6.3", minimum required is "2.1") 
-- Found Boost: /usr/local/lib/cmake/Boost-1.74.0/BoostConfig.cmake (found version "1.74.0") found components: filesystem system 
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE  
-- Could NOT find SDL (missing: SDL_LIBRARY SDL_INCLUDE_DIR) 
-- Found SDL2: /usr/local/lib/libSDL2main.a;/usr/local/lib/libSDL2.dylib;-framework Cocoa  
CMake Warning at src/config/front-ends/qt/CMakeLists.txt:2 (find_package):
  By not providing "FindQt5.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "Qt5", but
  CMake did not find one.

  Could not find a package configuration file provided by "Qt5" with any of
  the following names:

    Qt5Config.cmake
    qt5-config.cmake

  Add the installation prefix of "Qt5" to CMAKE_PREFIX_PATH or set "Qt5_DIR"
  to a directory containing one of the above files.  If "Qt5" provides a
  separate development package or SDK, be sure it has been installed.


-- Found PkgConfig: /usr/local/bin/pkg-config (found version "0.29.2") 
-- Checking for modules 'wayland-client++;wayland-client-extra++'
--   No package 'wayland-client++' found
--   No package 'wayland-client-extra++' found
-- Found PythonInterp: /usr/bin/python (found version "2.7.16") 
CMake Warning at CMakeLists.txt:94 (find_package):
  By not providing "FindQt5.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "Qt5", but
  CMake did not find one.

  Could not find a package configuration file provided by "Qt5" with any of
  the following names:

    Qt5Config.cmake
    qt5-config.cmake

  Add the installation prefix of "Qt5" to CMAKE_PREFIX_PATH or set "Qt5_DIR"
  to a directory containing one of the above files.  If "Qt5" provides a
  separate development package or SDK, be sure it has been installed.


-- Found Boost: /usr/local/lib/cmake/Boost-1.74.0/BoostConfig.cmake (found version "1.74.0")  
CMake Error at CMakeLists.txt:100 (get_target_property):
  get_target_property() called with non-existent target "Qt5::Gui".


CMake Error at CMakeLists.txt:79 (get_target_property):
  get_target_property() called with non-existent target
  "Qt5::QCocoaIntegrationPlugin".
Call Stack (most recent call first):
  CMakeLists.txt:128 (install_qt5_plugin)


-- Configuring incomplete, errors occurred!
See also "/Volumes/Overflow/src/executor-master/build/CMakeFiles/CMakeOutput.log".
Adams-MacBook-Pro:build a_wgaa$ brew install qt5-devel
Error: No available formula or cask with the name "qt5-devel".
==> Searching for a previously deleted formula (in the last month)...
Warning: homebrew/core is shallow clone. To get complete history run:
  git -C "$(brew --repo homebrew/core)" fetch --unshallow

Error: No previously deleted formula found.
==> Searching for similarly named formulae...
Error: No similarly named formulae found.
==> Searching taps...
==> Searching taps on GitHub...
Error: No formulae found in taps.
Adams-MacBook-Pro:build a_wgaa$ brew install qt5
Warning: qt 5.15.1 is already installed and up-to-date
To reinstall 5.15.1, run `brew reinstall qt`
Adams-MacBook-Pro:build a_wgaa$ brew update
Already up-to-date.
I've already installed Qt via homebrew, otherwise I wouldn't be able to run the version from April 22nd.

Any suggestions? :???:
User avatar
adespoton
Forum All-Star
Posts: 4226
Joined: Fri Nov 27, 2009 5:11 am
Location: Emaculation.com
Contact:

Re: Compiling Executor

Post by adespoton »

WizKid wrote: Wed Oct 28, 2020 8:38 pm Seeing as how the latest Executor for OS X is from April of 2020, I thought compiling it from the github repo would be prudent.

So I followed the Readme in autc04's guthub repo, and the results are puzzling. I get an error:

Code: Select all

Adams-MacBook-Pro:build a_wgaa$ cmake ..
-- The C compiler identification is AppleClang 11.0.3.11030032
-- The CXX compiler identification is AppleClang 11.0.3.11030032
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /Library/Developer/CommandLineTools/usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /Library/Developer/CommandLineTools/usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found Ruby: /usr/bin/ruby (found suitable version "2.6.3", minimum required is "2.1") 
-- Found Boost: /usr/local/lib/cmake/Boost-1.74.0/BoostConfig.cmake (found version "1.74.0") found components: filesystem system 
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE  
-- Could NOT find SDL (missing: SDL_LIBRARY SDL_INCLUDE_DIR) 
-- Found SDL2: /usr/local/lib/libSDL2main.a;/usr/local/lib/libSDL2.dylib;-framework Cocoa  
CMake Warning at src/config/front-ends/qt/CMakeLists.txt:2 (find_package):
  By not providing "FindQt5.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "Qt5", but
  CMake did not find one.

  Could not find a package configuration file provided by "Qt5" with any of
  the following names:

    Qt5Config.cmake
    qt5-config.cmake

  Add the installation prefix of "Qt5" to CMAKE_PREFIX_PATH or set "Qt5_DIR"
  to a directory containing one of the above files.  If "Qt5" provides a
  separate development package or SDK, be sure it has been installed.


-- Found PkgConfig: /usr/local/bin/pkg-config (found version "0.29.2") 
-- Checking for modules 'wayland-client++;wayland-client-extra++'
--   No package 'wayland-client++' found
--   No package 'wayland-client-extra++' found
-- Found PythonInterp: /usr/bin/python (found version "2.7.16") 
CMake Warning at CMakeLists.txt:94 (find_package):
  By not providing "FindQt5.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "Qt5", but
  CMake did not find one.

  Could not find a package configuration file provided by "Qt5" with any of
  the following names:

    Qt5Config.cmake
    qt5-config.cmake

  Add the installation prefix of "Qt5" to CMAKE_PREFIX_PATH or set "Qt5_DIR"
  to a directory containing one of the above files.  If "Qt5" provides a
  separate development package or SDK, be sure it has been installed.


-- Found Boost: /usr/local/lib/cmake/Boost-1.74.0/BoostConfig.cmake (found version "1.74.0")  
CMake Error at CMakeLists.txt:100 (get_target_property):
  get_target_property() called with non-existent target "Qt5::Gui".


CMake Error at CMakeLists.txt:79 (get_target_property):
  get_target_property() called with non-existent target
  "Qt5::QCocoaIntegrationPlugin".
Call Stack (most recent call first):
  CMakeLists.txt:128 (install_qt5_plugin)


-- Configuring incomplete, errors occurred!
See also "/Volumes/Overflow/src/executor-master/build/CMakeFiles/CMakeOutput.log".
Adams-MacBook-Pro:build a_wgaa$ brew install qt5-devel
Error: No available formula or cask with the name "qt5-devel".
==> Searching for a previously deleted formula (in the last month)...
Warning: homebrew/core is shallow clone. To get complete history run:
  git -C "$(brew --repo homebrew/core)" fetch --unshallow

Error: No previously deleted formula found.
==> Searching for similarly named formulae...
Error: No similarly named formulae found.
==> Searching taps...
==> Searching taps on GitHub...
Error: No formulae found in taps.
Adams-MacBook-Pro:build a_wgaa$ brew install qt5
Warning: qt 5.15.1 is already installed and up-to-date
To reinstall 5.15.1, run `brew reinstall qt`
Adams-MacBook-Pro:build a_wgaa$ brew update
Already up-to-date.
I've already installed Qt via homebrew, otherwise I wouldn't be able to run the version from April 22nd.

Any suggestions? :???:
Yes... install Qt5 from the Qt website. I've had nothing but headaches with the partial package available in homebrew.

Be prepared though; installing the version from the website installs a whole bunch of SDKs which are tens of GBs each. You can safely remove them once you've installed Qt and still build projects that don't use them.
Post Reply