# Windows cmake build fails with no log error

**URL:** <https://travis-ci.community/t/windows-cmake-build-fails-with-no-log-error/3322>\
**Category:** Windows\
**Created:** [May 6, 2019, 2:27pm UTC](https://travis-ci.community/t/windows-cmake-build-fails-with-no-log-error/3322 "2019-05-06T14:27:25Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![JonasVautherin](https://avatars.discourse-cdn.com/v4/letter/j/ecd19e/32.png) [@JonasVautherin](https://travis-ci.community/u/JonasVautherin)\
**Post date:** [May 6, 2019, 2:27pm UTC](https://travis-ci.community/t/windows-cmake-build-fails-with-no-log-error/3322/1 "2019-05-06T14:27:25Z")

</div>

I am trying a Windows build in Travis. The `cmake` configuration step works perfectly well (even building projects via `ExternalProject_Add`). However, it fails right after that when I call `cmake --build .` (or any variation of it like `cmake --build path/to/source` or `cmake --build . --config Debug` etc.) without leaving an error message. I tried to add intermediary steps such as `ls` and `cmake --help` to get more output, but I still cannot understand what’s happening.

In brief, `cmake --build .` stops the build, resulting in a Travis failure, without logging anything.

The build is here: [https://travis-ci.org/Dronecode/DronecodeSDK/builds/528428407?utm\_source=github\_status&utm\_medium=notification](https://travis-ci.org/Dronecode/DronecodeSDK/builds/528428407?utm_source=github_status&utm_medium=notification)  
This is the log (you won’t see an error message at the end, but the job failed): [https://api.travis-ci.org/v3/job/528428416/log.txt](https://api.travis-ci.org/v3/job/528428416/log.txt)

How can I get more insights of what’s happening?

---

<div class="post-metadata">

**Author:** ![dominic](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/dominic/32/14_2.png) [@dominic](https://travis-ci.community/u/dominic)\
**Post date:** [May 7, 2019, 8:20pm UTC](https://travis-ci.community/t/windows-cmake-build-fails-with-no-log-error/3322/2 "2019-05-07T20:20:59Z")

</div>

@JonasVautherin This is most probably caused by your encrypted environment variable i.e. `GH_TOKEN`. Indeed, encrypted environment variables aren’t supported right now. See [Current known issues — Please read this before posting a new topic](https://travis-ci.community/t/current-known-issues-please-read-this-before-posting-a-new-topic/264/10).

---

<div class="post-metadata">

**Author:** ![JonasVautherin](https://avatars.discourse-cdn.com/v4/letter/j/ecd19e/32.png) [@JonasVautherin](https://travis-ci.community/u/JonasVautherin)\
**Post date:** [May 7, 2019, 9:18pm UTC](https://travis-ci.community/t/windows-cmake-build-fails-with-no-log-error/3322/3 "2019-05-07T21:18:04Z")

</div>

Oh, somehow I had missed that. I was actually looking for an error related to CMake 😅.

I can wait for the issue to get fixed, I was mainly testing out of curiosity.

Thanks for the quick help!

---

<div class="post-metadata">

**Author:** ![dominic](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/dominic/32/14_2.png) [@dominic](https://travis-ci.community/u/dominic)\
**Post date:** [May 8, 2019, 8:02pm UTC](https://travis-ci.community/t/windows-cmake-build-fails-with-no-log-error/3322/4 "2019-05-08T20:02:58Z")

</div>


