ObjectTalk Installation
The ObjectTalk package is written in C++ and can be compiled on MacOS, Linux (Ubuntu and Alpine are tested) and Windows. To simplify the build process, Cmake is used to deal with cross-platform challenges. Right now, all platforms support the build process from the command line using very simple instructions. MacOS and Windows also support using visual development environments like Xcode and Visual Studio (Code).
ObjectTalk uses a large number of 3rd party Open Source packages. The Cmake process automatically loads the correct versions, compiles them and links them into the ObjectTalk executable (simply named ot). No endless downloads, frustrations over each package's peculiarities or countless Google searches. The plan is to just support it out of the box.
Below are simple instructions for each of the supported platforms followed by some hints that apply to all platforms.
ObjectTalk is supported on Sonoma (MacOS 14), Ventura (MacOS 13), Monterey (MacOS 12) and Big Sur (MacOS 11). There are 4 simple requirements to get your machine ready for ObjectTalk development:
To build ObjectTalk, do the following from the command line:
ObjectTalk is supported on Linux. Given the large number of flavors, the core team only tests the build process on Ubuntu 22.04 Desktop. In practice, any distribution should work as it just depends on the availability of X-Windows, Wayland and Vulkan. Other flavors of Linux will likely work as well but we'll let the community provide the instructions.
To build the full version of ObjectTalk on Ubuntu 22.04 Desktop with GUI and IDE, run the following commands:
ObjectTalk is supported on Windows 10, 11, Server 2019 and Server 2022. There are 3 simple requirements to get your machine ready for ObjectTalk development:
To build ObjectTalk, do the following from the command line:
Once you have compiled ObjectTalk, you end up with a single executable the is either in the debug/bin, debug/release, debug/xcode or debug/vs directories depending on the platform or the method used. This executable can be moved anywhere and in the future is will be distributed in a package suitable for the platform.
In priciple, the ObjectTalk executable (ot) is a command line tool that takes parameters. Here is the help you get when you run ot -h:
Usage: ot [options] scripts
Positional arguments:
scripts scripts to execute
Optional arguments:
-h --help shows help message and exits
-v --version prints version information and exits
-i --ide edit code instead of running it [default: false]
So for example: