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

redumper with LLVM/clang on Windows #112

Open
superg opened this issue Jan 12, 2024 · 0 comments
Open

redumper with LLVM/clang on Windows #112

superg opened this issue Jan 12, 2024 · 0 comments

Comments

@superg
Copy link
Owner

superg commented Jan 12, 2024

make changes so it compiles with clang on windows.

MSVC toolkit: -T ClangCL

Current output:

Build started at 3:28 PM...
1>------ Build started: Project: ZERO_CHECK, Configuration: Debug x64 ------
1>Checking Build System
2>------ Build started: Project: tests, Configuration: Debug x64 ------
3>------ Build started: Project: lzma, Configuration: Debug x64 ------
4>------ Build started: Project: generate_offsets, Configuration: Debug x64 ------
5>------ Skipped Build: Project: RUN_TESTS, Configuration: Debug x64 ------
5>Project not selected to build for this solution configuration 
2>Building Custom Rule C:/Users/G/projects/redumper/tests/CMakeLists.txt
2>Scanning sources for module dependencies...
2>clang-cl : warning : unknown argument ignored in clang-cl: '-stdlib=libc++' [-Wunknown-argument]
2>clang-cl : warning : unknown argument ignored in clang-cl: '-stdlib=libc++' [-Wunknown-argument]
2>clang-cl : warning : unknown argument ignored in clang-cl: '-stdlib=libc++' [-Wunknown-argument]
2>clang-cl : warning : unknown argument ignored in clang-cl: '-stdlib=libc++' [-Wunknown-argument]
2>clang-cl : warning : unknown argument ignored in clang-cl: '-stdlib=libc++' [-Wunknown-argument]
2>clang-cl : warning : unknown argument ignored in clang-cl: '-stdlib=libc++' [-Wunknown-argument]
2>clang-cl : warning : unknown argument ignored in clang-cl: '-stdlib=libc++' [-Wunknown-argument]
2>clang-cl : warning : unknown argument ignored in clang-cl: '-stdlib=libc++' [-Wunknown-argument]
2>clang-cl : warning : unknown argument ignored in clang-cl: '-stdlib=libc++' [-Wunknown-argument]
2>clang-cl : error : no such file or directory: '/scanDependencies'
2>clang-cl : error : no such file or directory: '/interface'
2>clang-cl : error : no such file or directory: '/dxifcInlineFunctions-'
2>clang-cl : error : no such file or directory: '/scanDependencies'
2>clang-cl : error : cannot specify '/Fotests.dir\Debug\cd.ixx.obj' when compiling multiple source files
2>clang-cl : error : no such file or directory: '/scanDependencies'
2>clang-cl : error : no such file or directory: '/interface'
2>clang-cl : error : no such file or directory: '/dxifcInlineFunctions-'
2>clang-cl : error : cannot specify '/Fotests.dir\Debug\file_io.ixx.obj' when compiling multiple source files
2>clang-cl : error : no such file or directory: '/scanDependencies'
2>clang-cl : error : no such file or directory: '/scanDependencies'
2>clang-cl : error : no such file or directory: '/interface'
2>clang-cl : error : no such file or directory: '/dxifcInlineFunctions-'
2>clang-cl : error : cannot specify '/Fotests.dir\Debug\crc16_gsm.ixx.obj' when compiling multiple source files
2>clang-cl : error : no such file or directory: '/interface'
2>clang-cl : error : no such file or directory: '/dxifcInlineFunctions-'
2>clang-cl : error : cannot specify '/Fotests.dir\Debug\crc.ixx.obj' when compiling multiple source files
2>clang-cl : error : no such file or directory: '/scanDependencies'
2>clang-cl : error : no such file or directory: '/scanDependencies'
2>clang-cl : error : no such file or directory: '/interface'
2>clang-cl : error : no such file or directory: '/scanDependencies'
2>clang-cl : error : no such file or directory: '/interface'
2>clang-cl : error : no such file or directory: '/dxifcInlineFunctions-'
2>clang-cl : error : no such file or directory: '/scanDependencies'
2>clang-cl : error : cannot specify '/Fotests.dir\Debug\misc.ixx.obj' when compiling multiple source files
2>clang-cl : error : no such file or directory: '/interface'
2>clang-cl : error : no such file or directory: '/dxifcInlineFunctions-'
2>clang-cl : error : cannot specify '/Fotests.dir\Debug\strings.ixx.obj' when compiling multiple source files
2>clang-cl : error : no such file or directory: '/dxifcInlineFunctions-'
2>clang-cl : error : cannot specify '/Fotests.dir\Debug\edc.ixx.obj' when compiling multiple source files
2>clang-cl : error : no such file or directory: '/interface'
2>clang-cl : error : no such file or directory: '/dxifcInlineFunctions-'
2>clang-cl : error : cannot specify '/Fotests.dir\Debug\crc32.ixx.obj' when compiling multiple source files
2>clang-cl : error : no such file or directory: '/interface'
2>clang-cl : error : no such file or directory: '/dxifcInlineFunctions-'
2>clang-cl : error : cannot specify '/Fotests.dir\Debug\scrambler.ixx.obj' when compiling multiple source files
2>clang-cl : warning : unknown argument ignored in clang-cl: '-stdlib=libc++' [-Wunknown-argument]
2>clang-cl : error : no such file or directory: '/scanDependencies'
2>clang-cl : error : no such file or directory: '/interface'
2>clang-cl : error : no such file or directory: '/dxifcInlineFunctions-'
2>clang-cl : error : cannot specify '/Fotests.dir\Debug\cdrom.ixx.obj' when compiling multiple source files
2>clang-cl : warning : unknown argument ignored in clang-cl: '-stdlib=libc++' [-Wunknown-argument]
2>clang-cl : error : no such file or directory: '/dxifcInlineFunctions-'
2>Done building project "tests.vcxproj" -- FAILED.
3>Building Custom Rule C:/Users/G/projects/redumper/lzma/CMakeLists.txt
4>Building Custom Rule C:/Users/G/projects/redumper/CMakeLists.txt
3>clang-cl : error : no such file or directory: '/dxifcInlineFunctions-'
3>clang-cl : error : no such file or directory: '/dxifcInlineFunctions-'
3>clang-cl : error : no such file or directory: '/dxifcInlineFunctions-'
3>clang-cl : error : no such file or directory: '/dxifcInlineFunctions-'
3>clang-cl : error : no such file or directory: '/dxifcInlineFunctions-'
3>clang-cl : error : no such file or directory: '/dxifcInlineFunctions-'
3>clang-cl : error : no such file or directory: '/dxifcInlineFunctions-'
3>clang-cl : error : no such file or directory: '/dxifcInlineFunctions-'
3>Done building project "lzma.vcxproj" -- FAILED.
4>clang-cl : warning : unknown argument ignored in clang-cl: '-stdlib=libc++' [-Wunknown-argument]
4>clang-cl : error : no such file or directory: '/dxifcInlineFunctions-'
4>Done building project "generate_offsets.vcxproj" -- FAILED.
6>------ Build started: Project: redumper, Configuration: Debug x64 ------
6>Generating driveoffsets.inc
6>'C:\Users\G\projects\BUILD\redumper_clang_DEBUG\Debug\generate_offsets.exe' is not recognized as an internal or external command,
6>operable program or batch file.
6>C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(254,5): error MSB8066: Custom build for 'C:\Users\G\projects\BUILD\redumper_clang_DEBUG\CMakeFiles\efcfd9f54b41c73a06c9eb49e911f855\driveoffsets.inc.rule;C:\Users\G\projects\redumper\CMakeLists.txt' exited with code 9009.
6>Done building project "redumper.vcxproj" -- FAILED.
7>------ Build started: Project: ALL_BUILD, Configuration: Debug x64 ------
7>Building Custom Rule C:/Users/G/projects/redumper/CMakeLists.txt
7>Scanning sources for module dependencies...
7>clang-cl : warning : unknown argument ignored in clang-cl: '-stdlib=libc++' [-Wunknown-argument]
7>clang-cl : warning : unknown argument ignored in clang-cl: '-stdlib=libc++' [-Wunknown-argument]
7>clang-cl : warning : unknown argument ignored in clang-cl: '-stdlib=libc++' [-Wunknown-argument]
7>clang-cl : error : no such file or directory: '/scanDependencies'
7>clang-cl : warning : unknown argument ignored in clang-cl: '-stdlib=libc++' [-Wunknown-argument]
7>clang-cl : error : no such file or directory: '/scanDependencies'
7>clang-cl : warning : unknown argument ignored in clang-cl: '-stdlib=libc++' [-Wunknown-argument]
7>clang-cl : warning : unknown argument ignored in clang-cl: '-stdlib=libc++' [-Wunknown-argument]
7>clang-cl : error : no such file or directory: '/interface'
7>clang-cl : warning : unknown argument ignored in clang-cl: '-stdlib=libc++' [-Wunknown-argument]
7>clang-cl : error : no such file or directory: '/scanDependencies'
7>clang-cl : error : no such file or directory: '/scanDependencies'
7>clang-cl : warning : unknown argument ignored in clang-cl: '-stdlib=libc++' [-Wunknown-argument]
7>clang-cl : error : no such file or directory: '/dxifcInlineFunctions-'
7>clang-cl : error : no such file or directory: '/scanDependencies'
7>clang-cl : error : no such file or directory: '/interface'
7>clang-cl : error : no such file or directory: '/scanDependencies'
7>clang-cl : warning : unknown argument ignored in clang-cl: '-stdlib=libc++' [-Wunknown-argument]
7>clang-cl : warning : unknown argument ignored in clang-cl: '-stdlib=libc++' [-Wunknown-argument]
7>clang-cl : error : no such file or directory: '/scanDependencies'
7>clang-cl : error : no such file or directory: '/dxifcInlineFunctions-'
7>clang-cl : error : no such file or directory: '/interface'
7>clang-cl : error : no such file or directory: '/interface'
7>clang-cl : error : cannot specify '/Foredumper.dir\Debug\iso9660_defs.ixx.obj' when compiling multiple source files
7>clang-cl : error : no such file or directory: '/interface'
7>clang-cl : error : no such file or directory: '/interface'
7>clang-cl : error : no such file or directory: '/scanDependencies'
7>clang-cl : warning : unknown argument ignored in clang-cl: '-stdlib=libc++' [-Wunknown-argument]
7>clang-cl : error : no such file or directory: '/scanDependencies'
7>clang-cl : error : no such file or directory: '/scanDependencies'
7>clang-cl : error : no such file or directory: '/dxifcInlineFunctions-'
7>clang-cl : error : no such file or directory: '/dxifcInlineFunctions-'
7>clang-cl : error : cannot specify '/Foredumper.dir\Debug\silence.ixx.obj' when compiling multiple source files
7>clang-cl : error : no such file or directory: '/dxifcInlineFunctions-'
7>clang-cl : error : no such file or directory: '/dxifcInlineFunctions-'
7>clang-cl : error : no such file or directory: '/interface'
7>clang-cl : error : no such file or directory: '/interface'
7>clang-cl : error : no such file or directory: '/interface'
7>clang-cl : error : cannot specify '/Foredumper.dir\Debug\analyzer.ixx.obj' when compiling multiple source files
7>clang-cl : error : no such file or directory: '/dxifcInlineFunctions-'
7>clang-cl : error : cannot specify '/Foredumper.dir\Debug\subcode.ixx.obj' when compiling multiple source files
7>clang-cl : error : cannot specify '/Foredumper.dir\Debug\crc16_gsm.ixx.obj' when compiling multiple source files
7>clang-cl : error : no such file or directory: '/scanDependencies'
7>clang-cl : error : no such file or directory: '/interface'
7>clang-cl : error : no such file or directory: '/dxifcInlineFunctions-'
7>clang-cl : error : no such file or directory: '/dxifcInlineFunctions-'
7>clang-cl : error : cannot specify '/Foredumper.dir\Debug\scrambler.ixx.obj' when compiling multiple source files
7>clang-cl : error : no such file or directory: '/interface'
7>clang-cl : error : no such file or directory: '/dxifcInlineFunctions-'
7>clang-cl : error : cannot specify '/Foredumper.dir\Debug\cd_dump.ixx.obj' when compiling multiple source files
7>clang-cl : error : cannot specify '/Foredumper.dir\Debug\toc.ixx.obj' when compiling multiple source files
7>clang-cl : error : cannot specify '/Foredumper.dir\Debug\split.ixx.obj' when compiling multiple source files
7>clang-cl : error : no such file or directory: '/dxifcInlineFunctions-'
7>clang-cl : error : cannot specify '/Foredumper.dir\Debug\sync.ixx.obj' when compiling multiple source files
7>clang-cl : error : cannot specify '/Foredumper.dir\Debug\cd_dump_new.ixx.obj' when compiling multiple source files
7>clang-cl : warning : unknown argument ignored in clang-cl: '-stdlib=libc++' [-Wunknown-argument]
7>clang-cl : warning : unknown argument ignored in clang-cl: '-stdlib=libc++' [-Wunknown-argument]
7>clang-cl : error : no such file or directory: '/scanDependencies'
7>clang-cl : warning : unknown argument ignored in clang-cl: '-stdlib=libc++' [-Wunknown-argument]
7>clang-cl : error : no such file or directory: '/scanDependencies'
7>clang-cl : warning : unknown argument ignored in clang-cl: '-stdlib=libc++' [-Wunknown-argument]
7>clang-cl : error : no such file or directory: '/interface'
7>clang-cl : warning : unknown argument ignored in clang-cl: '-stdlib=libc++' [-Wunknown-argument]
7>clang-cl : error : no such file or directory: '/scanDependencies'
7>clang-cl : error : no such file or directory: '/scanDependencies'
7>clang-cl : warning : unknown argument ignored in clang-cl: '-stdlib=libc++' [-Wunknown-argument]
7>clang-cl : error : no such file or directory: '/interface'
7>clang-cl : error : no such file or directory: '/scanDependencies'
7>clang-cl : error : no such file or directory: '/interface'
7>clang-cl : warning : unknown argument ignored in clang-cl: '-stdlib=libc++' [-Wunknown-argument]
7>clang-cl : error : no such file or directory: '/interface'
7>clang-cl : error : no such file or directory: '/scanDependencies'
7>clang-cl : error : no such file or directory: '/interface'
7>clang-cl : error : no such file or directory: '/dxifcInlineFunctions-'
7>clang-cl : error : no such file or directory: '/dxifcInlineFunctions-'
7>clang-cl : error : no such file or directory: '/scanDependencies'
7>clang-cl : error : no such file or directory: '/dxifcInlineFunctions-'
7>clang-cl : error : no such file or directory: '/dxifcInlineFunctions-'
7>clang-cl : error : no such file or directory: '/interface'
7>clang-cl : error : cannot specify '/Foredumper.dir\Debug\offset_manager.ixx.obj' when compiling multiple source files
7>clang-cl : error : cannot specify '/Foredumper.dir\Debug\ecc.ixx.obj' when compiling multiple source files
7>clang-cl : error : no such file or directory: '/interface'
7>clang-cl : error : cannot specify '/Foredumper.dir\Debug\cd.ixx.obj' when compiling multiple source files
7>clang-cl : error : cannot specify '/Foredumper.dir\Debug\cdrom.ixx.obj' when compiling multiple source files
7>clang-cl : error : no such file or directory: '/dxifcInlineFunctions-'
7>clang-cl : error : no such file or directory: '/dxifcInlineFunctions-'
7>clang-cl : error : cannot specify '/Foredumper.dir\Debug\edc.ixx.obj' when compiling multiple source files
7>clang-cl : error : cannot specify '/Foredumper.dir\Debug\css.ixx.obj' when compiling multiple source files
7>clang-cl : error : no such file or directory: '/dxifcInlineFunctions-'
7>clang-cl : error : cannot specify '/Foredumper.dir\Debug\crc32.ixx.obj' when compiling multiple source files
7>clang-cl : warning : unknown argument ignored in clang-cl: '-stdlib=libc++' [-Wunknown-argument]
7>clang-cl : warning : unknown argument ignored in clang-cl: '-stdlib=libc++' [-Wunknown-argument]
7>clang-cl : error : no such file or directory: '/scanDependencies'
7>clang-cl : error : no such file or directory: '/interface'
7>clang-cl : error : no such file or directory: '/scanDependencies'
7>clang-cl : error : no such file or directory: '/dxifcInlineFunctions-'
7>clang-cl : error : cannot specify '/Foredumper.dir\Debug\crc.ixx.obj' when compiling multiple source files
7>clang-cl : error : no such file or directory: '/interface'
7>clang-cl : error : no such file or directory: '/dxifcInlineFunctions-'
7>clang-cl : error : cannot specify '/Foredumper.dir\Debug\iso9660.ixx.obj' when compiling multiple source files
7>clang-cl : warning : unknown argument ignored in clang-cl: '-stdlib=libc++' [-Wunknown-argument]
7>clang-cl : warning : unknown argument ignored in clang-cl: '-stdlib=libc++' [-Wunknown-argument]
7>clang-cl : error : no such file or directory: '/scanDependencies'
7>clang-cl : error : no such file or directory: '/interface'
7>clang-cl : error : no such file or directory: '/scanDependencies'
7>clang-cl : error : no such file or directory: '/dxifcInlineFunctions-'
7>clang-cl : error : no such file or directory: '/interface'
7>clang-cl : error : cannot specify '/Foredumper.dir\Debug\dvd_key.ixx.obj' when compiling multiple source files
7>clang-cl : error : no such file or directory: '/dxifcInlineFunctions-'
7>clang-cl : error : cannot specify '/Foredumper.dir\Debug\dvd_dump.ixx.obj' when compiling multiple source files
7>clang-cl : warning : unknown argument ignored in clang-cl: '-stdlib=libc++' [-Wunknown-argument]
7>clang-cl : error : no such file or directory: '/scanDependencies'
7>clang-cl : error : no such file or directory: '/interface'
7>clang-cl : error : no such file or directory: '/dxifcInlineFunctions-'
7>clang-cl : error : cannot specify '/Foredumper.dir\Debug\protection.ixx.obj' when compiling multiple source files
7>clang-cl : warning : unknown argument ignored in clang-cl: '-stdlib=libc++' [-Wunknown-argument]
7>clang-cl : error : no such file or directory: '/scanDependencies'
7>clang-cl : error : no such file or directory: '/interface'
7>clang-cl : error : no such file or directory: '/dxifcInlineFunctions-'
7>clang-cl : error : cannot specify '/Foredumper.dir\Debug\iso9660_browser.ixx.obj' when compiling multiple source files
7>Done building project "redumper.vcxproj" -- FAILED.
8>------ Skipped Build: Project: PACKAGE, Configuration: Debug x64 ------
8>Project not selected to build for this solution configuration 
9>------ Skipped Build: Project: INSTALL, Configuration: Debug x64 ------
9>Project not selected to build for this solution configuration 
========== Build: 2 succeeded, 4 failed, 0 up-to-date, 3 skipped ==========
========== Build completed at 3:28 PM and took 02.861 seconds ==========

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

1 participant