I was super happy when knew about existent of CodeLite.For first time completely vanished product.
I have tasted it and it's an amazing.I', super happy also for the plug-in MacBundler.Super useful.
There is only two thing, but very important i miss:
- how to include the libraries in the Mac bundle, making a standalone App?
- how to set CodeLite on Mac in order to not manually set for every project the path to wx?By default CodeLite gives an error showing that can't find wx library.
THANK YOU IN ADVANCE
Creating OS X App with built-in libraries
-
- CodeLite Curious
- Posts: 5
- Joined: Mon Dec 28, 2015 11:26 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Creating OS X App with built-in libraries
Usually, you will need to create a script that copies the libraries to their proper location in the bundle and run install_name_tool on them
See this wiki for more help:
https://wiki.wxwidgets.org/Distributing ... the_bundle
Eran
See this wiki for more help:
https://wiki.wxwidgets.org/Distributing ... the_bundle
Eran
Make sure you have read the HOW TO POST thread
-
- CodeLite Curious
- Posts: 5
- Joined: Mon Dec 28, 2015 11:26 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Creating OS X App with built-in libraries
Dear Eranif,
Thank you for your answer.
Unfortunately i didn't understand how to use this script with CodeLite in order to be used with CodeBundler too?
You also didn't give a tip how to make CodeLite find the default place of WX.There are many many people that suffer in the internet from this issue.
I was about to leave CodeLite before finding the solution to manually add the path in the compiler and the linker pointing to /usr/local/bin/wx-config.
If i find a solution for these problems i'll switch compleately to CodeLite and leave forever Qt, because i like WX.I'm ready also to give some money if all these things work properly, because this is part of the complete process install IDE - program - deploy.
Thank you for your answer.
Unfortunately i didn't understand how to use this script with CodeLite in order to be used with CodeBundler too?
You also didn't give a tip how to make CodeLite find the default place of WX.There are many many people that suffer in the internet from this issue.
I was about to leave CodeLite before finding the solution to manually add the path in the compiler and the linker pointing to /usr/local/bin/wx-config.
If i find a solution for these problems i'll switch compleately to CodeLite and leave forever Qt, because i like WX.I'm ready also to give some money if all these things work properly, because this is part of the complete process install IDE - program - deploy.
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Creating OS X App with built-in libraries
Create your own script and call it as part of the build: project settings->build events->post buildcpuin wrote:Unfortunately i didn't understand how to use this script with CodeLite in order to be used with CodeBundler too?
So what you are saying is that if you write: wx-config it does not work, however, using /usr/local/bin/wx-config works?cpuin wrote:I was about to leave CodeLite before finding the solution to manually add the path in the compiler and the linker pointing to /usr/local/bin/wx-config
Eran
Make sure you have read the HOW TO POST thread
-
- CodeLite Curious
- Posts: 5
- Joined: Mon Dec 28, 2015 11:26 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Creating OS X App with built-in libraries
Create your own script and call it as part of the build: project settings->build events->post buildcpuin wrote:Unfortunately i didn't understand how to use this script with CodeLite in order to be used with CodeBundler too?
I'm not a bash expert, but will give a try!
So what you are saying is that if you write: wx-config it does not work, however, using /usr/local/bin/wx-config works?cpuin wrote:I was about to leave CodeLite before finding the solution to manually add the path in the compiler and the linker pointing to /usr/local/bin/wx-config
Exactly!!!
I used Brew to install WX on OS X 10.11 El Capitan.
Is there some way to set this globally, not particular for every project?
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Creating OS X App with built-in libraries
What happens if you add this: right click on the workspace->settings->environment variables:cpuin wrote:I used Brew to install WX on OS X 10.11 El Capitan.
Code: Select all
PATH=/usr/local/bin:$PATH
Make sure you have read the HOW TO POST thread
-
- CodeLite Curious
- Posts: 5
- Joined: Mon Dec 28, 2015 11:26 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Creating OS X App with built-in libraries
On this way it works perfect.
Now i'm facing the biggest problem - creating standalone app.
QT has tool macdeployqt which automatically create App with or without framework included.
Of course QT cost a lot if somebody want to make commercial App.I see in CodeLite big future.It's great that is Open source.I'm sure that many people like me once start using this IDE as primary will pay for this, because every work need remuneration.The problem of QT is that their new approach doesn't tolerate the newbies who can't pay in the beginning for a license.
Now i'm facing the biggest problem - creating standalone app.
QT has tool macdeployqt which automatically create App with or without framework included.
Of course QT cost a lot if somebody want to make commercial App.I see in CodeLite big future.It's great that is Open source.I'm sure that many people like me once start using this IDE as primary will pay for this, because every work need remuneration.The problem of QT is that their new approach doesn't tolerate the newbies who can't pay in the beginning for a license.
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Creating OS X App with built-in libraries
Make sure you have read the HOW TO POST thread
-
- CodeLite Curious
- Posts: 5
- Joined: Mon Dec 28, 2015 11:26 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Creating OS X App with built-in libraries
Dear Eran,eranif wrote:Please open a feature request on GitHub:
https://github.com/eranif/codelite/issues/new
Eran
As alternative of the standalone app for OS X (i'm not capable to write such a bash script) probably is a good idea to create an installer using the free app Packages.Unfortunately i don't know what and from where to include as framework?In Library/Frameworks i can't see wx.It's pity that in WX site are binaries for all platforms accept OS X.