Kirix Support Forums

Build and running sample with wxDEVC++/gcc

Please post all general questions, comments, bug reports, and any other wxWebConnect feedback here.

Build and running sample with wxDEVC++/gcc

Postby alewis on Mon Oct 26, 2009 1:02 pm

Could you post an example or guide me to the steps in order to use this really cool component?
I installed the wxDEVC++/gcc( on VISTA 32 bit) it compiled the wxWidgets without the dll option)
I moved the folder named WebConnect to the folder common/wx(default install) and added it to the compiler path...Not sure how to get it to run..I took the test app example and referenced it and it gave an error about line 17 include of dom.h from the webcontrol.h file....
Any help would be appricated....
alewis
Registered User
 
Posts: 1
Joined: Mon Oct 26, 2009 11:59 am

Re: Build and running sample with wxDEVC++/gcc

Postby gillesp on Thu Oct 29, 2009 4:05 am

Hello
Here is the content of my file testapp.dev that I am using to compile the testapp provided with the source code :
(you can copy and paste it so as to create your own testapp.dev).

(It was created by importing the Visual C++ project file within wxDevCpp)

[Project]
FileName=testapp.dev
Name=testapp
Ver=3
IsCpp=1
ProfilesCount=3
ProfileIndex=0
Type=0
UnitCount=20
Folders="Header Files","Resource Files","Source Files",wxwebcontrol
PchHead=-1
PchSource=-1

[Profile1]
ProfileName=MingW 3.4.5
ExeOutput=Output\MingW
ObjectOutput=Objects\MingW
CompilerSet=0
CompilerType=0
Compiler=-W_@@_-c_@@_
CppCompiler=-W_@@_-c_@@_
CompilerSettings=0000001000010000000000
PreprocDefines=__GNUWIN32___@@_WIN32_@@_NDEBUG_@@__MBCS_@@__LIB_@@__WINDOWS_@@___WINDOWS___@@___WXMSW___@@___WIN32___@@_WINVER=0x0400_@@_STRICT_@@_
Includes=../supp/wxWidgets/include;../supp/wxWidgets/lib/vc_lib/msw
Type=0
Linker=-lkernel32_@@_-luser32_@@_-lgdi32_@@_-lwinspool_@@_-lcomdlg32_@@_-ladvapi32_@@_-lshell32_@@_-lole32_@@_-loleaut32_@@_-luuid_@@_-lodbc32_@@_-lodbccp32_@@_-lwxpng_@@_-lwxzlib_@@_-lwsock32_@@_-lcomctl32_@@_-lrpcrt4_@@_-lwxmsw28_@@_-lwxmsw28_gl_@@_-lwxtiff_@@_-lwxjpeg_@@_-lwxpng_@@_-lwxzlib_@@_-lwxregex_@@_-lwxexpat_@@_-mwindows_@@_-mwindows_@@_-lwxmsw28_@@_-lwxmsw28_gl_@@_-lwxtiff_@@_-lwxjpeg_@@_-lwxpng_@@_-lwxzlib_@@_-lwxregex_@@_-lwxexpat_@@_-lkernel32_@@_-luser32_@@_-lgdi32_@@_-lcomdlg32_@@_-lwinspool_@@_-lwinmm_@@_-lshell32_@@_-lcomctl32_@@_-lole32_@@_-loleaut32_@@_-luuid_@@_-lrpcrt4_@@_-ladvapi32_@@_-lwsock32_@@_-lodbc32_@@_-lopengl32_@@_
Libs=../supp/wxWidgets/lib/vc_lib
ObjFiles=
ResourceIncludes=
MakeIncludes=
Icon=
OverrideOutput=0
OverrideOutputName=testapp.exe
HostApplication=
CommandLine=
UseCustomMakefile=0
CustomMakefile=
IncludeVersionInfo=0
SupportXPThemes=0

