Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Developing U++ » Mac OS » Compile X11 Source Package
Re: Compile X11 Source Package [message #25343 is a reply to message #25341] Wed, 17 February 2010 20:11 Go to previous messageGo to previous message
andrei_natanael is currently offline  andrei_natanael
Messages: 262
Registered: January 2009
Experienced Member
I would start compiling Core first and after that i would add other packages to compilation. If you do your fixes progressively would be more simple.

Try this in config.h, starting with line 10:
	#if __unix || __unix__ || __APPLE__ 
		#define PLATFORM_POSIX 1
		
		#ifdef flagGUI
			#define PLATFORM_X11 1
		#endif
	
		#if __linux
			#define PLATFORM_LINUX 1
		#else
			#if __FreeBSD__ || __OpenBSD__ || __NetBSD__
				#define PLATFORM_BSD 1
				#if __FreeBSD__
					#define PLATFORM_FREEBSD 1
				#endif
				#if __OpenBSD__
					#define PLATFORM_OPENBSD 1
				#endif
				#if __NetBSD__
					#define PLATFORM_NETBSD 1
				#endif
			#elif __sun
				#define PLATFORM_SOLARIS 1
			#elif __APPLE__
				#define PLATFORM_MACOS 1
			#else
				#error Unknown OS
			#endif
		#endif
	#endif


I've considered MacOS as a posix platform. It should solve problems with Web package or maybe not, i don't have a mac so i can't test. Smile

Andrei

P.S: Please add some new lines to quoted errors in your previous post, it make easier for others to find "Submit Reply" button Wink without scrolling too much.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: MacOS ide make problem
Next Topic: CtrlCore on Mac - xcode files and video
Goto Forum:
  


Current Time: Thu May 23 03:04:44 CEST 2024

Total time taken to generate the page: 0.02383 seconds