Home » Developing U++ » Mac OS » TheIDE on MAC OSX Sierra - X11 
	
		
		
			| TheIDE on MAC OSX Sierra - X11 [message #47562] | 
			Sat, 28 January 2017 21:53   | 
		 
		
			
				
				
				
					
						  
						mdelfede
						 Messages: 1310 Registered: September 2007 
						
					 | 
					Ultimate Contributor  | 
					 | 
		 
		 
	 | 
 
	
		Hi, 
 
I managed to run theide on Mac OsX Sierra, in X11 mode, and compile and run a gui application (always in X11 mode). 
Just some small problems with the makefile, which I patched manually, because of wrong placement of X11 and freetype files on MAC. 
 
For reference, you need these path for include files : 
 
/opt/X11/include
/opt/X11/include/freetype2
  
 
and for the library : 
 
 
 
As builder I've choosen CLANG, don't forget to select "shared libs" options (-static is not supported on MAC) and to add above paths also in include and libs tabs. 
 
Here a picture of Puzzle example running on top of theide : 
 
  
 
Ciao 
 
Max 
 
Edit : I followed points 1..4 from 
 
 http://www.ultimatepp.org/forums/index.php?t=msg&th=9339 &goto=44897&#msg_44897 
 
but using latest tarball and snv source tree for upp folder. 
The only small difficulties are the makefiles patches (just insert include and libs near the already existing X11 ones...), 
a small patch to core/TimeDate.cpp (just insert an #include <time.h> on top) and the manual filling of builder. 
 
		
	- 
	
 
	Attachment: puzzlemac.png
	 
	(Size: 427.05KB, Downloaded 1113 times)
 
 
		
		[Updated on: Sat, 28 January 2017 22:00] Report message to a moderator  
 |  
	| 
		
	 | 
 
 
 |  
	| 
		
 |  
	| 
		
 |  
	| 
		
 |  
	| 
		
 |   
Goto Forum:
 
 Current Time: Tue Nov 04 12:44:09 CET 2025 
 Total time taken to generate the page: 0.22794 seconds 
 |