-
Notifications
You must be signed in to change notification settings - Fork 29
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
error while compiling #75
Comments
Oh, you're right. A recent change pulled in mspack and we've forgotten to update the CMake build script. Thanks for finding this! Should be fixed with d8571ed. Please update your checkout (and reapply the unobb patch) and retry. |
it give me this error in log Determining if the include file pthread.h exists failed with the following output: Run Build Command(s):C:/Program Files/Microsoft Visual Studio/2022/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe cmTC_689b7 && [1/2] Building C object CMakeFiles\cmTC_689b7.dir\CheckIncludeFile.c.obj FAILED: CMakeFiles/cmTC_689b7.dir/CheckIncludeFile.c.obj C:\PROGRA C:\Users\sebas\OneDrive\Desktop\xoreos-tools\out\build\x64-Debug\CMakeFiles\CMakeTmp\CheckIncludeFile.c(1): fatal error C1083: Cannot open include file: 'pthread.h': No such file or directory Performing C++ SOURCE FILE Test ICONV_SECOND_ARGUMENT_IS_CONST failed with the following output: Run Build Command(s):C:/Program Files/Microsoft Visual Studio/2022/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe cmTC_00236 && [1/2] Building CXX object CMakeFiles\cmTC_00236.dir\src.cxx.obj FAILED: CMakeFiles/cmTC_00236.dir/src.cxx.obj C:\PROGRA C:\Users\sebas\OneDrive\Desktop\xoreos-tools\out\build\x64-Debug\CMakeFiles\CMakeTmp\src.cxx(2): fatal error C1083: Cannot open include file: 'iconv.h': No such file or directory Source file was: #include <iconv.h> |
That sounds like you're missing the library dependencies. iconv and pthread, in this case. You also need zlib, liblzma, libxml2 and Boost. |
iconv est intaller via pcpkg dans le dossier package |
Frankly, I'm not sure how MSVC really works, I'm using a cross-compiling mingw on Linux and I know that msys2 works (which also installs a mingw). We have an AppVeyor config file you could look at to see how MSVC might be set up. However, our AppVeyor setup is also somewhat broken, and I don't really get why, since Windows isn't really my thing. |
i have tried msys2 but when i launch cmake make command its says : The system is: Windows - 10.0.19043 - AMD64 can you help |
i get this error while compiling can somebody help please
Severity Code Description Project File Line Suppression State
Error LNK1104 cannot open file 'external_mspack.lib' C:\Users\sebas\Downloads\xoreos-tools-master\xoreos-tools-master\out\build\x64-Debug\xoreos-tools-master C:\Users\sebas\Downloads\xoreos-tools-master\xoreos-tools-master\out\build\x64-Debug\LINK 1
The text was updated successfully, but these errors were encountered: