My wxWidgets application doesn't run in other computers,why? Topic is solved
My wxWidgets application doesn't run in other computers,why?
Hi..
I have created successful an wxWidgets application using Microsoft Visual Studio 2005 but when trying to run my .exe in another computer appears the message:
"The applicaci
I have created successful an wxWidgets application using Microsoft Visual Studio 2005 but when trying to run my .exe in another computer appears the message:
"The applicaci
Last edited by idhan on Sun Mar 19, 2006 8:50 pm, edited 1 time in total.
When you compile an application you can link the libraries you are programming against (wxBase, etc) either statically or dynamically.
If you like the compiled code dynamically the end user will need to have the libraries on the computer you are using your app on (so that the app can link to the code).
But if you compile it statically then the libraries are embedded inside of the assembly. The only drawback is the output size. Depending on how many different libraries you are using the size can be huge, but it usually is not big.
Static builds, you do not need extrernal files, just the exe is enough.
Dynamic builds, you will need the libraries within the exe's path.
configure wxWidgets with: ./configure --disable-shared
If you like the compiled code dynamically the end user will need to have the libraries on the computer you are using your app on (so that the app can link to the code).
But if you compile it statically then the libraries are embedded inside of the assembly. The only drawback is the output size. Depending on how many different libraries you are using the size can be huge, but it usually is not big.
Static builds, you do not need extrernal files, just the exe is enough.
Dynamic builds, you will need the libraries within the exe's path.
configure wxWidgets with: ./configure --disable-shared
Hi ,
I understand the static and dynamic libraries, nevertheless, I spoke to
do it under vc++ 2005. Bacause "./configure --diseable-shared" works under linux and mac. But I didn't find any flag under "setup.h" for wxwidgets 6.2 under windows to compile it again for static library.
Do you know how can I do that under windows?
I understand the static and dynamic libraries, nevertheless, I spoke to
do it under vc++ 2005. Bacause "./configure --diseable-shared" works under linux and mac. But I didn't find any flag under "setup.h" for wxwidgets 6.2 under windows to compile it again for static library.
Do you know how can I do that under windows?
-
- Filthy Rich wx Solver
- Posts: 210
- Joined: Sat May 07, 2005 8:24 pm
- Location: Eskisehir, TURKEY
- Contact:
Hi,
I am using wxVCExpressIntegration to build my project. (has auto-configuration)
You must search for wxVCExpressIntegration this site.
Generally, it is problem that forget msvcrt8.dll.
I am using wxVCExpressIntegration to build my project. (has auto-configuration)
You must search for wxVCExpressIntegration this site.
Generally, it is problem that forget msvcrt8.dll.
- T U R K E Y ?
- I love this country!
WebSites:
http://mebt.sourceforge.net/
http://wxquran.sourceforge.net/
- I love this country!
WebSites:
http://mebt.sourceforge.net/
http://wxquran.sourceforge.net/
-
- Filthy Rich wx Solver
- Posts: 210
- Joined: Sat May 07, 2005 8:24 pm
- Location: Eskisehir, TURKEY
- Contact:
http://www.priyank.in/wxWidgets/wxVCExpressIntegration/
http://www.codeproject.com/useritems/wx ... 005express
http://www.codeproject.com/useritems/wx ... 005express
- T U R K E Y ?
- I love this country!
WebSites:
http://mebt.sourceforge.net/
http://wxquran.sourceforge.net/
- I love this country!
WebSites:
http://mebt.sourceforge.net/
http://wxquran.sourceforge.net/
-
- Filthy Rich wx Solver
- Posts: 210
- Joined: Sat May 07, 2005 8:24 pm
- Location: Eskisehir, TURKEY
- Contact:
Ok, You are using MVS 2005. Make sure you link the libraries statically. Please, Build Library statically with using "nmake" again. Edit "config.vc"
in wxwidgets/build/msw folder.
in wxwidgets/build/msw folder.
- T U R K E Y ?
- I love this country!
WebSites:
http://mebt.sourceforge.net/
http://wxquran.sourceforge.net/
- I love this country!
WebSites:
http://mebt.sourceforge.net/
http://wxquran.sourceforge.net/