# Using ACLiC to compile a macaro

**URL:** <https://root-forum.cern.ch/t/using-aclic-to-compile-a-macaro/41349>\
**Category:** Newbie\
**Created:** [September 9, 2020, 3:00am UTC](https://root-forum.cern.ch/t/using-aclic-to-compile-a-macaro/41349 "2020-09-09T03:00:14Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![bogomyag](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/b/e0b2c6/32.png) [@bogomyag](https://root-forum.cern.ch/u/bogomyag)\
**Post date:** [September 25, 2020, 4:21am UTC](https://root-forum.cern.ch/t/using-aclic-to-compile-a-macaro/41349/7 "2020-09-25T04:21:24Z")

</div>

Thanks Axel,  
I tried that and still received errors.

```auto
cmake -G "Visual Studio 16 2019" -A Win32 -Thost=x64 -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_CXX_STANDARD=14 -Droofit=ON -Dfftw3=ON -DFFTW_INCLUDE_DIR=D:\fftw -DFFTW_LIBRARY=D:\fftw\libfftw3-3.lib D:\root-6.22.02-source > ..\cmake-output-2.txt

```

I think configuration and generating went without errors [cmake-output-2.txt](https://root-forum.cern.ch/uploads/short-url/d2o3P2MrZpZjZoEXyfFq4bw9TfO.txt) (10.1 KB)

```auto
cmake --build . --config Release -- /maxcpucount > ..\cmake-build-2.txt

```

and here were errors [cmake-build-2.txt](https://root-forum.cern.ch/uploads/short-url/8L7iS4AVkmplpJl5ZMoyeYZwu9z.txt) (1.4 MB)

Here is my configuration of VS

 ![Screenshot-VisualStudio](https://root-forum.cern.ch/uploads/default/original/3X/2/a/2aac22fad077fba9913d7f159a0727dffcaf6321.png)

I followed [Run ROOT 6.19.02 on Windows 10](https://root-forum.cern.ch/t/run-root-6-19-02-on-windows-10/38529/14)  
and I read [Building and Executing ROOT6 on Windows with VS2019](https://root-forum.cern.ch/t/building-and-executing-root6-on-windows-with-vs2019/39864)  
but I do not see encoding related errors.

---

_[View the full topic](https://root-forum.cern.ch/t/using-aclic-to-compile-a-macaro/41349)._
