You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Options

  1. put dclspec everywhere in your code
  2. Use the nice bindexplib utility from ROOT

example of option #2

We use this in Seattle to build our VS2005 projects. I've attached a log file for the compilation of astro.

A nutshell of the key steps:

bindexplib -o ..\vcc80dbg\astro\symbols.def astro ..\vcc80dbg\astro\*.obj
lib /machine:ix86 /def:..\vcc80dbg\astro\symbols.def  /out:..\vcc80dbg\astro.lib

These two comamnds produce both astro.lib, containing the stubs to be linked at build time, and astro.dll, loaded at runtime.

  • No labels