View previous topic :: View next topic |
Author |
Message |
jicman
Joined: 22 Dec 2004 Posts: 298 Location: Rochester, NY
|
Posted: Tue Sep 01, 2009 7:42 am Post subject: |
|
|
jcc7 wrote: | jicman wrote: | Ok, so I did a complete installation of juno and dmd, and I now have 1.046 and juno 0.5.1 installed. I am getting:
Quote: | 17:31:50.57>build -I..;c:\dmd\import -version=gui -version=Phobos OpenProjs.d
OPTLINK (R) for Win32 Release 8.00.1
Copyright (C) Digital Mars 1989-2004 All rights reserved.
C:\cygwin\home\us319318\source\d\juno\base\native.obj(native) Offset 002D8H Record Type 0091
Error 1: Previous Definition Different : _RT_STRING
version.lib
Warning 2: File Not Found version.lib
crypt32.lib
Warning 2: File Not Found crypt32.lib
OpenProjs.obj(OpenProjs)
Error 42: Symbol Undefined _D3dbi3all12__ModuleInfoZ
C:\cygwin\home\us319318\source\d\juno\com\core.obj(core)
Error 42: Symbol Undefined _VarCmp@16
C:\cygwin\home\us319318\source\d\juno\com\core.obj(core)
Error 42: Symbol Undefined _VarDecNeg@8 |
Any ideas?
thanks for the help.
jose |
You might trying using a .def file (such as oleaut32.def) to create a .lib file such as described at .def files. I've had success with this method in the past. |
Where or how do I get the .def files from?
thanks,
jose |
|
Back to top |
|
|
jcc7
Joined: 22 Feb 2004 Posts: 657 Location: Muskogee, OK, USA
|
Posted: Thu Sep 03, 2009 11:48 am Post subject: |
|
|
jicman wrote: | Where or how do I get the .def files from?
thanks,
jose |
I not sure whether:
(1) you somehow missed the hyperlinks in my last message
or
(2) perhaps you saw the links and wondered where to get even more .def files.
(1) Here are some .def files that I've found useful:
http://www.dsource.org/projects/bindings/browser/trunk/def
http://www.dsource.org/projects/bindings/wiki/DefFiles
(By the way, if a linker error comes up, the error messages will give hints on which lines should be added.)
(2) If you're asked where I got the .def files to begin with, that's a long story. I think I managed to convert some library files from a C compiler into the format that you see in the Binding project. That method was only semi-automated, and it never seemed ideal to me. I think there must be a better way...
I was just looking for an alternative source, and I think it'd be easier to convert the .def files in the MinGW project. I suspect MinGW's format isn't quite compatible with what Digital Mars wants, but I think it's close enough that automatic conversion wouldn't be too hard. |
|
Back to top |
|
|
jicman
Joined: 22 Dec 2004 Posts: 298 Location: Rochester, NY
|
Posted: Thu Sep 03, 2009 12:05 pm Post subject: |
|
|
jcc7 wrote: |
(2) If you're asked where I got the .def files to begin with, that's a long story. I think I managed to convert some library files from a C compiler into the format that you see in the Binding project. That method was only semi-automated, and it never seemed ideal to me. I think there must be a better way...
I was just looking for an alternative source, and I think it'd be easier to convert the .def files in the MinGW project. I suspect MinGW's format isn't quite compatible with what Digital Mars wants, but I think it's close enough that automatic conversion wouldn't be too hard. |
Yes, this is what I meant. I saw your def files and I coverted them, but I wanted to know how to get them. Thanks for the info. I am going to have to take a few days and play with MinGW. I used to have DevCpp installed, but once I got D, I unistalled it. I may have to reinstall it and see if I can get some def files.
thanks. |
|
Back to top |
|
|
jcc7
Joined: 22 Feb 2004 Posts: 657 Location: Muskogee, OK, USA
|
Posted: Fri Sep 04, 2009 12:00 pm Post subject: |
|
|
jicman wrote: | I am going to have to take a few days and play with MinGW. I used to have DevCpp installed, but once I got D, I unistalled it. I may have to reinstall it and see if I can get some def files. |
Actually (I'll try to be more clear), I don't think you'd need to install MinGW. I just downloaded a MinGW source file (w32api-3.13-mingw32-src.tar.gz), and it has a "lib" folder with a bunch of .def files that I think might be useful. |
|
Back to top |
|
|
jicman
Joined: 22 Dec 2004 Posts: 298 Location: Rochester, NY
|
Posted: Tue Sep 08, 2009 4:33 pm Post subject: |
|
|
Aaah, ok. Thanks.
jose |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|