www.digitalmars.com         C & C++   DMDScript  

c++.wxwindows - Where can I find wx_sc.lib

reply "Yeric" <NOSPAM NOSPAM.com> writes:
Hi
Trying to build wxWindows-2.4.2 using makefile.sc, gets so far then
complains it can't open input file ..\..\lib\wx_sc.lib

I have looked in both wxWindows dir and dm dir for this file but can't find
it.

I am using CD version of DM and updated to 8.40

Any help appreciated
Yeric
Apr 27 2004
parent reply chris elliott <biol75 york.ac.uk> writes:
it should be built from the make -fmakefile.sc in 
C:\wx\wxWindows-2.4.2\src\msw


chris


Yeric wrote:

 Hi
 Trying to build wxWindows-2.4.2 using makefile.sc, gets so far then
 complains it can't open input file ..\..\lib\wx_sc.lib
 
 I have looked in both wxWindows dir and dm dir for this file but can't find
 it.
 
 I am using CD version of DM and updated to 8.40
 
 Any help appreciated
 Yeric
 
 

Apr 28 2004
next sibling parent reply "Yeric" <someone nowhere.com> writes:
 it should be built from the make -fmakefile.sc in
 C:\wx\wxWindows-2.4.2\src\msw

Hmmm then I am in the chicken and egg situation, becuase my build is failing due to this missing file :( BTW I did not unpack wxWindows to C: I only have a very small partition for C: just to hold boot loaders, Windows goes on D, and my data on E, which is where I put wxWindows and pointed WXWIN to E:\wxWindows-2.4.2, which I guess is fine, as the build starts ok for a few mins then throws up the error a search of my entire computer does not find wx_sc.lib anywhere, so it has not tried to put it in C:\ anywhere :) but it certainly seems to compile faster than MinGW I tried the build initially using CVS sources using the 2_4_2 tag and got the same error, so I then installed from installer program and tried and still got the same error ( I did not install to same dir as cvs sources, but did change WXWIN ) BTW chris, your link for wxHatch is sort of broken, when you click it to download source, you get a 404 error, but when I click on directory view I can see the wx folder, but hovering the mouse over it points to snails, if I move the mouse pointer to just below wx which is blank, I can then get the wxHatch file I was after. Any idea ho I can get out of this chicken and egg situation, somewhere it is trying to build something before it has built wx_sc.lib Yeric
Apr 28 2004
next sibling parent reply Arjan Knepper <arjan ask.me> writes:
Yeric wrote:
it should be built from the make -fmakefile.sc in
C:\wx\wxWindows-2.4.2\src\msw

Hmmm then I am in the chicken and egg situation, becuase my build is failing due to this missing file :( BTW I did not unpack wxWindows to C: I only have a very small partition for C: just to hold boot loaders, Windows goes on D, and my data on E, which is where I put wxWindows and pointed WXWIN to E:\wxWindows-2.4.2, which I guess is fine, as the build starts ok for a few mins then throws up the error a search of my entire computer does not find wx_sc.lib anywhere, so it has not tried to put it in C:\ anywhere :) but it certainly seems to compile faster than MinGW I tried the build initially using CVS sources using the 2_4_2 tag and got the same error, so I then installed from installer program and tried and still got the same error ( I did not install to same dir as cvs sources, but did change WXWIN ) BTW chris, your link for wxHatch is sort of broken, when you click it to download source, you get a 404 error, but when I click on directory view I can see the wx folder, but hovering the mouse over it points to snails, if I move the mouse pointer to just below wx which is blank, I can then get the wxHatch file I was after. Any idea ho I can get out of this chicken and egg situation, somewhere it is trying to build something before it has built wx_sc.lib Yeric

Describe what you are doing exactly. wx_sc.lib should be build BEFORE you build any of the samples or your own app. Arjan
Apr 28 2004
next sibling parent reply "Yeric" <someone nowhere.com> writes:
 Describe what you are doing exactly.

Hi Arjan, This is exactly what I am doing 1. cd E:\wxWindows-2.4.2\src\msw from cmd32 2 make -f makefile.sc clean 3 make -f makefile.sc ... ... . lots of stuff happening, .obj files are flying through the window yep dm is damned fast :) Build Error ( sorry not at computer at home can't find error number ) Unable to open file for reading wx_sc.lib <-- this does not exist anywhere
 wx_sc.lib should be build BEFORE you build any of the samples or your
 own app.

If only I could get this far :) If you want, I will get the error number when I get back home Yeric
Apr 28 2004
next sibling parent "W這dzimierz Skiba" <abx abx.art.pl> writes:
"Yeric" <someone nowhere.com> wrote in
news:c6nvq0$2bcl$1 digitaldaemon.com: 
 If you want, I will get the error number when I get back home

It would be best to know whole output because earlier operations in makefile.sc can influence further output. Would be interesting to know OS in case some shell issue makes difficoulties. ABX
Apr 28 2004
prev sibling parent reply Arjan Knepper <arjan ask.me> writes:
Yeric wrote:
Describe what you are doing exactly.

