Skip to content

Can't build xsbug on Windows #110

@horihiro

Description

@horihiro

I tried to Host environment setup step for Windows to build tools.

I got following error on step 6.

At first build command is not recognized.

C:\Users\horihiro\Projects\moddable\build\makefiles\win>build
'build' is not recognized as an internal or external command,
operable program or batch file.

So I executed build.bat instead of build, but I got following another error.
# sorry for japanese message only.

C:\Users\horihiro\Projects\moddable\build\makefiles\win>build.bat

nmake GOAL=debug BUILD_DIR=C:\Users\horihiro\Projects\moddable\build XS_DIR=C:\Users\horihiro\Projects\moddable\xs /c /f C:\Users\horihiro\Projects\moddable\xs\makefiles\win\xsc.mak /s

    :
    (Many logs are output)
    :

# xsid piuAll.h.xsi
# xsid piuCode.h.xsi
# xsid piuPC.h.xsi
# xsid piuPlatform.h.xsi
# xsid yaml.h.xsi
# xsid yaml_config.h.xsi
# xsid yaml_private.h.xsi
# xsl modules
mc.xs.c
piuApplication.c
c1: fatal error C1083: ソース ファイルを開けません。'C:\Users\horihiro\Projects\moddable\modules\piu\All\piuApplication.c':No such file or directory
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\bin\HostX86\x86\cl.EXE"' : リターン コード '0x2'
Stop.

It seems that the error occured at L32 (for debug) and L41 (for release) in build.bat

I tried to above command at the line 32 (or 41), I got same error.

C:\Users\horihiro\Projects\moddable\build\makefiles\win>%MODDABLE%\build\bin\win\debug\mcconfig -d -m -p x-win %MODDABLE%\tools\xsbug\manifest.json
piuApplication.c
c1: fatal error C1083: ソース ファイルを開けません。'C:\Users\horihiro\Projects\moddable\modules\piu\All\piuApplication.c':No such file or directory
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\bin\HostX86\x86\cl.EXE"' : リターン コード '0x2'
Stop.

The error says piuApplication.c is not found, but the file exists in my computer and also the path of the file is correct.
I can't understand why the error occurred.

Could you please help to build xsbug tool?

Best Regards,

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions