Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

msys2 build error #230

Open
rgkirch opened this issue Apr 15, 2024 · 1 comment
Open

msys2 build error #230

rgkirch opened this issue Apr 15, 2024 · 1 comment

Comments

@rgkirch
Copy link
Contributor

rgkirch commented Apr 15, 2024

running make gives
make[2]: *** No rule to make target '/c/Users/me/notMyCode/tomhrr/dale/src/dale/Arch/Arch.cpp', needed by 'CMakeFiles/dale.dir/src/dale/Arch/Arch.cpp.o'. Stop.
This is with the https://gitforwindows.org/ "Git for Windows SDK" after installing cmake with winget winget install -e --id Kitware.CMake and make with choco choco install make

me@Yoga MSYS ~/notMyCode/tomhrr/dale.build.git-sdk-64 (main)
$ cmake ../dale -DLLVM_CONFIG="/c/git-sdk-64/mingw64/opt/llvm-14/bin/llvm-config.exe"
-- The C compiler identification is GNU 13.2.0
-- The CXX compiler identification is GNU 13.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - failed
-- Check for working C compiler: /usr/bin/cc.exe
-- Check for working C compiler: /usr/bin/cc.exe - works
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - failed
-- Check for working CXX compiler: /usr/bin/c++.exe
-- Check for working CXX compiler: /usr/bin/c++.exe - works
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- LLVM version: 14.0.6
-- LLVM version major: 14
-- LLVM version minor: 0
-- System name: MSYS
-- System processor: x86_64
-- System version: 3.4.10-87d57229.x86_64
-- Found PkgConfig: /usr/bin/pkg-config.exe (found version "1.7.4")
-- Checking for one of the modules 'libffi'
-- Build type: RELEASE
-- Configuring done (4.2s)
-- Generating done (0.6s)
-- Build files have been written to: /c/Users/me/notMyCode/tomhrr/dale.build.git-sdk-64

me@Yoga MSYS ~/notMyCode/tomhrr/dale.build.git-sdk-64 (main)
$ make
make[2]: *** No rule to make target '/c/Users/me/notMyCode/tomhrr/dale/src/dale/Arch/Arch.cpp', needed by 'CMakeFiles/dale.dir/src/dale/Arch/Arch.cpp.o'.  Stop.
make[1]: *** [CMakeFiles/Makefile2:175: CMakeFiles/dale.dir/all] Error 2
make: *** [Makefile:136: all] Error 2

me@Yoga MSYS ~/notMyCode/tomhrr/dale.build.git-sdk-64 (main)
$ cd ../dale

$ git log --name-status HEAD^..HEAD
commit 46e6dfca5137266b388fc1bfea5d5f6f27889dce (HEAD -> master, origin/master)
Author: Tom Harrison <[email protected]>
Date:   Mon Apr 15 17:02:26 2024 +1000

    [master] Add cstdint headers to (potentially) help with Windows builds.

M       src/dale/Serialise/Serialise.h
M       src/dale/Type/Type.h
M       src/dale/llvmUtils/llvmUtils.h
@tomhrr
Copy link
Owner

tomhrr commented Apr 16, 2024

Similarly to #228, the problem is not apparent from the log, and in the absence of a machine for testing, there's not much I can do here, sorry.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants