Porting .NET C ++ to Mac

I need to give an assessment for porting a stand-alone program on a Mac from the .NET platform. I have all the source code that is in C ++, and this is the code I wrote, and a modified version of GLUT / GLUI, because the program uses OpenGL and GLUT / GLUI as the user interface.

I don’t think that C ++ code will be a problem or OpenGL environment, please tell me if you think it will be. In .NET, I use OpenGL32.DLL and deploy it with my application. I need to figure out how to do this for a Mac?

I really need to know what the current deployment method for Mac is these days, and how hard it is for me to write for it. For .NET, I use Visual Studio to develop and deploy the application, I create a new VS project to create a deployable MS installer.

The deployment process also allows you to create desktop shortcuts, associate a unique icon with the program ... What deployment options can I choose on a Mac? What do you think will be the biggest obstacles?

There is no .NET framework call in the code. During the deployment phase, a .NET assembly is created with all the security features. I think this is a basic relationship with .NET, as it is direct C ++, not C #.

+3
source share
1 answer

Development should be quite simple. You can do OpenGL / GLUT / etc ... through the Cocoa framework. Check out this example from Apple to learn how to do this in code.

As for development tools, you can use Xcode (free from Mac). You can develop in C ++ and compile with GCC.

+2
source

Source: https://habr.com/ru/post/1712048/


All Articles