Hi Arjan, This is exactly what I am doing 1. cd E:\wxWindows-2.4.2\src\msw from cmd32 2 make -f makefile.sc clean 3 make -f makefile.sc ... ... . lots of stuff happening, .obj files are flying through the window yep dm is damned fast :) Build Error ( sorry not at computer at home can't find error number ) Unable to open file for reading wx_sc.lib <-- this does not exist anywhere

Seems OK to me. Do the same procedure again, the error will occur. Go on and do: 4. make -f makefile.sc >> E:\error.txt <enter> 5. echo "-----------------------env---------------------" >> E:\error.txt <enter> 6. set >> E:\error.txt <enter> 7. echo "-----------------------make--------------------" >> E:\error.txt <enter> 8. make -v >> E:\error.txt <enter> post the file e:\error.txt to this forum. Arjan
Apr 28 2004
next sibling parent "Yeric" <someone nowhere.com> writes:
 Seems OK to me.

 Do the same procedure again, the error will occur. Go on and do:

 4. make -f makefile.sc >> E:\error.txt <enter>
 5.  echo "-----------------------env---------------------" >>
 E:\error.txt <enter>
 6. set >> E:\error.txt <enter>
 7.  echo "-----------------------make--------------------" >>
 E:\error.txt <enter>
 8. make -v >> E:\error.txt <enter>

 post the file e:\error.txt to this forum.

 Arjan

Ok will do, I will wait till I get home and post the info BTW I am using WinXP Pro if this is any help Yeric
Apr 28 2004
prev sibling parent reply "Yeric" <NOSPAM NOSPAM.com> writes:
Arjan here is the error.txt file, looks like -v is not an option hope this
helps

Yeric
Apr 28 2004
parent reply "W這dzimierz Skiba" <abx abx.art.pl> writes:
"Yeric" <NOSPAM NOSPAM.com> wrote in
news:c6ok6a$di3$1 digitaldaemon.com: 

 Arjan here is the error.txt file

I see a problem. Most probably Digital Mars Librarian Version 8.00n Copyright (C) Digital Mars 2000-2002 All Rights Reserved www.digitalmars.com should appear instead of Microsoft (R) Library Manager Version 6.00.8447 Copyright (C) Microsoft Corp 1992-1998. All rights reserved. which means path to LIB tool of Microsoft is earlier than path to LIB of DMC ABX
Apr 28 2004
next sibling parent reply "Yeric" <NOSPAM NOSPAM.com> writes:
 I see a problem. Most probably

   Digital Mars Librarian Version 8.00n
   Copyright (C) Digital Mars 2000-2002 All Rights Reserved
   www.digitalmars.com

 should appear instead of

   Microsoft (R) Library Manager Version 6.00.8447
   Copyright (C) Microsoft Corp 1992-1998. All rights reserved.

 which means path to LIB tool of Microsoft is earlier than path to LIB of

 ABX

I figured this might be a problem, but since dmc does not need reg entries I did not hink it mattered, I need a way somehow to force dm librarian instead of ms, I have visual studio installed as well, but only really use VB (when I have to) Maybe there is a way to import wxwindows to idde ? Yeric
Apr 28 2004
parent reply "W這dzimierz Skiba" <abx abx.art.pl> writes:
"Yeric" <NOSPAM NOSPAM.com> wrote in news:c6p6bi$1cnb$1 digitaldaemon.com:

 Maybe there is a way to import wxwindows to idde ?

I'm looking for this as well for automation in bakefiles. ABX
Apr 29 2004
parent Arjan Knepper <arjan ask.me> writes:
W這dzimierz Skiba wrote:
 "Yeric" <NOSPAM NOSPAM.com> wrote in news:c6p6bi$1cnb$1 digitaldaemon.com:
 
 
Maybe there is a way to import wxwindows to idde ?

I'm looking for this as well for automation in bakefiles. ABX

Generating .prj and .def files is not that difficult. The real challenge is the generation of .opn files containing the include- and lib path information, compiler settings etc because the .opn file is binairy. Arjan
Apr 29 2004
prev sibling parent reply "Yeric" <NOSPAM NOSPAM.com> writes:
   Microsoft (R) Library Manager Version 6.00.8447
   Copyright (C) Microsoft Corp 1992-1998. All rights reserved.

Thanks I just moved the dm\bin before the MSVC stuff and it worked, and damned fast too :) But would I be mistaken in reading the makefile to see that it seems to be making only debug version of file ? Yeric
Apr 28 2004
parent chris elliott <biol75 york.ac.uk> writes:
Yeric wrote:

  Microsoft (R) Library Manager Version 6.00.8447
  Copyright (C) Microsoft Corp 1992-1998. All rights reserved.

Thanks I just moved the dm\bin before the MSVC stuff and it worked, and damned fast too :)

 But would I be mistaken in reading the makefile to see that it seems to be
 making only debug version of file ?
 

