[Windows OS] Issue with Make

support for the ARM toolchain
Post Reply
RynerLute
Posts: 1
Joined: Fri Jan 31, 2020 6:32 pm

[Windows OS] Issue with Make

Post by RynerLute » Fri Jan 31, 2020 7:19 pm

Code: Select all

$ env
USERDOMAIN=DESKTOP-L
OS=Windows_NT
COMMONPROGRAMFILES=C:\Program Files\Common Files
PROCESSOR_LEVEL=23
PSModulePath=C:\Program Files\WindowsPowerShell\Modules;C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules
CommonProgramW6432=C:\Program Files\Common Files
CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files
DEVKITPRO=C:/devkitPro
MSYSCON=mintty.exe
LANG=en_US.UTF-8
TZ=America/Phoenix
MSYSTEM_CARCH=x86_64
HOSTNAME=DESKTOP-L7DFFNR
PUBLIC=C:\Users\Public
OLDPWD=/opt/devkitpro/msys2
CONFIG_SITE=/etc/config.site
WD=C:\devkitPro\msys2\usr\bin\
CONTITLE=MSYS2 MSYS
MSYSTEM_CHOST=x86_64-pc-msys
USERNAME=ryner
LOGONSERVER=\\DESKTOP-L
PROCESSOR_ARCHITECTURE=AMD64
tmp=C:\Users\ryner\AppData\Local\Temp
LOCALAPPDATA=C:\Users\ryner\AppData\Local
ADSK_CLM_WPAD_PROXY_CHECK=FALSE
COMPUTERNAME=DESKTOP-L
USER=ryner
SYSTEMDRIVE=C:
USERPROFILE=C:\Users\ryner
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
SYSTEMROOT=C:\WINDOWS
USERDOMAIN_ROAMINGPROFILE=DESKTOP-L7DFFNR
PROCESSOR_IDENTIFIER=AMD64 Family 23 Model 1 Stepping 1, AuthenticAMD
OneDriveConsumer=C:\Users\ryner\OneDrive
PWD=/home/ryner
HOME=/home/ryner
TMP=/tmp
MSYSTEM_PREFIX=/usr
OneDrive=C:\Users\ryner\OneDrive
!C:=c:\devkitPro\msys2
PROCESSOR_REVISION=0101
PROMPT=$P$G
NUMBER_OF_PROCESSORS=16
ProgramW6432=C:\Program Files
MIC_LD_LIBRARY_PATH=C:\Program Files (x86)\Common Files\Intel\Shared Libraries\compiler\lib\intel64_win_mic
COMSPEC=C:\WINDOWS\system32\cmd.exe
APPDATA=C:\Users\ryner\AppData\Roaming
DEVKITARM=C:/devkitPro/devkitARM
SHELL=/usr/bin/bash
TERM=xterm
DEVKITPPC=C:/devkitPro/devkitPPC
WINDIR=C:\WINDOWS
INTEL_DEV_REDIST=C:\Program Files (x86)\Common Files\Intel\Shared Libraries\
ProgramData=C:\ProgramData
SHLVL=1
PRINTER=OneNote
PROGRAMFILES=C:\Program Files
MANPATH=/usr/local/man:/usr/share/man:/usr/man:/share/man
ORIGINAL_TEMP=/home/ryner/AppData/Local/Temp
ORIGINAL_TMP=/home/ryner/AppData/Local/Temp
ALLUSERSPROFILE=C:\ProgramData
TEMP=/tmp
temp=C:\Users\ryner\AppData\Local\Temp
DriverData=C:\Windows\System32\Drivers\DriverData
MSYSTEM=MSYS
SESSIONNAME=Console
ProgramFiles(x86)=C:\Program Files (x86)
PATH=C:/devkitPro/tools/bin:/usr/local/bin:/usr/bin:/bin:/opt/bin:/c/Windows/System32:/c/Windows:/c/Windows/System32/Wbem:/c/Windows/System32/WindowsPowerShell/v1.0/:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl
PS1=\[\e]0;\w\a\]\n\[\e[32m\]\[email protected]\h \[\e[35m\]$MSYSTEM\[\e[0m\] \[\e[33m\]\w\[\e[0m\]\n\$
HOMEDRIVE=C:
PKG_CONFIG_PATH=/usr/lib/pkgconfig:/usr/share/pkgconfig:/lib/pkgconfig
INFOPATH=/usr/local/info:/usr/share/info:/usr/info:/share/info
HOMEPATH=\Users\ryner
ORIGINAL_PATH=/c/Windows/System32:/c/Windows:/c/Windows/System32/Wbem:/c/Windows/System32/WindowsPowerShell/v1.0/
_=/usr/bin/env
I cannot use make on any of the example projects etc for nintendo switch. When I used the installer I checked all boxes and uninstalled/reinstalled modified the env vars in MSys2 etc. Nothing is working and it's frustrating af. I have VS 2019 community edition - WDK installed, GIT installed etc.

Code: Select all

makefile:10: /opt/devkitpro/libnx/switch_rules: No such file or directory
make.exe: *** No rule to make target `/opt/devkitpro/libnx/switch_rules'.  Stop.
Image

sugafr33
Posts: 1
Joined: Thu Apr 23, 2020 3:50 am

Re: [Windows OS] Issue with Make

Post by sugafr33 » Thu Apr 23, 2020 3:52 am

I am having the same issue....where you ever able to get this resolved?

WinterMute
Site Admin
Posts: 1436
Joined: Tue Aug 09, 2005 3:21 am
Location: UK
Contact:

Re: [Windows OS] Issue with Make

Post by WinterMute » Mon May 11, 2020 1:48 am

The environment variables set up by the installer should have been left alone. They're supposed to contain msys paths, not windows paths.

Code: Select all

DEVKITPRO=C:/devkitPro should be DEVKITPRO=/opt/devkitpro

Code: Select all

DEVKITPPC=C:/devkitPro/devkitPPC should be DEVKITPPC=/opt/devkitpro/devkitPPC

Code: Select all

DEVKITARM=C:/devkitPro/devkitARM should be DEVKITARM=/opt/devkitpro/devkitARM
These should work fine provided that you're running make from the msys2 install provided by the devkitPro installer. Can you open a bash shell (that's the msys2 option in the devkitPro start menu) and check if it works from there. Ensure that 'ls -al /opt/devkitpro/libnx' shows the right files. Check also that your user has permission to access those files (security tab on folder properties).
Help keep devkitPro toolchains free, Donate today

devkitPro IRC support
Personal Blog

Post Reply

Who is online

Users browsing this forum: No registered users and 7 guests