Jump to page: 1 2
Thread overview
dm idde and wxwidgets
Nov 04, 2004
WxNewbie
Nov 04, 2004
W³odzimierz Skiba
Nov 05, 2004
chris elliott
Nov 05, 2004
chris elliott
Nov 05, 2004
Jan Knepper
Nov 05, 2004
W³odzimierz Skiba
Nov 05, 2004
Arjan Knepper
Nov 05, 2004
W³odzimierz Skiba
Nov 05, 2004
wxNewbie
Nov 08, 2004
Arjan Knepper
Nov 08, 2004
chris elliott
November 04, 2004
I am new to dm. I have used wxwidgets with mingwstudio.
Is there any way to set some kind of default project settings in the idde? Or do
I have to enter all the settings for a wxwidgets project every time I start one?
What is the best and easiest way starting a new wxwidgets project in the idde?
Any advice would be very welcome.

// WxNewbie


November 04, 2004
WxNewbie <WxNewbie_member@pathlink.com> wrote in news:cme2bl$2dk7$1@digitaldaemon.com:
> I am new to dm. I have used wxwidgets with mingwstudio.
> Is there any way to set some kind of default project settings in the
> idde? Or do I have to enter all the settings for a wxwidgets project
> every time I start one? What is the best and easiest way starting a
> new wxwidgets project in the idde? Any advice would be very welcome.

Actually... I'm curious if there is anybody who use IDE of DMC with wxWidgets. I have it myself but had no time to try it out yet. Does it have import of makefile of make.exe or smake.exe? If yes, then you can at least generate initial project using bakefiles. I'm open and would be happy to incorporate DMC IDE project files support to bakefiles once I could be pointed out to IDE project file format specification (which IIRC is not available).

ABX
November 05, 2004
see Arjan's page with instructions : http://www.digitalmars.com/~arjan/

from 2.4.2 and 2.5x the patches are incorporated into the wxWidgets/wxWindows download

points 2,3,4 should be ignored


chris
W³odzimierz Skiba wrote:
> WxNewbie <WxNewbie_member@pathlink.com> wrote in
> news:cme2bl$2dk7$1@digitaldaemon.com: 
> 
>>I am new to dm. I have used wxwidgets with mingwstudio.
>>Is there any way to set some kind of default project settings in the
>>idde? Or do I have to enter all the settings for a wxwidgets project
>>every time I start one? What is the best and easiest way starting a
>>new wxwidgets project in the idde? Any advice would be very welcome.
> 
> 
> Actually... I'm curious if there is anybody who use IDE of DMC with wxWidgets. I have it myself but had no time to try it out yet. Does it have import of makefile of make.exe or smake.exe? If yes, then you can at least generate initial project using bakefiles. I'm open and would be happy to incorporate DMC IDE project files support to bakefiles once I could be pointed out to IDE project file format specification (which IIRC is not available).
> 
> ABX
November 05, 2004

W³odzimierz Skiba wrote:

> 
> Actually... I'm curious if there is anybody who use IDE of DMC with wxWidgets. I have it myself but had no time to try it out yet. Does it have import of makefile of make.exe or smake.exe? 

I don't think so. At least some of the files are binary :-(

I have built them by hand and the ide does work fine, but the debugger will happily work with files built by commandline

chris
If yes, then you can at least
> generate initial project using bakefiles. I'm open and would be happy to incorporate DMC IDE project files support to bakefiles once I could be pointed out to IDE project file format specification (which IIRC is not available).
> 
> ABX
November 05, 2004
Yes... Arjan Knepper and Jan Knepper are using the IDDE with wxWindows / wxWidgets...
www.digitalmars.com/~arjan/
www.digitakmars.com/~jan/
Arjan build the project(s) to compile all the libraries with the IDDE.
Now we are porting our MFC class wrapper to wxWidgets so we can use wxWidgets and be MFC independent.

Jan



W³odzimierz Skiba wrote:
> WxNewbie <WxNewbie_member@pathlink.com> wrote in
> news:cme2bl$2dk7$1@digitaldaemon.com: 
> 
>>I am new to dm. I have used wxwidgets with mingwstudio.
>>Is there any way to set some kind of default project settings in the
>>idde? Or do I have to enter all the settings for a wxwidgets project
>>every time I start one? What is the best and easiest way starting a
>>new wxwidgets project in the idde? Any advice would be very welcome.
> 
> 
> Actually... I'm curious if there is anybody who use IDE of DMC with wxWidgets. I have it myself but had no time to try it out yet. Does it have import of makefile of make.exe or smake.exe? If yes, then you can at least generate initial project using bakefiles. I'm open and would be happy to incorporate DMC IDE project files support to bakefiles once I could be pointed out to IDE project file format specification (which IIRC is not available).
> 
> ABX


-- 
ManiaC++
Jan Knepper

But as for me and my household, we shall use Mozilla...
www.mozilla.org
November 05, 2004
Jan Knepper <jan@smartsoft.us> wrote in news:cmfqbi$2k5q$1@digitaldaemon.com:
> Yes... Arjan Knepper and Jan Knepper are using the IDDE with wxWindows /
> wxWidgets...
> www.digitalmars.com/~arjan/
> www.digitakmars.com/~jan/

