Jump to page: 1 2 3
Thread overview
wxWndows compiles and links with digital mars
Apr 19, 2003
chris elliott
Apr 19, 2003
Arjan Knepper
Apr 20, 2003
chris elliott
Apr 20, 2003
chris elliott
Apr 20, 2003
Arjan Knepper
Apr 21, 2003
Arjan Knepper
Apr 22, 2003
chris elliott
Apr 22, 2003
Jan Knepper
Apr 24, 2003
chris elliott
Apr 24, 2003
Arjan Knepper
Apr 23, 2003
Arjan Knepper
Apr 21, 2003
chris elliott
Apr 21, 2003
Walter
Apr 22, 2003
chris elliott
Apr 24, 2003
chris elliott
Apr 24, 2003
Walter
Apr 25, 2003
chris elliott
Apr 25, 2003
chris elliott
Apr 25, 2003
Walter
Apr 26, 2003
Arjan Knepper
Apr 22, 2003
Arjan Knepper
Apr 22, 2003
chris elliott
April 19, 2003
I have compiled the wxWindows library and a minimal sample and comitted the necessary changes to the wxWindows CVS. Compilation seems quick and produced few errors which i have worked round:

1) providing functions with const and nonconst paprameters gave a problem

2) extern declarations seemed to require to be extern "C"

Any comments on these appreciated

chris


April 19, 2003
ad 1.
Which version of the compiler are you using? I guess 8.33 because in the latest beta these problems are solved.

ad 2.
Where did you have this problem? I don't seem to have this problem here.

Can you try to compile and run the samples\image sample? Compiles OK here but crashes when run. I didn't have the time to investigate this further. All/most other samples are compiling and running.

B.T.W. I used the wxWindows 2.4.0.

chris elliott wrote:
> I have compiled the wxWindows library and a minimal sample and comitted the
> necessary changes to the wxWindows CVS. Compilation seems quick and produced few
> errors which i have worked round:
> 
> 1) providing functions with const and nonconst paprameters gave a problem
> 
> 2) extern declarations seemed to require to be extern "C"
> 
> Any comments on these appreciated
> 
> chris
> 
> 

April 20, 2003
"Arjan Knepper" <ask@me.to> wrote in message news:b7sc5m$2kh3$1@digitaldaemon.com...
> ad 1.
> Which version of the compiler are you using? I guess 8.33 because in the
> latest beta these problems are solved.
>
8.33 - now downloaded the latest beta and will try it


> ad 2.
> Where did you have this problem? I don't seem to have this problem here.
>
> Can you try to compile and run the samples\image sample? Compiles OK
am now building makefiles for these

thanks for the prompt help
chris


April 20, 2003
"Arjan Knepper" <ask@me.to> wrote in message news:b7sc5m$2kh3$1@digitaldaemon.com...
> ad 1.
> Which version of the compiler are you using? I guess 8.33 because in the
> latest beta these problems are solved.
>
> ad 2.
> Where did you have this problem? I don't seem to have this problem here.
>
> Can you try to compile and run the samples\image sample? Compiles OK here but crashes when run. I didn't have the time to investigate this further. All/most other samples are compiling and running.

I am still stuck on a bug with gethostbyname and other socket code; I did
implib  /s $(WINSOCKLIB) $(WINDIR)\system32\winsock.dll
and got a library

lib -l

shows the functions, but none have underscores prefixed linking still fails;


C:\wxWindows\samples\minimal>make -f makefile.sc
link  /DELEXECUTABLE /RC minimal, minimal.exe, minimal,
c:\wxwindows\lib\wx_sc.l
ib  advapi32 comctl32 comdlg32 ctl3d32 gc  gdi32 kernel32 ole32 oleaut32 snn
use
r32 uuid c:\wxwindows\lib\winsock_sc.lib
OPTLINK (R) for Win32  Release 7.50B1
Copyright (C) Digital Mars 1989 - 2001  All Rights Reserved

c:\wxwindows\lib\wx_sc.lib(utils)
 Error 42: Symbol Undefined _WSACleanup@0
c:\wxwindows\lib\wx_sc.lib(utils)
 Error 42: Symbol Undefined _gethostbyaddr@12
c:\wxwindows\lib\wx_sc.lib(utils)
 Error 42: Symbol Undefined _gethostbyname@4
