|
|
Home » Developing U++ » Mac OS » Mac OSX: How to setup U++
|
|
|
Re: Mac OSX: How to setup U++ [message #51401 is a reply to message #51361] |
Thu, 21 March 2019 22:07   |
 |
forlano
Messages: 1207 Registered: March 2006 Location: Italy
|
Senior Contributor |
|
|
Hello,
I was able to compile my package (now testing it).
To compile X11 program I had to install Xquartz
https://www.xquartz.org/index.html
that provide a X11 replacement that is not included in Mojave.
Then I needed to run in the terminal the command
ln -s /opt/X11/include/X11 /usr/local/include/X11
to let the compiler find the files.
Then I needed to modify the include and library path in Theide to point correctly to the include and lib folder.
Luigi
edit: IGNORE THIS POST. XQuartz is not needed!!!
[Updated on: Tue, 26 March 2019 22:54] Report message to a moderator
|
|
|
Re: Mac OSX: How to setup U++ [message #51442 is a reply to message #51401] |
Tue, 26 March 2019 08:21   |
 |
mirek
Messages: 14255 Registered: November 2005
|
Ultimate Member |
|
|
forlano wrote on Thu, 21 March 2019 22:07Hello,
I was able to compile my package (now testing it).
To compile X11 program I had to install Xquartz
I still do not understand why X11. Admitedly there is some problem in u++/theide, but it would help me to know at what point did you came to conslusion that you need X11?
Have you got any errors when compiling? Or theide did not run without xquartz?
Mirek
[Updated on: Tue, 26 March 2019 08:22] Report message to a moderator
|
|
|
|
|
|
|
Re: Mac OSX: How to setup U++ [message #51661 is a reply to message #51453] |
Wed, 24 April 2019 07:35  |
 |
koldo
Messages: 3432 Registered: August 2008
|
Senior Veteran |
|
|
forlano wrote on Tue, 26 March 2019 22:52The problem was caused by the package "Office Automation" that in turn required the package "SysInfo".
It required a X11 library. The complain was caused just by this package. I have just removed SysInfo and the link arrived till the end.
There were many warnings. clang sometimes expected a struct instead of class or something similar.
So the problem was mine and not related to thieve.
This is weird, as OfficeAutomation only works in MS Windows. To reinforce this, every cpp file begins with a #ifdef _WIN32
In the other hand, SysInfo link to X11 is strong and I do not have knowledge to extend it to systems apart from Windows or X11.
Best regards
IƱaki
[Updated on: Wed, 24 April 2019 07:38] Report message to a moderator
|
|
|
Goto Forum:
Current Time: Sat Apr 26 22:00:04 CEST 2025
Total time taken to generate the page: 0.00875 seconds
|
|
|