Great! I probably saw it in the past but forgot, sorry :-(

> Arjan build the project(s) to compile all the libraries with the IDDE.

Anyway that's still a handmade projects, right? The building of the project file can't be automated and perform without ide available (in other words build into bakefiles)?

> Now we are porting our MFC class wrapper to wxWidgets so we can use wxWidgets and be MFC independent.

Do you use ability of mixing MFC and wxW during porting or do you do complete fresh rewrite ?

ABX
November 05, 2004
W³odzimierz Skiba wrote:
> Jan Knepper <jan@smartsoft.us> wrote in news:cmfqbi$2k5q$1@digitaldaemon.com:
> 
>>Yes... Arjan Knepper and Jan Knepper are using the IDDE with wxWindows / wxWidgets...
>>www.digitalmars.com/~arjan/
>>www.digitakmars.com/~jan/
> 
> 
> Great! I probably saw it in the past but forgot, sorry :-(
> 
> 
>>Arjan build the project(s) to compile all the libraries with the IDDE.
> 
> 
> Anyway that's still a handmade projects, right? The building of the project file can't be automated and perform without ide available (in other words build into bakefiles)?

The .prj file is an ascii text file. You should be able to generate it.

> 
> 
>>Now we are porting our MFC class wrapper to wxWidgets so we can use wxWidgets and be MFC independent.
> 
> 
> Do you use ability of mixing MFC and wxW during porting or do you do complete fresh rewrite ?

No rewrite of the wrapper for wxW

Arjan
November 05, 2004
Arjan Knepper <arjan@ask.me> wrote in news:cmg6j0$12mf$1@digitaldaemon.com:
> > Anyway that's still a handmade projects, right? The building of the project file can't be automated and perform without ide available (in other words build into bakefiles)?
> 
> The .prj file is an ascii text file. You should be able to generate it.

So once I finish PCH issue, I will look into it. Thanks.

ABX
November 05, 2004
Thank you all for your help. What I have done is downloading the latest wxwidgets src. I compiled it using the incuded makefile.dmc. I had no problem doing this. I also have no trouble compiling the samples using makefiles. What I can't do is to compile for example the minimal sample using the idde. I have tried setting the include directories and all but in the end I just get alot of errors like below. I am missing one or more things. Could you please set me on the right track. I have not found a lot of info on the dm+wx combination on the internet. Is it a bad one? Should I stick with mingw for wx? I really like dm.

// wxNewbie :-(


sc minimal.cpp -cpp -mn -o+time -WA -ff -5 -a8 -c -IC:\wx\include\
-IC:\wx\lib\dmc_lib -IC:\wx\lib\dmc_lib\mswd\
-oc:\wx\samples\minimal\minimal.obj
rcc -32 -IC:\wx\include\ -IC:\wx\lib\dmc_lib -IC:\wx\lib\dmc_lib\mswd\
-oc:\wx\samples\minimal\minimal.res minimal.rc
link /NOI /DE /PACKF /XN /NT /ENTRY:WinMainCRTStartup /BAS:4194304 /A:512 /RC
:c:\wx\samples\minimal\minimal.RES @minimal.LNK
Error: C:\WX\SAMPLES\MINIMAL\minimal.OBJ(minimal)  (2203648): Symbol Undefined
?ms_classInfo@wxApp@@2VwxClassInfo@@A (wxClassInfo wxApp::ms_classInfo)
Error: C:\WX\SAMPLES\MINIMAL\minimal.OBJ(minimal)  (128): Symbol Undefined ?

and so on... ending in:

Lines Processed: 182198  Errors: 248  Warnings: 0
Build failed :-(


November 08, 2004
wxNewbie wrote:

> 
> 
> sc minimal.cpp -cpp -mn -o+time -WA -ff -5 -a8 -c -IC:\wx\include\
> -IC:\wx\lib\dmc_lib -IC:\wx\lib\dmc_lib\mswd\
> -oc:\wx\samples\minimal\minimal.obj rcc -32 -IC:\wx\include\ -IC:\wx\lib\dmc_lib -IC:\wx\lib\dmc_lib\mswd\
> -oc:\wx\samples\minimal\minimal.res minimal.rc link /NOI /DE /PACKF /XN /NT /ENTRY:WinMainCRTStartup /BAS:4194304 /A:512 /RC
> :c:\wx\samples\minimal\minimal.RES @minimal.LNK Error: C:\WX\SAMPLES\MINIMAL\minimal.OBJ(minimal)  (2203648): Symbol Undefined
> ?ms_classInfo@wxApp@@2VwxClassInfo@@A (wxClassInfo wxApp::ms_classInfo)
> Error: C:\WX\SAMPLES\MINIMAL\minimal.OBJ(minimal)  (128): Symbol Undefined ?

Seems the wxWidgets *.lib file is missing in the link stage.

Did you actually build the lib using the makefile in %WXWIN%/src/msw directory?

> 
> and so on... ending in:
> 
> Lines Processed: 182198  Errors: 248  Warnings: 0
> Build failed :-(
> 
> 
« First   ‹ Prev
1 2