December 08, 2003 Re: Dig broken | ||||
---|---|---|---|---|
| ||||
Posted in reply to J Anderson | J Anderson wrote: > Thanks guys. > I got mine to compile before I saw those emails. Since I don't have a webspace, I can't upload it to a webserver (although I'll email it). However, I get a warning message when linking. It seems I don't have advapi32.lib. Obviously, you're making progress. You and Carlos both have make much more progress than I have. Even though you didn't include a build file, I managed to get halhello.exe to compile and run. I uploaded my results from compiling your version to my free Tripod website at http://jcc_7.tripod.com/d/dig.html. (Please e-mail me your build file so I can look at simplifing up my build routine.) The example cartoon.exe and dedit.exe definitely don't work yet. I didn't seem to share your problem with advapi32.lib, but it may be that I missed that step. I don't know. This stuff is so hard to track down... Thanks for the console output. It helped me build some files. Justin |
December 08, 2003 Re: Dig broken | ||||
---|---|---|---|---|
| ||||
Posted in reply to J C Calvarese | Thought I would shamelessly promote my new GUI lib here, its at http://www.atari-soldiers.com/windy.html Though there is no native support from GL, it is in active development so any help in bringing DIG's or Mikes OpenGL to it would be awesome! Thanks , C "J C Calvarese" <jcc7@cox.net> wrote in message news:br0flf$2859$1@digitaldaemon.com... > J Anderson wrote: > > Thanks guys. > > I got mine to compile before I saw those emails. Since I don't have a > > webspace, I can't upload it to a webserver (although I'll email it). > > However, I get a warning message when linking. It seems I don't have > > advapi32.lib. > > Obviously, you're making progress. You and Carlos both have make much more progress than I have. > > Even though you didn't include a build file, I managed to get halhello.exe to compile and run. I uploaded my results from compiling your version to my free Tripod website at http://jcc_7.tripod.com/d/dig.html. > > (Please e-mail me your build file so I can look at simplifing up my > build routine.) > > The example cartoon.exe and dedit.exe definitely don't work yet. I > didn't seem to share your problem with advapi32.lib, but it may be that > I missed that step. I don't know. This stuff is so hard to track down... > > Thanks for the console output. It helped me build some files. > > > Justin > |
December 08, 2003 Re: Dig broken | ||||
---|---|---|---|---|
| ||||
Posted in reply to Charles Sanders | In article <br0j1n$2d5c$1@digitaldaemon.com>, Charles Sanders says... > >Thought I would shamelessly promote my new GUI lib here, Just downloaded it. But before I try it, I gotta hand it to you, "Positive Software Corporation" is a killer name!!! |
December 08, 2003 Re: Dig broken | ||||
---|---|---|---|---|
| ||||
Hmm ok, is treeview.d present ? let me re-package it. C "J Anderson" <REMOVEanderson@badmama.com.au> wrote in message news:br2dfn$26vv$1@digitaldaemon.com... > Charles Sanders wrote: > > >Thought I would shamelessly promote my new GUI lib here, its at > > > >http://www.atari-soldiers.com/windy.html > > > >Though there is no native support from GL, it is in active development so any help in bringing DIG's or Mikes OpenGL to it would be awesome! > > > >Thanks , > > > >C > >"J C Calvarese" <jcc7@cox.net> wrote in message > >news:br0flf$2859$1@digitaldaemon.com... > > > > > >>J Anderson wrote: > >> > >> > >>>Thanks guys. > >>>I got mine to compile before I saw those emails. Since I don't have a > >>>webspace, I can't upload it to a webserver (although I'll email it). > >>>However, I get a warning message when linking. It seems I don't have > >>>advapi32.lib. > >>> > >>> > >>Obviously, you're making progress. You and Carlos both have make much more progress than I have. > >> > >>Even though you didn't include a build file, I managed to get halhello.exe to compile and run. I uploaded my results from compiling your version to my free Tripod website at http://jcc_7.tripod.com/d/dig.html. > >> > >>(Please e-mail me your build file so I can look at simplifing up my > >>build routine.) > >> > >>The example cartoon.exe and dedit.exe definitely don't work yet. I didn't seem to share your problem with advapi32.lib, but it may be that I missed that step. I don't know. This stuff is so hard to track down... > >> > >>Thanks for the console output. It helped me build some files. > >> > >> > >>Justin > >> > >> > >> > > > > > > > > When running the make I get: > > > C:\windy\windy package_12_3_2003>path C:\WINXP\system32;C:\WINXP;C:\WINXP\system 32\WBEM;C:\Program Files\doxygen\bin;c:\dmd\bin;c:\dm\bin; > > C:\windy\windy package_12_3_2003>make > dmd -g -gt -debug -Iinclude\ -IprojectLibs -I.. -I. -c api.d > listbox.d men > u.d static_.d dialog.d msg.d window.d app.d edit.d > listctrl.d butto > n.d listview.d os.d combobox.d font.d rect.d > Error: Error reading file 'windy\treeview.d' > > > --- errorlevel 1 > |
December 08, 2003 Re: Dig broken | ||||
---|---|---|---|---|
| ||||
Posted in reply to J C Calvarese Attachments: | J C Calvarese wrote: > J Anderson wrote: > >> Thanks guys. >> I got mine to compile before I saw those emails. Since I don't have >> a webspace, I can't upload it to a webserver (although I'll email >> it). However, I get a warning message when linking. It seems I don't >> have advapi32.lib. > > > Obviously, you're making progress. You and Carlos both have make much more progress than I have. > > Even though you didn't include a build file, I managed to get halhello.exe to compile and run. I uploaded my results from compiling your version to my free Tripod website at http://jcc_7.tripod.com/d/dig.html. > > (Please e-mail me your build file so I can look at simplifing up my build routine.) > > The example cartoon.exe and dedit.exe definitely don't work yet. I didn't seem to share your problem with advapi32.lib, but it may be that I missed that step. I don't know. This stuff is so hard to track down... > > Thanks for the console output. It helped me build some files. > > > Justin > It seems I forgot to install dmc when I reinstalled dmd. Caused those dig link errors. I had another small look today at dig and fixed scintilla.d. so halhello -> works themeExplorer -> works scintilla -> works dedit -> partly works (show the dialog and then exits -> access violation) catroon -> partly works (show the dialog and then exits -> access violation) deditexec -> doesn't work My own test code has an access volation (digtest). But it's simular to halhello, so I must be compiling it wrong. import c.stdio; import net.BurtonRadons.dig.main; class Program : Frame { this () { //Never gets here, crashes in parent construction caption ("Caption"); with (new Label (this)) { grid (0, 0); caption ("This is a label"); } } } int main( char [] [] args ) //So I can get messages { (new Program ()).showModal (); return 1; } Using prinf I tracked it down to this line: frame(89) digPlatformHWNDCreate (0, toWStringz (digPlatformWindowClass.lpszClassName), null, digPlatformStyle, menu.digPlatformHandle); I put printf in both the toWStringz and the digPlatformHWNDCreate functions. digPlatformHWNDCreate is never called in my code (but it is in halhello). What could I be doing wrong? I wish access violation would give a line number or even better a stack trace. How can I trace the code to find out exactly what's happening. |
December 08, 2003 Re: Dig broken | ||||
---|---|---|---|---|
| ||||
Posted in reply to Charles Sanders | Charles Sanders wrote:
>Hmm ok, is treeview.d present ? let me re-package it.
>
>C
>
>"J Anderson" <REMOVEanderson@badmama.com.au> wrote in message
>news:br2dfn$26vv$1@digitaldaemon.com...
>
>
>>Charles Sanders wrote:
>>
>>
>>
>>>Thought I would shamelessly promote my new GUI lib here, its at
>>>
>>>http://www.atari-soldiers.com/windy.html
>>>
>>>Though there is no native support from GL, it is in active development so
>>>any help in bringing DIG's or Mikes OpenGL to it would be awesome!
>>>
>>>Thanks ,
>>>
>>>C
>>>"J C Calvarese" <jcc7@cox.net> wrote in message
>>>news:br0flf$2859$1@digitaldaemon.com...
>>>
>>>
>>>
>>>
>>>>J Anderson wrote:
>>>>
>>>>
>>>>
>>>>
>>>>>Thanks guys.
>>>>>I got mine to compile before I saw those emails. Since I don't have a
>>>>>webspace, I can't upload it to a webserver (although I'll email it).
>>>>>However, I get a warning message when linking. It seems I don't have
>>>>>advapi32.lib.
>>>>>
>>>>>
>>>>>
>>>>>
>>>>Obviously, you're making progress. You and Carlos both have make much
>>>>more progress than I have.
>>>>
>>>>Even though you didn't include a build file, I managed to get
>>>>halhello.exe to compile and run. I uploaded my results from compiling
>>>>your version to my free Tripod website at
>>>>http://jcc_7.tripod.com/d/dig.html.
>>>>
>>>>(Please e-mail me your build file so I can look at simplifing up my
>>>>build routine.)
>>>>
>>>>The example cartoon.exe and dedit.exe definitely don't work yet. I
>>>>didn't seem to share your problem with advapi32.lib, but it may be that
>>>>I missed that step. I don't know. This stuff is so hard to track
>>>>
>>>>
>down...
>
>
>>>>Thanks for the console output. It helped me build some files.
>>>>
>>>>
>>>>Justin
>>>>
>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>>
>>When running the make I get:
>>
>>
>>C:\windy\windy package_12_3_2003>path
>>C:\WINXP\system32;C:\WINXP;C:\WINXP\system
>>32\WBEM;C:\Program Files\doxygen\bin;c:\dmd\bin;c:\dm\bin;
>>
>>C:\windy\windy package_12_3_2003>make
>>dmd -g -gt -debug -Iinclude\ -IprojectLibs -I.. -I. -c api.d
>>listbox.d men
>>u.d static_.d dialog.d msg.d window.d app.d edit.d
>>listctrl.d butto
>>n.d listview.d os.d combobox.d font.d rect.d
>>Error: Error reading file 'windy\treeview.d'
>>
>>
>>--- errorlevel 1
>>
>>
>>
>
>
>
Are you able to include a project file for DIDE with it?
|
December 08, 2003 Re: Dig broken | ||||
---|---|---|---|---|
| ||||
Posted in reply to J Anderson | Yes, but since the paths are absolute it wont compile, im writing in an 'export project' option that will allow this. C "J Anderson" <REMOVEanderson@badmama.com.au> wrote in message news:br2kqb$2i0q$2@digitaldaemon.com... > Charles Sanders wrote: > > >Hmm ok, is treeview.d present ? let me re-package it. > > > >C > > > >"J Anderson" <REMOVEanderson@badmama.com.au> wrote in message news:br2dfn$26vv$1@digitaldaemon.com... > > > > > >>Charles Sanders wrote: > >> > >> > >> > >>>Thought I would shamelessly promote my new GUI lib here, its at > >>> > >>>http://www.atari-soldiers.com/windy.html > >>> > >>>Though there is no native support from GL, it is in active development so > >>>any help in bringing DIG's or Mikes OpenGL to it would be awesome! > >>> > >>>Thanks , > >>> > >>>C > >>>"J C Calvarese" <jcc7@cox.net> wrote in message > >>>news:br0flf$2859$1@digitaldaemon.com... > >>> > >>> > >>> > >>> > >>>>J Anderson wrote: > >>>> > >>>> > >>>> > >>>> > >>>>>Thanks guys. > >>>>>I got mine to compile before I saw those emails. Since I don't have a > >>>>>webspace, I can't upload it to a webserver (although I'll email it). However, I get a warning message when linking. It seems I don't have advapi32.lib. > >>>>> > >>>>> > >>>>> > >>>>> > >>>>Obviously, you're making progress. You and Carlos both have make much more progress than I have. > >>>> > >>>>Even though you didn't include a build file, I managed to get halhello.exe to compile and run. I uploaded my results from compiling your version to my free Tripod website at http://jcc_7.tripod.com/d/dig.html. > >>>> > >>>>(Please e-mail me your build file so I can look at simplifing up my > >>>>build routine.) > >>>> > >>>>The example cartoon.exe and dedit.exe definitely don't work yet. I didn't seem to share your problem with advapi32.lib, but it may be that > >>>>I missed that step. I don't know. This stuff is so hard to track > >>>> > >>>> > >down... > > > > > >>>>Thanks for the console output. It helped me build some files. > >>>> > >>>> > >>>>Justin > >>>> > >>>> > >>>> > >>>> > >>>> > >>> > >>> > >>> > >>When running the make I get: > >> > >> > >>C:\windy\windy package_12_3_2003>path C:\WINXP\system32;C:\WINXP;C:\WINXP\system 32\WBEM;C:\Program Files\doxygen\bin;c:\dmd\bin;c:\dm\bin; > >> > >>C:\windy\windy package_12_3_2003>make > >>dmd -g -gt -debug -Iinclude\ -IprojectLibs -I.. -I. -c api.d > >>listbox.d men > >>u.d static_.d dialog.d msg.d window.d app.d edit.d > >>listctrl.d butto > >>n.d listview.d os.d combobox.d font.d rect.d > >>Error: Error reading file 'windy\treeview.d' > >> > >> > >>--- errorlevel 1 > >> > >> > >> > > > > > > > Are you able to include a project file for DIDE with it? > |
December 08, 2003 Re: Dig broken | ||||
---|---|---|---|---|
| ||||
Posted in reply to Charles Sanders | Charles Sanders wrote:
>Yes, but since the paths are absolute it wont compile, im writing in an
>'export project' option that will allow this.
>
>C
>
>
>>Are you able to include a project file for DIDE with it?
>>
>>
>>
>
>
Cool. Parhaps it could generate a bat + make file as well (although relativity may be a problem here).
|
December 08, 2003 Re: Dig broken | ||||
---|---|---|---|---|
| ||||
Posted in reply to J Anderson | Good point ive been meaning to add a 'generate makefile' option too, since all I really use it for now is a build manager ( like most IDE's, if only we could embed emacs.... ) Ill write those in then bundle Windy with it thanks, C "J Anderson" <REMOVEanderson@badmama.com.au> wrote in message news:br2nla$2m18$2@digitaldaemon.com... > Charles Sanders wrote: > > >Yes, but since the paths are absolute it wont compile, im writing in an 'export project' option that will allow this. > > > >C > > > > > >>Are you able to include a project file for DIDE with it? > >> > >> > >> > > > > > Cool. Parhaps it could generate a bat + make file as well (although relativity may be a problem here). > |
December 08, 2003 Re: Dig broken | ||||
---|---|---|---|---|
| ||||
Posted in reply to J Anderson | "J Anderson" <REMOVEanderson@badmama.com.au> wrote in message news:br2koa$2i0q$1@digitaldaemon.com... | ... | | import c.stdio; | import net.BurtonRadons.dig.main; | | class Program : Frame | { | this () | { | //Never gets here, crashes in parent construction | caption ("Caption"); | | with (new Label (this)) | { | grid (0, 0); | caption ("This is a label"); | } | | } | } | | int main( char [] [] args ) //So I can get messages | { | (new Program ()).showModal (); | return 1; | } | | ... IIRC, you need to call super() in the first line of your constructor (that'd be right where you have the comment). ------------------------- Carlos Santander --- Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.545 / Virus Database: 339 - Release Date: 2003-11-27 |
Copyright © 1999-2021 by the D Language Foundation