NeoEditor icon indicating copy to clipboard operation
NeoEditor copied to clipboard

Mac OS binary version

Open Sponk opened this issue 11 years ago • 7 comments
trafficstars

I can't provide a Mac OS binary since I don't own any Apple hardware. Here is help needed!

Sponk avatar Aug 07 '14 08:08 Sponk

We now have support for building the engine on OS X. Thanks to @BitPuffin for fixing all problems!

The version is not feature complete though. There are some problems with OpenGL since OS X packages a GL3+ Core context and no compatibility context. That means the whole GL2.1 graphics subsytem needs to be rewritten in order to work there. The work already started in the "gl4-renderer" branch.

Closing since building on OS X works now.

Sponk avatar Feb 08 '15 11:02 Sponk

-- Using default Mono include directory for Linux.
-- Using default Mono libraries for Linux.
DIST_NAME: luajit
DIST_VERSION: 2.0.3
DIST_LICENSE: MIT/X11
DIST_AUTHOR: Mike Pall
DIST_MAINTAINER: Peter Drahoš
DIST_URL: http://www.luajit.org
DIST_DESC: LuaJIT is JIT compiler for the Lua language.
DIST_DEPENDS: 
DASM_FLAGS: -D FPU -D HFABI -D P64 -D JIT -D FFI -D SSE2 -D VER=
DASM_ARCH: x86
-- Will NOT generate script bindings for NeoCore
-- Will NOT generate script bindings for NeoEngine
CMake Error at Neo/Plugins/NeoEditor/runtime/filedialog/CMakeLists.txt:7 (find_package):
  By not providing "FindQt5Widgets.cmake" in CMAKE_MODULE_PATH this project
  has asked CMake to find a package configuration file provided by
  "Qt5Widgets", but CMake did not find one.

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

    Qt5WidgetsConfig.cmake
    qt5widgets-config.cmake

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


CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
FREETYPE_LIBRARY
    linked by target "AssetLoading" in directory /Users/isak/src/softlib/neo/Neo/Plugins/AssetLoading

Latest OS X errors with cmake on development branch

BitPuffin avatar May 23 '16 14:05 BitPuffin

Trying installing qt5 and seeing if that helps. But Neo doesn't even use qt5 does it? Or maybe it does for native dialogs

BitPuffin avatar May 23 '16 14:05 BitPuffin

It is only used for some native dialogs. You can turn them off in Neo/Plugins/NeoEditor/runtime/CMakeLists.txt. I have a CMake variable in my local version to turn them off but didn't push them yet.

On OS X the questions arises if the native tools should be written with Qt or if they should be re-written to use Obj-C and Cocoa?

Sponk avatar May 23 '16 14:05 Sponk

I think we should have the tools use native Cocoa API on OS X.

BitPuffin avatar May 23 '16 14:05 BitPuffin

Ok, the same should be done for Win32 so Qt is only needed on Linux, where it most likely is already installed. I would suggest detecting the OS in the CMakeLists.txt of each tool and add all platform dependent sources accordingly. Each more complex tool should have some sort of Backend class to abstract functionality away from the UI.

Sponk avatar May 24 '16 09:05 Sponk

We could even provide GTK equivalents that could be optionally chosen. That would be more ideal.

BitPuffin avatar May 24 '16 14:05 BitPuffin