c:\wxwindows\lib\wx_sc.lib(utils)
 Error 42: Symbol Undefined _gethostname@8
c:\wxwindows\lib\wx_sc.lib(utils)
 Error 42: Symbol Undefined _WSAStartup@8

thanks chris


April 20, 2003
I think you should use wsock32 instead of winsock.

Arjan

chris elliott wrote:
> "Arjan Knepper" <ask@me.to> wrote in message
> news:b7sc5m$2kh3$1@digitaldaemon.com...
> 
>>ad 1.
>>Which version of the compiler are you using? I guess 8.33 because in the
>>latest beta these problems are solved.
>>
>>ad 2.
>>Where did you have this problem? I don't seem to have this problem here.
>>
>>Can you try to compile and run the samples\image sample? Compiles OK
>>here but crashes when run. I didn't have the time to investigate this
>>further. All/most other samples are compiling and running.
> 
> 
> I am still stuck on a bug with gethostbyname and other socket code; I did
> implib  /s $(WINSOCKLIB) $(WINDIR)\system32\winsock.dll
> and got a library
> 
> lib -l
> 
> shows the functions, but none have underscores prefixed
> linking still fails;
> 
> 
> C:\wxWindows\samples\minimal>make -f makefile.sc
> link  /DELEXECUTABLE /RC minimal, minimal.exe, minimal,
> c:\wxwindows\lib\wx_sc.l
> ib  advapi32 comctl32 comdlg32 ctl3d32 gc  gdi32 kernel32 ole32 oleaut32 snn
> use
> r32 uuid c:\wxwindows\lib\winsock_sc.lib
> OPTLINK (R) for Win32  Release 7.50B1
> Copyright (C) Digital Mars 1989 - 2001  All Rights Reserved
> 
> c:\wxwindows\lib\wx_sc.lib(utils)
>  Error 42: Symbol Undefined _WSACleanup@0
> c:\wxwindows\lib\wx_sc.lib(utils)
>  Error 42: Symbol Undefined _gethostbyaddr@12
> c:\wxwindows\lib\wx_sc.lib(utils)
>  Error 42: Symbol Undefined _gethostbyname@4
> c:\wxwindows\lib\wx_sc.lib(utils)
>  Error 42: Symbol Undefined _gethostname@8
> c:\wxwindows\lib\wx_sc.lib(utils)
>  Error 42: Symbol Undefined _WSAStartup@8
> 
> thanks chris
> 
> 

April 21, 2003
And take a look at:
http://www.digitalmars.com/~jan/
has a modified implib which helps you to get the decoration right with use of the M$ Platform api headers.

It is very usefull!

Arjan

Arjan Knepper wrote:
> I think you should use wsock32 instead of winsock.
> 
> Arjan
> 
> chris elliott wrote:
> 
>> "Arjan Knepper" <ask@me.to> wrote in message
>> news:b7sc5m$2kh3$1@digitaldaemon.com...
>>
>>> ad 1.
>>> Which version of the compiler are you using? I guess 8.33 because in the
>>> latest beta these problems are solved.
>>>
>>> ad 2.
>>> Where did you have this problem? I don't seem to have this problem here.
>>>
>>> Can you try to compile and run the samples\image sample? Compiles OK
>>> here but crashes when run. I didn't have the time to investigate this
>>> further. All/most other samples are compiling and running.
>>
>>
>>
>> I am still stuck on a bug with gethostbyname and other socket code; I did
>> implib  /s $(WINSOCKLIB) $(WINDIR)\system32\winsock.dll
>> and got a library
>>
>> lib -l
>>
>> shows the functions, but none have underscores prefixed
>> linking still fails;
>>
>>
>> C:\wxWindows\samples\minimal>make -f makefile.sc
>> link  /DELEXECUTABLE /RC minimal, minimal.exe, minimal,
>> c:\wxwindows\lib\wx_sc.l
>> ib  advapi32 comctl32 comdlg32 ctl3d32 gc  gdi32 kernel32 ole32 oleaut32 snn
>> use
>> r32 uuid c:\wxwindows\lib\winsock_sc.lib
>> OPTLINK (R) for Win32  Release 7.50B1
>> Copyright (C) Digital Mars 1989 - 2001  All Rights Reserved
>>
>> c:\wxwindows\lib\wx_sc.lib(utils)
>>  Error 42: Symbol Undefined _WSACleanup@0
>> c:\wxwindows\lib\wx_sc.lib(utils)
>>  Error 42: Symbol Undefined _gethostbyaddr@12
>> c:\wxwindows\lib\wx_sc.lib(utils)
>>  Error 42: Symbol Undefined _gethostbyname@4
>> c:\wxwindows\lib\wx_sc.lib(utils)
>>  Error 42: Symbol Undefined _gethostname@8
>> c:\wxwindows\lib\wx_sc.lib(utils)
>>  Error 42: Symbol Undefined _WSAStartup@8
>>
>> thanks chris
>>
>>
> 