[Profile2]
ProfileName=Visual C++ 2005
ExeOutput=Output\Visual C++ 2005
ObjectOutput=Objects\Visual C++ 2005
CompilerSet=1
CompilerType=1
Compiler=/nologo_@@_/MD_@@_/YX_@@_/FD_@@_/c_@@_
CppCompiler=/nologo_@@_/MD_@@_/YX_@@_/FD_@@_/c_@@_
CompilerSettings=0100000000000a0000000000000000000000a000
PreprocDefines="WIN32"_@@_"NDEBUG"_@@_"_MBCS"_@@_"_LIB"_@@_"_WINDOWS"_@@_"__WINDOWS__"_@@_"__WXMSW__"_@@_"__WIN32__"_@@_WINVER=0x0400_@@_"STRICT"_@@_
Includes=../supp/wxWidgets/include;../supp/wxWidgets/lib/vc_lib/msw
Type=0
Linker=kernel32.lib_@@_user32.lib_@@_gdi32.lib_@@_winspool.lib_@@_comdlg32.lib_@@_advapi32.lib_@@_shell32.lib_@@_ole32.lib_@@_oleaut32.lib_@@_uuid.lib_@@_odbc32.lib_@@_odbccp32.lib_@@_wxbase25.lib_@@_wxbase25_net.lib_@@_wxmsw25_core.lib_@@_wxmsw25_adv.lib_@@_wxpng.lib_@@_wxzlib.lib_@@_wsock32.lib_@@_comctl32.lib_@@_rpcrt4.lib_@@_../kcl/lib/kcl.lib_@@_../cfw/lib/cfw.lib_@@_../paladin/lib/paladin.lib_@@_/nologo_@@_/machine:I386_@@_/out:"../release/testapp.exe"_@@_
Libs=../supp/wxWidgets/lib/vc_lib;
ObjFiles=
ResourceIncludes=
MakeIncludes=
Icon=
OverrideOutput=0
OverrideOutputName=
HostApplication=
CommandLine=
UseCustomMakefile=0
CustomMakefile=
IncludeVersionInfo=0
SupportXPThemes=0

[Profile3]
ProfileName=Visual C++ 2008
ExeOutput=Output\Visual C++ 2008
ObjectOutput=Objects\Visual C++ 2008
CompilerSet=5
CompilerType=5
Compiler=/nologo_@@_/MD_@@_/YX_@@_/FD_@@_/c_@@_
CppCompiler=/nologo_@@_/MD_@@_/YX_@@_/FD_@@_/c_@@_
CompilerSettings=0100000000000a0000000000000000000a00
PreprocDefines=WIN32_@@_NDEBUG_@@__MBCS_@@__LIB_@@__WINDOWS_@@___WINDOWS___@@___WXMSW___@@___WIN32___@@_WINVER=0x0400_@@_STRICT_@@_
Includes=../supp/wxWidgets/include;../supp/wxWidgets/lib/vc_lib/msw
Type=0
Linker=kernel32.lib_@@_user32.lib_@@_gdi32.lib_@@_winspool.lib_@@_comdlg32.lib_@@_advapi32.lib_@@_shell32.lib_@@_ole32.lib_@@_oleaut32.lib_@@_uuid.lib_@@_odbc32.lib_@@_odbccp32.lib_@@_wxbase25.lib_@@_wxbase25_net.lib_@@_wxmsw25_core.lib_@@_wxmsw25_adv.lib_@@_wxpng.lib_@@_wxzlib.lib_@@_wsock32.lib_@@_comctl32.lib_@@_rpcrt4.lib_@@_../kcl/lib/kcl.lib_@@_../cfw/lib/cfw.lib_@@_../paladin/lib/paladin.lib_@@_/nologo_@@_/machine:I386_@@_/out:"../release/testapp.exe"_@@_
Libs=../supp/wxWidgets/lib/vc_lib;
ObjFiles=
ResourceIncludes=
MakeIncludes=
Icon=
OverrideOutput=0
OverrideOutputName=
HostApplication=
CommandLine=
UseCustomMakefile=0
CustomMakefile=
IncludeVersionInfo=0
SupportXPThemes=0

[Unit1]
FileName=testapp.cpp
Folder="Source Files"
Compile=1
CompileCpp=1
Link=1
Priority=1000
OverrideBuildCmd=0
BuildCmd=

[Unit2]
FileName=testapp.rc
Folder="Resource Files"
Compile=1
CompileCpp=1
Link=0
Priority=1000
OverrideBuildCmd=0
BuildCmd=

[VersionInfo]
Major=0
Minor=1
Release=1
Build=1
LanguageID=1033
CharsetID=1252
CompanyName=
FileVersion=0.1
FileDescription=
InternalName=
LegalCopyright=
LegalTrademarks=
OriginalFilename=testapp.exe
ProductName=testapp
ProductVersion=0.1
AutoIncBuildNrOnRebuild=0
AutoIncBuildNrOnCompile=0
UnitCount=2

