HOWTO: wxWidgets + VC2005 Express WITH ONLINE HELP!!!
HOWTO: wxWidgets + VC2005 Express WITH ONLINE HELP!!!
i wrote this in a text file so i would remember all steps required to setup VC2005 Express for use with wxWidgets, its a gathering of several articles & notes ibe found arround.
hope you find it usefull.
UPDATE: this giude should work for wxWidgets 2.63. when something in inapropiate for wxWidgets 2.63 it will be specifically noticed.
TODO for Visual C++ 2005 Express & wxWidgets 2.62 (2.63)
1.- Download and install VC2005 & MSDN Express (follow microsoft
hope you find it usefull.
UPDATE: this giude should work for wxWidgets 2.63. when something in inapropiate for wxWidgets 2.63 it will be specifically noticed.
TODO for Visual C++ 2005 Express & wxWidgets 2.62 (2.63)
1.- Download and install VC2005 & MSDN Express (follow microsoft
Last edited by cpp on Wed Apr 05, 2006 1:24 am, edited 9 times in total.
Hier Kommt die Sonne...
ibe never used wxWidgets as a DLL (i dont like dlls), but the same steps above should apply to the dll build as well.
maybe you forgot to set
in the setup.h file before compiling the library? it is set to 0 by default
HTH
maybe you forgot to set
Code: Select all
// Define 1 to use ODBC classes
#define wxUSE_ODBC 1
HTH
Hier Kommt die Sonne...
-
- Filthy Rich wx Solver
- Posts: 210
- Joined: Sat May 07, 2005 8:24 pm
- Location: Eskisehir, TURKEY
- Contact:
If ( you have VC )nibor wrote:could you post how to compile the wx DLLs ?
I get this error
------ Build started: Project: dbgrid, Configuration: DLL Unicode Debug Win32 ------
Linking...
LINK : fatal error LNK1104: cannot open file '..\..\lib\vc_dll\wxbase26ud_odbc.lib'
Which is not created
{
I am using nmake. Edit makefile.vc & config.vc in wx/build folder before compiling.
"Shared = 1" for wx DLL using.
};
- 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/
The odbc lib is not created, the DLL of it is.
The problem is a faulty dependency in the dsw file.
Follow these extra steps to compile all the DLL's
-------------------------------------------
1 )
Open the Project Dependency of "DBGRID", you have to uncheck
odbc. After that open the Properties of "DBGRID" and go
to Configuration Properties -> Linker.
2)
Remove from the "Additional Dependencies" list : ..\..\lib\vc_dll\wxbase26ud_odbc.lib
3)
And add this one to the "Ignore specific Library" (don't know if the step is mandatory)
4)
Build the whole solution, it doesn't do this in the right order, so you have to press F5 (build) a couple of times. All DLL's will be build correctly.
------------------------------
I tried this for DLL Unicode Release and DLL Unicode Static.
Btw, I don't like DLL's either, but because I need to create plugins (as DLL's) which also need WX, it's not that efficient to create them all with static linking.
The problem is a faulty dependency in the dsw file.
Follow these extra steps to compile all the DLL's
-------------------------------------------
1 )
Open the Project Dependency of "DBGRID", you have to uncheck
odbc. After that open the Properties of "DBGRID" and go
to Configuration Properties -> Linker.
2)
Remove from the "Additional Dependencies" list : ..\..\lib\vc_dll\wxbase26ud_odbc.lib
3)
And add this one to the "Ignore specific Library" (don't know if the step is mandatory)
4)
Build the whole solution, it doesn't do this in the right order, so you have to press F5 (build) a couple of times. All DLL's will be build correctly.
------------------------------
I tried this for DLL Unicode Release and DLL Unicode Static.
Btw, I don't like DLL's either, but because I need to create plugins (as DLL's) which also need WX, it's not that efficient to create them all with static linking.
I need wxtiffd.lib file
I don't know why does the wxtiffd.lib (requiered to create wxWidgets Applications with VC++ Express...) file is not created when I build the wx proyect with VC++.
fatal error CVT1100: duplicate resource. type:MANIFEST...
I've got this error when I try to compile any of the wx samples. I have already created the libraries. I got rid of the error message when I dissable incremental linking. Anyway, I guess I shouldn't get this error message, because the instructions doesn't say anything about it. Did I do anything wrong? Is this the better way to fix the problem?
as it sais in the instructions (under the "notes for your projects" section),
you need to add
in the application
you need to add
Code: Select all
#define wxUSE_NO_MANIFEST 1
Hier Kommt die Sonne...
Sorry guys, I have a new problem
I get a hundred errors like "unresolved external..." for, I guess, every wx function called by the application. Now I'm trying to compile not a sample (the samples run ok), but an application imported from wxDevC++. Maybe the proyect isn't linked to the wx libraries. The wx libraries and includes directories are included on the VC++ Directories.
-
- Earned a small fee
- Posts: 11
- Joined: Sun Nov 13, 2005 5:00 pm
- Location: Grenzach-Wyhlen, Germany
-
- Earned a small fee
- Posts: 11
- Joined: Sun Nov 13, 2005 5:00 pm
- Location: Grenzach-Wyhlen, Germany
I posted something regarding this on the wiki. You can download the Windows Platform SDK by doing a google search for Windows SDK. It is the first link (you will be redirected). Then you just have to set your project settings to point to the SDK include/library directories, as it installs in a different location than VC++ Express Edition is configured to look.fourcorner wrote:oh...no, I didn't.
Could you tell how I have to do this?
thx Julian
Microsoft didn't see fit to provide the SDK with VC++ Express Edition, but it is provided with Standard/Pro editions. They are trying to get people totally dependent on .NET I guess
fourcorner, i dint provide step by step instructions on installing the PSDK in the HOWTO for one reason:
if you look at the start page when you open VC2005 express, you will see a direct link under the "Getting started" section wich sais "Download the PSDK", just click it, and you will get step by step instruction on what to do. It doesnt get much easier than that.
Since it seems some people overlook this, ibe edited the how-to to show it.
if you look at the start page when you open VC2005 express, you will see a direct link under the "Getting started" section wich sais "Download the PSDK", just click it, and you will get step by step instruction on what to do. It doesnt get much easier than that.
Since it seems some people overlook this, ibe edited the how-to to show it.
Hier Kommt die Sonne...