David Bolton wrote:
> I am by no means an expert at building for windows and I haven't used 
> scons before so it is possible that I am missing something simple. When 
> I type "scons --help" it does not give me the help options. It just 

The task you're doing is about 90% scons (and thus, python).  I recommend going 
through the scons documentation (http://www.scons.org/documentation.php) and 
learning about how scons does things with some simple tutorials or projects. 
That will give you tools you need to tackle the Hydrogen Sconstruct file.  If 
you don't know python... you need to know python.  :-)

Hydrogen's Sconstruct has two core functions with respect to the build:

   get_hydrogen_lib():
      The critical section is where it has:
         env = Environment(...blah...)
      and
         static_lib = env.StaticLibrary(target = 'hydrogen', source = src)

   get_hydrogen_gui():
      The critical section is:
         env = Environment(...blah...)
      and
         env.Append( LIBS = lib_hydrogen )
      and
         app = env.Program(target = 'hydrogen', source = src)
         app.Alias('programs', app)

Both of these utilize the function get_platform_flags() to help with the 
libraries and settings that affect both part.  Also, a lot of things in the 
Sconstruct file assume that you're using g++.  If you use a different compiler, 
you'll probably have to resolve some of those (but that should be simple).

FWIW, getting H2 to build against a Windows DLL is new territory for me, too. 
In the past, on windows, I haven't had to deal with that.

HTH,
Gabriel


------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT 
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian 
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com 
_______________________________________________
Hydrogen-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/hydrogen-devel

Reply via email to