# Compiling error ui\_fabuploaddialog.h

**URL:** <https://forum.fritzing.org/t/compiling-error-ui-fabuploaddialog-h/14068>\
**Category:** developers\
**Created:** [October 14, 2021, 12:41pm UTC](https://forum.fritzing.org/t/compiling-error-ui-fabuploaddialog-h/14068 "2021-10-14T12:41:34Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Xukyo](https://forum.fritzing.org/letter_avatar_proxy/v4/letter/x/8e8cbc/32.png) [@Xukyo](https://forum.fritzing.org/u/Xukyo)\
**Post date:** [October 14, 2021, 12:41pm UTC](https://forum.fritzing.org/t/compiling-error-ui-fabuploaddialog-h/14068/1 "2021-10-14T12:41:34Z")

</div>

Hi everyone,

When trying to compile fritzing I get the following error in Qt Creator

dependent ‘D:\Install\fritzing\debug64\ui\_fabuploaddialog.h’ does not exist.

I can’t find a reference of this file on google. Did anyone encounter this error?  
I would add that it is my first try in compiling fritzing.

Windows 10  
Qt Creator 5.0.2  
Desktop Qt 5.12.11 MSVC2017 64bit  
cmake version 3.21.3  
libgit2 compile with  
cmake … -G “Visual Studio 14 2015” -A x64 -DBUILD\_SHARED\_LIBS=OFF -DBUILD\_CLAR=OFF  
boost\_1\_77\_0

Thanks in advance for your help.

Best regards,

Xukyo

---

<div class="post-metadata">

**Author:** ![vanepp](https://forum.fritzing.org/user_avatar/forum.fritzing.org/vanepp/32/4426_2.png) [@vanepp](https://forum.fritzing.org/u/vanepp)\
**Post date:** [October 14, 2021, 2:37pm UTC](https://forum.fritzing.org/t/compiling-error-ui-fabuploaddialog-h/14068/2 "2021-10-14T14:37:14Z")

</div>

While I haven’t compiled from source in a couple of years, my guess is that you are using the development head source and there is a missing .h file. Try moving back to one of the release points (0.9.6 for instance) and compiling that.

Peter

---

<div class="post-metadata">

**Author:** ![BurneDCorposE](https://forum.fritzing.org/letter_avatar_proxy/v4/letter/b/b2d939/32.png) [@BurneDCorposE](https://forum.fritzing.org/u/BurneDCorposE)\
**Post date:** [October 28, 2021, 2:00am UTC](https://forum.fritzing.org/t/compiling-error-ui-fabuploaddialog-h/14068/3 "2021-10-28T02:00:53Z")

</div>

I am having the same issue. Trying multiple versions of the fritzing app, libgit2 and qt creator. Do anyone knows the answer?

---

<div class="post-metadata">

**Author:** ![BobWood](https://forum.fritzing.org/letter_avatar_proxy/v4/letter/b/ac8455/32.png) [@BobWood](https://forum.fritzing.org/u/BobWood)\
**Post date:** [November 2, 2021, 3:54pm UTC](https://forum.fritzing.org/t/compiling-error-ui-fabuploaddialog-h/14068/4 "2021-11-02T15:54:38Z")

</div>

I experienced the same problem, but managed to get the file. It is probably not the most efficient way, but it worked for me:

1. In the file C:\Fritzing\fritzing-app\src\dialogs\fabuploaddialog.cpp, I commented out the second line:  
//#include “ui\_fabuploaddialog.h”
2. And built it again, the build failed but it did create the file ui\_fabuploaddialog.h in the folder C:\Fritzing\debug64
3. Copied the file ui\_fabuploaddialog.h to the folder C:\Fritzing\fritzing-app
4. Restored the file C:\Fritzing\fritzing-app\src\dialogs\fabuploaddialog.cpp, i.e. uncommented the second line.
5. Built again, and it worked this time.

Regards,

Robert

---

<div class="post-metadata">

**Author:** ![BurneDCorposE](https://forum.fritzing.org/letter_avatar_proxy/v4/letter/b/b2d939/32.png) [@BurneDCorposE](https://forum.fritzing.org/u/BurneDCorposE)\
**Post date:** [November 4, 2021, 4:26pm UTC](https://forum.fritzing.org/t/compiling-error-ui-fabuploaddialog-h/14068/5 "2021-11-04T16:26:26Z")

</div>

Thanks for the answer! But what are the software versions (i.e. the versions of fritzing, libgit2, qt, boost, VS and etc.) did you use to get your successful build?

---

<div class="post-metadata">

**Author:** ![BobWood](https://forum.fritzing.org/letter_avatar_proxy/v4/letter/b/ac8455/32.png) [@BobWood](https://forum.fritzing.org/u/BobWood)\
**Post date:** [November 4, 2021, 10:04pm UTC](https://forum.fritzing.org/t/compiling-error-ui-fabuploaddialog-h/14068/6 "2021-11-04T22:04:13Z")

</div>

I built Fritzing version 0.9.9, using the following software:  
Visual Studio 2019  
QT 5.15.2  
Python 3.9.4  
Git 2.31.1  
CMake 3.21.1  
Boost 1.75.0  
libgit2 v1.1.0

Earlier this year I built v 0.9.6 with the same suite of software/versions. I was also able to build 0.9.6 with VS 2017 and QT 5.12.7, remaining software/versions as per the list above.

Note that using VS2019 and 5.15.2 needs some tweaking of the file “\fritzing-app\tools\release\_fritzing.bat” . If you use VS 2017 and QT 5.12.7, the file works as is.

I hope this help.

Robert

---

<div class="post-metadata">

**Author:** ![BurneDCorposE](https://forum.fritzing.org/letter_avatar_proxy/v4/letter/b/b2d939/32.png) [@BurneDCorposE](https://forum.fritzing.org/u/BurneDCorposE)\
**Post date:** [November 5, 2021, 3:19pm UTC](https://forum.fritzing.org/t/compiling-error-ui-fabuploaddialog-h/14068/7 "2021-11-05T15:19:10Z")

</div>

Hello, I tried following your instructions and I was able to run Fritzing x64 using qt creator. However, when I tried to build using VS 2019 developer console I was only able to build the x86 version not the x64 one. The error code is descripted in the attached image. My machine’s architecture x64 and i used boost 1.7.7, libgit 1.30 and python 3.9.4 for my sucessful x86 build. Do you have any insight on how to solve this issue? Thank you very much for the help!

 ![Screenshot_1](https://forum.fritzing.org/uploads/default/original/2X/7/7628f4232501297e96fceae65c3fde96f1ef1bcd.png)

---

<div class="post-metadata">

**Author:** ![BobWood](https://forum.fritzing.org/letter_avatar_proxy/v4/letter/b/ac8455/32.png) [@BobWood](https://forum.fritzing.org/u/BobWood)\
**Post date:** [November 5, 2021, 10:36pm UTC](https://forum.fritzing.org/t/compiling-error-ui-fabuploaddialog-h/14068/8 "2021-11-05T22:36:40Z")

</div>

@BurneDCorposE, unfortunately, I don’t think I will be able to help you much, I only built it using qt creator. I never had to use VS developer console. However, looking at your snapshot, it looks like the VS environment may be set up for a x86 build which would create some conflicts. Sorry, cannot help you much more.  
Robert

---

<div class="post-metadata">

**Author:** ![BurneDCorposE](https://forum.fritzing.org/letter_avatar_proxy/v4/letter/b/b2d939/32.png) [@BurneDCorposE](https://forum.fritzing.org/u/BurneDCorposE)\
**Post date:** [November 6, 2021, 4:29am UTC](https://forum.fritzing.org/t/compiling-error-ui-fabuploaddialog-h/14068/9 "2021-11-06T04:29:23Z")

</div>

It was related to what you said. I tried with the native x64 command prompt for VS2019 and the same error occurred. So, as another measure I tried uninstalling the x86 msvc2019 compiler from my Qt installation and then it worked. It was probably some bug with the .bat script that used the wrong compiler version. Thanks for all the help!

---

<div class="post-metadata">

**Author:** ![gunderbolt](https://forum.fritzing.org/letter_avatar_proxy/v4/letter/g/e9bcb4/32.png) [@gunderbolt](https://forum.fritzing.org/u/gunderbolt)\
**Post date:** [December 31, 2021, 3:58pm UTC](https://forum.fritzing.org/t/compiling-error-ui-fabuploaddialog-h/14068/10 "2021-12-31T15:58:30Z")

</div>

Hi! I also got the same error while compiling. I found that the header files can be generated from the Makefile by manually running the `compiler_uic_make_all` target.

Therefore, the workaround I have is to go to your build directory (mine is build-phoenix-Desktop\_Qt\_5\_12\_12\_MSVC2017\_64bit-Debug) and invoke jom.exe on Makefile.Debug:

```auto
C:\Qt\Tools\QtCreator\bin\jom\jom.exe -f Makefile.Debug compiler_uic_make_all

```

I would still like to figure out why the build isn’t automatically generating those headers or where it was broken.

Windows 10  
Qt Creator 6.0.1  
Desktop Qt 5.12.12 MSVC2017 64bit  
cmake version 3.12.18081601-MSVC\_2
