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

Enable Windows in CI #41

Merged
merged 7 commits into from
Jul 5, 2023
Merged

Enable Windows in CI #41

merged 7 commits into from
Jul 5, 2023

Conversation

ssalonen
Copy link
Owner

@ssalonen ssalonen commented Jul 5, 2023

No description provided.

@ssalonen ssalonen changed the title Ci win debug Enable Windows in CI Jul 5, 2023
@ssalonen ssalonen force-pushed the ci-win-debug branch 2 times, most recently from 38688a1 to c75d926 Compare July 5, 2023 18:17
Signed-off-by: Sami Salonen <[email protected]>
@ssalonen
Copy link
Owner Author

ssalonen commented Jul 5, 2023

Cmake seems to write into wrong place Build files have been written to: C:/Users/runneradmin/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libcec-sys-4.0.2?

2023-07-05T18:30:05.7473936Z [libcec-sys 4.0.2] CMake Deprecation Warning at CMakeLists.txt:3 (cmake_minimum_required):
2023-07-05T18:30:05.7474809Z [libcec-sys 4.0.2]   Compatibility with CMake < 2.8.12 will be removed from a future version of
2023-07-05T18:30:05.7475276Z [libcec-sys 4.0.2]   CMake.
2023-07-05T18:30:05.7475582Z [libcec-sys 4.0.2] 
2023-07-05T18:30:05.7476070Z [libcec-sys 4.0.2]   Update the VERSION argument <min> value or use a ...<max> suffix to tell
2023-07-05T18:30:05.7477678Z [libcec-sys 4.0.2]   CMake that the project does not need compatibility with older versions.
2023-07-05T18:30:05.7478163Z [libcec-sys 4.0.2] 
2023-07-05T18:30:05.7478454Z [libcec-sys 4.0.2] 
2023-07-05T18:30:05.7782003Z [libcec-sys 4.0.2] -- Performing Test CMAKE_HAVE_LIBC_PTHREAD
2023-07-05T18:30:06.0051512Z [libcec-sys 4.0.2] -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
2023-07-05T18:30:06.0052245Z [libcec-sys 4.0.2] -- Looking for pthread_create in pthreads
2023-07-05T18:30:06.3224526Z [libcec-sys 4.0.2] -- Looking for pthread_create in pthreads - not found
2023-07-05T18:30:06.3225466Z [libcec-sys 4.0.2] -- Looking for pthread_create in pthread
2023-07-05T18:30:06.6108940Z [libcec-sys 4.0.2] -- Looking for pthread_create in pthread - not found
2023-07-05T18:30:06.6265337Z [libcec-sys 4.0.2] -- Found Threads: TRUE  
2023-07-05T18:30:06.6289164Z [libcec-sys 4.0.2] -- Looking for __atomic_fetch_add_4 in atomic
2023-07-05T18:30:06.9086406Z [libcec-sys 4.0.2] -- Looking for __atomic_fetch_add_4 in atomic - not found
2023-07-05T18:30:06.9087358Z [libcec-sys 4.0.2] -- Performing Test HAS_BUILTIN_SYNC_ADD_AND_FETCH
2023-07-05T18:30:07.1441073Z [libcec-sys 4.0.2] -- Performing Test HAS_BUILTIN_SYNC_ADD_AND_FETCH - Failed
2023-07-05T18:30:07.1441974Z [libcec-sys 4.0.2] -- Performing Test HAS_BUILTIN_SYNC_SUB_AND_FETCH
2023-07-05T18:30:07.3543868Z [libcec-sys 4.0.2] -- Performing Test HAS_BUILTIN_SYNC_SUB_AND_FETCH - Failed
2023-07-05T18:30:07.3544920Z [libcec-sys 4.0.2] -- Performing Test HAS_BUILTIN_SYNC_VAL_COMPARE_AND_SWAP
2023-07-05T18:30:07.5632021Z [libcec-sys 4.0.2] -- Performing Test HAS_BUILTIN_SYNC_VAL_COMPARE_AND_SWAP - Failed
2023-07-05T18:30:07.5707441Z [libcec-sys 4.0.2] -- Configuring done (13.8s)
2023-07-05T18:30:07.5980431Z [libcec-sys 4.0.2] -- Generating done (0.0s)
2023-07-05T18:30:07.6053614Z [libcec-sys 4.0.2] -- Build files have been written to: C:/Users/runneradmin/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libcec-sys-4.0.2
2023-07-05T18:30:07.6339753Z [libcec-sys 4.0.2] The system cannot find the path specified.

