View previous topic :: View next topic |
Author |
Message |
chojin
Joined: 11 Feb 2007 Posts: 13
|
Posted: Sun Mar 04, 2007 9:46 am Post subject: Building BCDGEN |
|
|
Ok, so I've spent the last couple of hours trying to build bcdgen on windows... with zero luck.
I've got the prereqs and as far as I can tell they are installed correctly.
I try to build bcdgen with:
dmd -g bcd/gen/bcdgen.d bcd/gen/libxml2.d common/path.d -ofbcdgen.exe libxml2.lib
I got this command line argument based on the included makefile. now, I have placed a libxml2.lib in my /libs/ dir but when compiling I get errors that it isn't a valid library. I got it from the libxml zip off the libxml site so I gather it wasn't meant for D. I also tried generating a library from the dll using implib, which also generates a nonworking .lib file.
I get this error:
F:\Toolchain--D\compiler\bin\..\lib\libxml2.lib
Error 43: Not a Valid Library File
--- errorlevel 1
I am new to D but I really would like to use cairo within it. Because the cairo bindings maintainer hasn't updated in like a year, I am trying to create bindings for it myself.
Why can't bcdgen just provide a binary?!?! It seems like a relatively ridiculous thing to go through all this when it has a complicated compilation procedure. |
|
Back to top |
|
|
jcc7
Joined: 22 Feb 2004 Posts: 657 Location: Muskogee, OK, USA
|
Posted: Sun Mar 04, 2007 12:27 pm Post subject: Re: Building BCDGEN |
|
|
chojin wrote: | Why can't bcdgen just provide a binary?!?! It seems like a relatively ridiculous thing to go through all this when it has a complicated compilation procedure. | Are you sure that a binary isn't provided?
See http://www.dsource.org/projects/bcd/browser/downloads |
|
Back to top |
|
|
chojin
Joined: 11 Feb 2007 Posts: 13
|
Posted: Sun Mar 04, 2007 12:46 pm Post subject: |
|
|
jcc7,
thankyou so much for that, I didn't actually get those when I downloaded the cvs tree. Via the browser it worked fine. Thanks for taking the time to respond to both of my posts. |
|
Back to top |
|
|
ideage
Joined: 12 Jul 2006 Posts: 63 Location: china
|
Posted: Sat Mar 24, 2007 11:23 pm Post subject: Re: Building BCDGEN |
|
|
chojin wrote: | F:\Toolchain--D\compiler\bin\..\lib\libxml2.lib
Error 43: Not a Valid Library File
--- errorlevel 1
|
use implib /s libxml2.lib libxml2.dll to generate OMF format lib,then will sucess.
________
extreme vaporizer
Last edited by ideage on Wed Feb 02, 2011 5:07 pm; edited 1 time in total |
|
Back to top |
|
|
dan.lewis
Joined: 21 Feb 2007 Posts: 69 Location: Canada
|
Posted: Thu Mar 29, 2007 11:29 am Post subject: |
|
|
Thanks m8! I'm hoping to figure out how to bind a few C++ libraries such as Ogre3D and ++DirectFB to D via BCD. If it works, I might post the result in the Bindings project.
It would be awesome for game construction and linux graphics to have those two under the ol' belt (in addition to OpenGL and OpenAL which they already have)
I picture D + Ogre3D + DirectFB + DirectFBGL + OpenGL + OpenAL + Blender3D being used for some sweet-assed rapid game and desktop construction... and it would work on a Linux+fb.
Advantages:
Doesn't use X11,
Hardware acceleration is decent,
Ogre3D does most of the graphics math,
Garbage collected,
D,
Ogre3D mesh and texture files are sexy,
OpenGL is portable. D is portable. Only DirectFB interfaces need to be ported (probably to DirectX).
|
|
Back to top |
|
|
|