[erlang-questions] Windows compiled Jiffy library
Wed Jan 14 15:32:18 CET 2015
On Wed, Jan 14, 2015 at 2:54 PM, jim rosenblum wrote:
> I reinstalled visual Studio 2013 and now the rebar comand executed
> to completion , but I have a ton of warnings and a message about
> unknown options (-g and -03) and the result doesn't pass the eunit
> tests due to the NIF not being loadable. I assume that I am using
> the wrong tool chain, but this is over my head (I am not a Windows
> or C/C++ guy).
Looking at jiffy's rebar.config, it seems like this is caused by lines
10 and 11, which seem to be safe to omit, so delete the lines and try
again. Or you could replace ".*" with the regex from line 13.
I'll send you a modified rebar.config.
> Thanks for you help, but I think I'm close to giving up on this.
Don't give up, this is the technology we have to deal with, and it's
usually because people decided to disregard/forget good solutions from
the past in favor of inferior reinventions.
> On Tue, Jan 13, 2015 at 5:17 PM, Tuncer Ayaz wrote:
> > On Tue, Jan 13, 2015 at 11:03 PM, jim rosenblum wrote:
> > > I was able to use the INCLUDE environment variable to point to
> > > the include directories - C:\Program Files (x86)\Microsoft
> > > Visual Studio 12.0\VC\include - and that got me past this
> > > complaint. Now it is complaining that it canno open LIBCMT.lib.
> > > I have both the path and the INCLUDE variables pointing to the
> > > correct path to where that lib lives, but that doesn't seem to
> > > work. I tried changing the line that you indicated, but it did
> > > not seem to do anything
> > I can only speculate, but are you sure you've started a command
> > prompt that initially executes the Visual Studio env batch file?
> > There should be a shortcut to start that in Visual Studio's start
> > menu folder.
More information about the erlang-questions