← Back to team overview

cuneiform team mailing list archive

Re: Try build in MSVS2008

 

On Sat, Dec 20, 2008 at 9:47 PM, Dmitry Polevoy
<openocr.polevoy@xxxxxxxxx> wrote:

> With revision 335 cuneiform-linux build with MSVC 2008.
> Copy .dat to Release or RelWithDebInfo and cuneiform work.
>
> Debug version call some asserts (variable is being used without being
> initialized).
>
> I didn't call "make install" and place dat-files near cuneiform.exe. May be
> last pach break some find dat-files function?

In Windows you should not need to use "make install" at all. The code
currently loads .dat files either from

a) the directory specified in CF_DATADIR environment variable
b) the directory that holds windummy.dll (determined at runtime)

INSTALL_PREFIX is ignored in Windows.

a is mainly for debugging while b is what should be used for every day work.

The idea is to create a standalone windows installer that holds all
the files and installs them to some directory. At this point Cuneiform
will just work, no matter where it is called from.



Follow ups

References