if you want to make a release version you need to edit makesc.env, and remove the __WXDEBUG__ from CFLAGS line chris
Apr 29 2004
prev sibling parent chris elliott <biol75 york.ac.uk> writes:
 BTW chris, your link for wxHatch is sort of broken, when you click it to
 download source, you get a 404 error, but when I click on directory 
 view I


my disk died - new disk installed, and gradually rebuilding it - should be Ok later today chris
Apr 29 2004
prev sibling parent reply "W這dzimierz Skiba" <abx abx.art.pl> writes:
"Yeric" <someone nowhere.com> wrote in
news:c6nphj$21bh$1 digitaldaemon.com: 

 it should be built from the make -fmakefile.sc in
 C:\wx\wxWindows-2.4.2\src\msw

Hmmm then I am in the chicken and egg situation, becuase my build is failing due to this missing file :(

I think you are mistaking two makefile.sc files. IIRC there is one makefile file for building library and another one for sample.
 BTW I did not unpack wxWindows to C: I only have a very small
 partition for C:

"C:" was only an example, it should hold whatever is in WXWIN variable
 Any idea ho I can get out of this chicken and egg situation, somewhere
 it is trying to build something before it has built wx_sc.lib

What you are building when wx_sc is reported to be missed ? ABX
Apr 28 2004
parent "Yeric" <someone nowhere.com> writes:
 I think you are mistaking two makefile.sc files.

I am building this file from %WXWIN%\src\msw\makefile.sc, this is the only makefile in this directory
 What you are building when wx_sc is reported to be missed ?

 ABX

afaik the libs, I am building from %WXWIN%\src\msw WXWIN points to E:\wxWindows-2.4.2
Apr 28 2004
prev sibling parent reply "Yeric" <NOSPAM NOSPAM.com> writes:
Chris just a quick Q

I like wxHatch, it is brill !!, and makes Windows programming that much
easier, too bad wxWindows will most likely not be around for D :(

I do not think this is a wxHatch thing, but under Win XP unless I maximize
then restore a window, I get this funy fuzzy coloured line between the menu
frame bar and the actual window is this just an XP thing ?

Yeric

BTW where can I get the help files for the help menu from ?
if I select these from help menu, it kills wxHatch with a memory violation
access error no matter which help option I select
Apr 28 2004
next sibling parent reply chris elliott <biol75 york.ac.uk> writes:
Yeric wrote:

 Chris just a quick Q
 
 I like wxHatch, it is brill !!, and makes Windows programming that much
 easier, too bad wxWindows will most likely not be around for D :(
 
 I do not think this is a wxHatch thing, but under Win XP unless I maximize
 then restore a window, I get this funy fuzzy coloured line between the menu
 frame bar and the actual window is this just an XP thing ?
 

definitely worst with dmc Arjan suggested it means a little bit of win16 code is still somewhere, but I have not yet had time to catch it - Sorry chris
Apr 29 2004
parent reply "W這dzimierz Skiba" <abx abx.art.pl> writes:
chris elliott <biol75 york.ac.uk> wrote in
news:c6qjdm$l7h$2 digitaldaemon.com: 
 Arjan suggested it means a little bit of win16 code is still
 somewhere, but I have not yet had time to catch it - Sorry

Regarding CVS Head, there was my patch applied recently with removal of parts of code signed with WIN16 tags. Is it still there after that change? ABX
Apr 29 2004
next sibling parent "Yeric" <someone nowhere.com> writes:
"> Regarding CVS Head, there was my patch applied recently with removal of
 parts of code signed with WIN16 tags. Is it still there after that change?

 ABX

Not entirely sure will check later, I only built from the 242 install file, I will resync the cvs later and try a build Yeric
Apr 29 2004
prev sibling next sibling parent chris elliott <biol75 york.ac.uk> writes:
I only have intermittent access to an XP box, but will look this weekend 
if I can manage it
chris

W這dzimierz Skiba wrote:

 chris elliott <biol75 york.ac.uk> wrote in
 news:c6qjdm$l7h$2 digitaldaemon.com: 
 
Arjan suggested it means a little bit of win16 code is still
somewhere, but I have not yet had time to catch it - Sorry

Regarding CVS Head, there was my patch applied recently with removal of parts of code signed with WIN16 tags. Is it still there after that change? ABX

Apr 29 2004
prev sibling parent "Yeric" <NOSPAM NOSPAM.com> writes:
 Regarding CVS Head, there was my patch applied recently with removal of
 parts of code signed with WIN16 tags. Is it still there after that change?

No change still the same oddly it seems ok compiled with vc++6 maybe it is a dm thing ? Yeric
Apr 29 2004
prev sibling parent reply chris elliott <biol75 york.ac.uk> writes:
Yeric wrote:

 Chris just a quick Q
 
 I like wxHatch, it is brill !!, 

building wxWidgets 2.5 as well as 2.4 makefiles - the dmc one should work chris
Apr 29 2004
parent "Yeric" <someone nowhere.com> writes:
Excellent, I will give it a go later

wxHatch is good RAD in C++ !!
Apr 29 2004