What does 2023-07-05T18:30:15.1870427Z [libcec-sys 4.0.2] The system cannot find the path specified. mean?

Anyways, clearly issues with cmake again, check last error

2023-07-05T18:30:15.1870427Z [libcec-sys 4.0.2] The system cannot find the path specified.
2023-07-05T18:30:15.1870913Z [libcec-sys 4.0.2]  --------------------------------------
2023-07-05T18:30:15.1871346Z [libcec-sys 4.0.2]  Generating cmake project:
2023-07-05T18:30:15.1872112Z [libcec-sys 4.0.2]  Architecture = amd64
2023-07-05T18:30:15.1872560Z [libcec-sys 4.0.2]  Project type = "NMake Makefiles"
2023-07-05T18:30:15.1872992Z [libcec-sys 4.0.2]  Cmake ARCH   = 
2023-07-05T18:30:15.1873697Z [libcec-sys 4.0.2]  Project      = "D:\a\cec-rs\cec-rs\target\x86_64-pc-windows-msvc\debug\build\libcec-sys-bde96935d55bde00\out\vendor\windows\.."
2023-07-05T18:30:15.1874641Z [libcec-sys 4.0.2]  Target       = "D:\a\cec-rs\cec-rs\target\x86_64-pc-windows-msvc\debug\build\libcec-sys-bde96935d55bde00\out\libcec_build\cmake\amd64"
2023-07-05T18:30:15.1875560Z [libcec-sys 4.0.2]  Install      = "D:\a\cec-rs\cec-rs\target\x86_64-pc-windows-msvc\debug\build\libcec-sys-bde96935d55bde00\out\libcec_build\amd64"
2023-07-05T18:30:15.1876144Z [libcec-sys 4.0.2]  Build type   = Debug
2023-07-05T18:30:15.1876560Z [libcec-sys 4.0.2]  Toolchain    = Visual Studio 16 2019
2023-07-05T18:30:15.1877015Z [libcec-sys 4.0.2]  --------------------------------------
2023-07-05T18:30:15.1877383Z [libcec-sys 4.0.2] 
2023-07-05T18:30:15.1878603Z [libcec-sys 4.0.2] CMake Error: The source "D:/a/cec-rs/cec-rs/target/x86_64-pc-windows-msvc/debug/build/libcec-sys-bde96935d55bde00/out/vendor/CMakeLists.txt" does not match the source "D:/a/cec-rs/cec-rs/target/x86_64-pc-windows-msvc/debug/build/libcec-sys-bde96935d55bde00/out/vendor/src/platform/CMakeLists.txt" used to generate cache.  Re-run cmake with a different source directory.

Understandably cec.lib is not created. This is probably a symptom, not the cause.

2023-07-05T18:30:16.7364465Z   = note: LINK : fatal error LNK1181: cannot open input file 'cec.lib'

Signed-off-by: Sami Salonen <[email protected]>
Signed-off-by: Sami Salonen <[email protected]>
Signed-off-by: Sami Salonen <[email protected]>
Signed-off-by: Sami Salonen <[email protected]>
@ssalonen ssalonen merged commit 2a568f0 into master Jul 5, 2023
@ssalonen ssalonen deleted the ci-win-debug branch July 5, 2023 19:55
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

Successfully merging this pull request may close these issues.

1 participant