after some time I tried to install the newest PovRay (3.6 or 3.7) on my Mac.
Before, I only installed PovRay through ports and all went fine, I could use a full PovRay environment. If I try it now, PovRay won't start on Mac, it will crash, complaining something about "could not start in MainThread" or so. However, I´ve uninstalled PovRay with "port" because it was only the renderer, but before there also were provided a GUI which made development in PovRay very comfortable.
Because this GUI was not provided by "port", I tried to download PovRay from poverty.org: they provide a seemingly PovRay-"distribution" but only for Windows, I didn't found the MacOS Distribution. I downloaded some sort of distribution from another source, but that didn't do anything.
Then I´ve downloaded the PovRay source like in the "good old linux days" and tried to compile the source on my own, like in the good old days. Even that failed. And this is the first time I could cross-compile a linux source code since several decades. It seems as if MacOS is no longer fully supported by open-source (?).
However, while PovRay can be installed with "port", only the renderer is installed, it seems as if MacOS is not really supported by open source. Or is there an other distribution where the whole PovRay is provided?
1) In the meantime I´ve found a distribution which would work "out of the box": http://megapov.inetart.net/
I do not now this site, but it is working so far with Povray 3.8
2) I have also found an explanation and a workaround for the crash of PovRay in the terminal: there is assumable a new security "feature" in Mac OS now which prevents spawned threads to access resources on the computer like the (Desktop) window and main processes: if PovRay is rendering and trying to start the rendering window, Mac OS raises a "NSInternalInconsistencyException" and the process crashes. In case of PovRay, there is a "workaround" in prohibiting PovRay to write to the Desktop:
povray DISPLAY=off scene.pov
It simply renders without displaying the rendered scene to the desktop
Related
Centos 8 ships with Wayland as its compositor and I was forced to install centos8 due to some GLIBCXX compatability issue. Everything SEEMS to work ok but there is a curious absence of all xapps and I cant get a remote X11 session going. It seems I am in Wayland hell.
Centos 8 ships with the shiny new Wayland with rumored X11 compatibility, but all I find is articles on rumors of xwayland and a host of badly named products whose names all begin with 'W' for cute.
I cant seem to install any x11, xapps or anything that would force xwayland to install as a dependency. Its amazing how easily a decision is taken to burn thousands of hours on tens of thousands of users globally.
My best google-fu has yielded nothing.
Please help. How can I get x11 (xwayland) up and running so that I can run apps from my Windows desktop as I used to with Centos 7...?
I've already encountered this "problem" and the solution I usually apply is to disable WayLand.
To do this, just edit this file with any editor (I use VI)
/etc/gdm/custom.conf
and change the line
#WaylandEnable=false
into
WaylandEnable=false
Save and close the file and restart gdm service with
systemctl restart gdm.service
I actually built a Hackintosh to learn programming with Xcode. It runs on my Asus X555LA laptop. I downloaded the latest Xcode 9 GM build from the Apple Site (not from App store). After extracting, when I tried to install, it shows "You can't use this version of the application "Xcode" with this version of macOS; You have macOS 10.12. The application requires macOS 10.12.6 or later".
Is there any tweak to make it run on my Sierra 10.12 itself? I can't really think about upgrading the macOS version as it's a Hackintosh. I followed this guide to install macOS on my Asus laptop.
Xcode requires latest macOS, you have no choice, you need to upgrade the macOS version on your Hackintosh. Or better: Reinstall macOS in a recommended way on your PC, if you're doing Hackintosh... :)
The guide you linked is very poor... Never use premade install images, because these have been modified in an uncertain way, and you don't want to install a premade undocumented mess to your computer. It might be packed with threats, malwares, spy tools and so on.. It's the worst thing I can imagine in security aspect to install an OS image from uncertain source.
Also, there is no universal macOS installer for PCs - even though many are trying to find a way to create it: it's a bad idea and it will never succeed because there are so many PC parts, millions of differently built computers..
The only way to create a stable fully functional Hackintosh is to know your hardware and create an installer flash drive for that specific PC. First you have to download the latest macOS Sierra from AppStore, this is the only source that you can trust, because it's downloading from Apple's servers. Then install a small program, called Clover bootloader to the flash drive to make it bootable.
This is the only full and up to date guide for PC laptops. If you have questions, register to the linked site and start a new forum thread posting your questions. They will help you but please read this guide at least 3-4 times carefully because everything is described here.
I've been trying to download Xcode but when I open it nothing happens.
Xcode_8.1.xip
Do I need to us using a Mac to be programming for iOS? I am currently using Windows 10.
Simply, yes, you need to have a Mac, or some other macOS running computer to run Xcode. But...
There is a way to run Xcode on Windows, however it's a bit of work. You can follow a tutorial on the internet like this one to get Xcode working on Windows.
Let it be known that even though Xcode will run on Windows using this, it is definitely not good in quality compared to on a Mac, as there will be lag and unnecessary difficulties that wouldn't be there on Mac.
Wondering if anyone else is successfully using irfanview on OSX ML?
Or if you might suggest an alternative - a quick-n-easy image viewer with similar browsing features. (sry, iphoto and preview just seem to lack the features I miss from irfanview)
Found this solution using WineBottler [edited for recent versions and Mountain Lion].
Technically it works - irfanview does install on OSX.ML. And irfanview can read many file formats just fine. But it appears to be limited to 'built-in' formats and has problems loading images which use one of its plugins.
The Z: directory maps to the mac root. Once I figured that out it made more sense. Also, it is a bit clunky to use and not quite as convenient as it is on Windows. (Sort of sad. Well, I will just keep looking!)
--
Try WineBottler
This free software is a wrapper for WINE, which unlike other Windows emulators is really simple to set up.
It just works.
1 download WineBottler and install it. I used the developer version of wine-bottler (does not need X11 which OSX.ML no longer has by default)
2 Download the latest version of IrfanView (4.36)
3 Start WineBottler and Create a Custom Prefix
4 For the Install File, select the IrfanView installation file you just downloaded
5 In the Winetricks section select vcrun6
6 Click Install
You'll then see a standard Windows installation - follow the prompts.
At the end there's a pop-up, from which you should select ivew32.exe as the executable to run. (it defaulted to the slideshow for me)
That's it! WineBottler generates an Irfanview App that can by launched like any Mac App.
Solution found! (for me at least)
feh
Used Homebrew to install it. (Thanks Homebrew!)
On OSX.ML, this requires X11 install too (used XQuartz 2.7.4 which i had installed anyway).
I'm a unix / terminal / command line user so 'feh' works very well for me.
Unfortunately doesn't handle webp naturally yet (probably only a matter of time tho). But I can use Chrome for view those images in a pinch.
Might be worth checking out PicTwiddle Lite - only supports the most common image formats, but it wasn't clear from your question what you need. Similar browsing to IrfanView though, plus you can browse folders/thumbnails in fullscreen which is nice. And it has an OSX version.
You have to scroll down to the bottom of the page for the Lite/Free version: http://pictwiddle.com/download/
I have done a little work on lazarus' free pascal. So when a client asked me to write an application for a mac, after the initial, "it can't be done" stage. (followed by an asp.net maybe stage) i thought about writing it using lazarus.
Question is. I have only a virtual machine running mac OSX, this means that i do not really want to develop on the mac. However, i just cannot seem to get the applications that i have written in lazarus on windows to work on the mac. I have tried the deployment using the Lazarus Wiki and the MACOS folder is empty and so when i put it on the mac it doesn't run the application.
What is the best way of doing this or am i barking up the wrong tree?
It seems you want to do cross-compiling, which is theoretically possible, but may not be practical, for the reasons mentioned by Marco above.
As an alternative, you could install XCode, FreePascal, and Lazarus on a MacOX machine. You could still do your development and some testing on Windows/Linux. When you hit a certain milestone, you can copy your source code to the Mac and compile your application to test and give to the user.
Even if it were possible to easily cross-compile, there some minor differences between platforms, so (especially if it's a GUI app), you would want to test it on an actual MacOS box before giving it to the client.
I've taken the route described by Noah - and I was incredibly surprised that after about three weeks development on Windows, it took about 10 minutes to get the application running on the Mac.
My route was to install Xcode 4.3 on an old Mac Mini running snow leopard, then install Lazarus using the fink version as described here. This took a while but was done in an evening.
Then I just copied my folder across to the Mac, opened the lpi on the Mac, compiled it. It failed so I removed a windows references, recompiled, and it was working. I was truly amazed.
What linker and assembler do you use to generate binaries? To my best knowledge the linker for recent OS X versions is not available in source.
Afaik what you want (crosscompiling to Mac) is not possible for recent versions (and I've done it for PowerPC myself in the past).
The easiest is to use the Unix "file" command on the binary to see what is generated, and make sure it reads something with "MachO" in it. Easiest is if you have a Linux install (where this command is pretty standard), but versions can be found for windows too (cygwin, mingw and 3rd party)