April 21, 2003
"Arjan Knepper" <ask@me.to> wrote in message news:b7sc5m$2kh3$1@digitaldaemon.com...
> ad 1.
> Which version of the compiler are you using? I guess 8.33 because in the
> latest beta these problems are solved.
>
> ad 2.
> Where did you have this problem? I don't seem to have this problem here.
>
> Can you try to compile and run the samples\image sample? Compiles OK here but crashes when run. I didn't have the time to investigate this

I have now built the image sample and run it with no crashes - the wxWindows
CVS server seems down for the holiday but I will commit the changes as soon
as possible
thanks for the help
chris


April 21, 2003
"chris elliott" <biol75@york.ac.uk> wrote in message news:b8190m$2luq$1@digitaldaemon.com...
> I have now built the image sample and run it with no crashes - the
wxWindows
> CVS server seems down for the holiday but I will commit the changes as
soon
> as possible
> thanks for the help
> chris

Any problems with DMC I should know about?


April 22, 2003
Thanks!

Could you annouce it here when the updates are available in the CVS?

Arjan

chris elliott wrote:
> "Arjan Knepper" <ask@me.to> wrote in message
> news:b7sc5m$2kh3$1@digitaldaemon.com...
> 
>>ad 1.
>>Which version of the compiler are you using? I guess 8.33 because in the
>>latest beta these problems are solved.
>>
>>ad 2.
>>Where did you have this problem? I don't seem to have this problem here.
>>
>>Can you try to compile and run the samples\image sample? Compiles OK
>>here but crashes when run. I didn't have the time to investigate this
> 
> 
> I have now built the image sample and run it with no crashes - the wxWindows
> CVS server seems down for the holiday but I will commit the changes as soon
> as possible
> thanks for the help
> chris
> 
> 

April 22, 2003
"Arjan Knepper" <ask@me.to> wrote in message news:b805mo$1v17$1@digitaldaemon.com...
> And take a look at:
> http://www.digitalmars.com/~jan/
> has a modified implib which helps you to get the decoration right with
> use of the M$ Platform api headers.
>
> It is very usefull!
>
> Arjan
>
> Arjan Knepper wrote:
> > I think you should use wsock32 instead of winsock.
> >

hi && thanks for the prompt reply; my XP box has winsock.dll, but no winsock32

I tried building a .lib file from the winsock.dll using this, but got a corrupt library (which i could send ):

C:\wx\dm\bin>implib /system /v /suffix /Ic:\wx\dm\include\win32
c:\wxwindows\lib
\winsock_sc.lib c:\windows\system32\winsock.dll
Digital Mars Import Library Manager Version 7.5B4n
Copyright (C) Digital Mars 1999-2002.  All Rights Reserved.
Modified by Jan Knepper
Include Path : 'c:\wx\dm\include\win32'
Suffix::Include ( c:\wx\dm\include\win32 )
c:\wxwindows\lib\winsock_sc.lib
Input is a Windows WIN3 DLL file.
Output is a Windows WIN3 import library.
Digital Mars Import Library Creator complete.

C:\wx\dm\bin>lib -l \wxwindows\lib\winsock_sc.lib
Digital Mars Librarian Version 8.00n
Copyright (C) Digital Mars 2000-2002 All Rights Reserved www.digitalmars.com

Error: Corrupt file '\wxwindows\lib\winsock_sc.lib', Typ=xf1, Len=x6d09

C:\wx\dm\bin>

Chris


« First   ‹ Prev
1 2 3