[Unit3]
FileName=..\webconnect\dom.cpp
CompileCpp=1
Folder=wxwebcontrol
Compile=1
Link=1
Priority=1000
OverrideBuildCmd=0
BuildCmd=

[Unit4]
FileName=..\webconnect\dom.h
CompileCpp=1
Folder=wxwebcontrol
Compile=1
Link=1
Priority=1000
OverrideBuildCmd=0
BuildCmd=

[Unit5]
FileName=..\webconnect\domprivate.h
CompileCpp=1
Folder=wxwebcontrol
Compile=1
Link=1
Priority=1000
OverrideBuildCmd=0
BuildCmd=

[Unit6]
FileName=..\webconnect\nsall.h
CompileCpp=1
Folder=wxwebcontrol
Compile=1
Link=1
Priority=1000
OverrideBuildCmd=0
BuildCmd=

[Unit7]
FileName=..\webconnect\nsbase.h
CompileCpp=1
Folder=wxwebcontrol
Compile=1
Link=1
Priority=1000
OverrideBuildCmd=0
BuildCmd=

[Unit8]
FileName=..\webconnect\nsimpl.cpp
CompileCpp=1
Folder=wxwebcontrol
Compile=1
Link=1
Priority=1000
OverrideBuildCmd=0
BuildCmd=

[Unit9]
FileName=..\webconnect\nsinclude.h
CompileCpp=1
Folder=wxwebcontrol
Compile=1
Link=1
Priority=1000
OverrideBuildCmd=0
BuildCmd=

[Unit10]
FileName=..\webconnect\nsptr.h
CompileCpp=1
Folder=wxwebcontrol
Compile=1
Link=1
Priority=1000
OverrideBuildCmd=0
BuildCmd=

[Unit11]
FileName=..\webconnect\nsstr.h
CompileCpp=1
Folder=wxwebcontrol
Compile=1
Link=1
Priority=1000
OverrideBuildCmd=0
BuildCmd=

[Unit12]
FileName=..\webconnect\nsutils.h
CompileCpp=1
Folder=wxwebcontrol
Compile=1
Link=1
Priority=1000
OverrideBuildCmd=0
BuildCmd=

[Unit13]
FileName=..\webconnect\nsweak.h
CompileCpp=1
Folder=wxwebcontrol
Compile=1
Link=1
Priority=1000
OverrideBuildCmd=0
BuildCmd=

[Unit14]
FileName=..\webconnect\promptservice.cpp
CompileCpp=1
Folder=wxwebcontrol
Compile=1
Link=1
Priority=1000
OverrideBuildCmd=0
BuildCmd=

[Unit15]
FileName=..\webconnect\promptservice.h
CompileCpp=1
Folder=wxwebcontrol
Compile=1
Link=1
Priority=1000
OverrideBuildCmd=0
BuildCmd=

[Unit16]
FileName=..\webconnect\webcontrol.cpp
CompileCpp=1
Folder=wxwebcontrol
Compile=1
Link=1
Priority=1000
OverrideBuildCmd=0
BuildCmd=

[Unit17]
FileName=..\webconnect\webcontrol.h
CompileCpp=1
Folder=wxwebcontrol
Compile=1
Link=1
Priority=1000
OverrideBuildCmd=0
BuildCmd=

[Unit18]
FileName=..\webconnect\webframe.cpp
CompileCpp=1
Folder=wxwebcontrol
Compile=1
Link=1
Priority=1000
OverrideBuildCmd=0
BuildCmd=

[Unit19]
FileName=..\webconnect\webframe.h
CompileCpp=1
Folder=wxwebcontrol
Compile=1
Link=1
Priority=1000
OverrideBuildCmd=0
BuildCmd=

[Unit20]
FileName=..\webconnect\webprefs.cpp
CompileCpp=1
Folder=wxwebcontrol
Compile=1
Link=1
Priority=1000
OverrideBuildCmd=0
BuildCmd=
gillesp
Registered User
 
Posts: 7
Joined: Tue Oct 06, 2009 10:30 am

Return to wxWebConnect Questions, Thoughts & Feedback