I also saw this error.

If you use makemsvc, you also need to set macro on the command line, eg

nmake -f makefile.win x64=1 JAVX2=1

see the first 20 lines in the makefile

On Fri, May 1, 2020, 6:12 AM Akakima <[email protected]> wrote:

> Hi,
>
> --- preparation
> Make a fresh clone of the J repository.
> setup version.h
> cd makemvsc
> cd jdll
> nmake -f makefile.win clean
> nmake -f makefile.win
>
> --- error
>          cl  /D_JDLL  /WX /W3 /Ot /Ob1 /Oy- /GS /Zc:strictStrings
> /D_USING_V110_SDK71_ /D_CRT_SECURE_NO_WARNINGS /MT  /Fo../../jsrc/cc.o
> /c ../../jsrc/cc.c
> Microsoft (R) C/C++ Optimizing Compiler Version 18.00.40629 for x86
> Copyright (C) Microsoft Corporation.  All rights reserved.
>
> cc.c
> ../../jsrc/cc.c(487) : error C2065: 'jt' : undeclared identifier
> ../../jsrc/cc.c(487) : error C2223: left of '->typesizes' must point to
> struct/union
> ../../jsrc/cc.c(487) : error C2168: '_tzcnt_u32' : too few actual
> parameters for intrinsic function
> NMAKE : fatal error U1077: 'E:\Vs2013\VC\BIN\cl.EXE' : return code '0x2'
> Stop.
>
> On 2020-04-30 13:40, Raul Miller wrote:
> > It's been ages since I've messed with VS2013 or windows, but... some
> > observation based questions which might help you shed some light on
> > this problem:
> >
> > Does VS2013 not identify the file where the error occurred? Or is this
> > a linking error?
> >
> > If it's a linking issue, I'm going to guess that you're building a dll
> > and haven't completed one of the prerequisite steps.
> >
> > But I am just guessing -- you haven't provided a lot of information
> > here about what you are doing nor about where the error occurred, That
> > sort of information is critical to understanding what's going on here.
> >
> > Thanks,
> >
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to