Hello,
I am new to FreeCAD.
I tried to compile FreeCAD on my system using cMake and VS 2017 Community. I am encountering an error repeatedly and have no idea why this is happening.
I am attaching the error log and output log.
Please do let me know regarding the best course of action there. I am using Windows 10 not Ubuntu.
Regards,
Pranav Sondhi
fatal error C1083: Cannot open include file: 'pthread.h': No such file or directory
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
-
- Posts: 4
- Joined: Tue Jan 22, 2019 8:35 am
fatal error C1083: Cannot open include file: 'pthread.h': No such file or directory
- Attachments
-
- CMakeOutput.log
- (29.24 KiB) Downloaded 88 times
-
- CMakeError.log
- (3.1 KiB) Downloaded 100 times
Re: fatal error C1083: Cannot open include file: 'pthread.h': No such file or directory
usually this error happens because something in the configure failed earlier.
cmake is just printing out everything and this error happens there.
Can you post the whole output of the cmake call? I can not see anything in the two log files.
cmake is just printing out everything and this error happens there.
Can you post the whole output of the cmake call? I can not see anything in the two log files.
Re: fatal error C1083: Cannot open include file: 'pthread.h': No such file or directory
What are you using for FreeCAD's dependencies, the available Libpacks work with VS2013 only.pranav_sondhi wrote: ↑Tue Jan 22, 2019 8:41 am I tried to compile FreeCAD on my system using cMake and VS 2017 Community.
"fight the good fight"
-
- Posts: 4
- Joined: Tue Jan 22, 2019 8:35 am
Re: fatal error C1083: Cannot open include file: 'pthread.h': No such file or directory
Hi sgrogan,
I am using VS2017 community. I do all my development with this itself, which is creating add-ons for Solid Works & AutoCAD. The SDK for both are made for VS2010 but work with VS2015 & VS2017 (my current platform). I was hoping for it to work with FreeCAD as well.
For this I was hoping if there could be any other reason for this to happen.
Regards
I am using VS2017 community. I do all my development with this itself, which is creating add-ons for Solid Works & AutoCAD. The SDK for both are made for VS2010 but work with VS2015 & VS2017 (my current platform). I was hoping for it to work with FreeCAD as well.
For this I was hoping if there could be any other reason for this to happen.
Regards
-
- Posts: 4
- Joined: Tue Jan 22, 2019 8:35 am
Re: fatal error C1083: Cannot open include file: 'pthread.h': No such file or directory
Hi reox,
Can you guide me to the location of the files you require.
I am new to this and am not sure where to find the same.
Thanks
Can you guide me to the location of the files you require.
I am new to this and am not sure where to find the same.
Thanks
Re: fatal error C1083: Cannot open include file: 'pthread.h': No such file or directory
just save the whole output (stderr + stdout) of cmake somewhere. Usually the problem is visible in the first few hundret lines where all packages are configured and search.
-
- Posts: 4
- Joined: Tue Jan 22, 2019 8:35 am
Re: fatal error C1083: Cannot open include file: 'pthread.h': No such file or directory
I just used my other workstation to do a clean install using VS2013. Now i am getting a different issue (attached cmake message box output). I also installed a new OpenCASCADE librarry (could fined it only for VS10).
I am getting an error "Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)".
I am not able to find the option "FREECAD_BUILD_DOXYGEN_DOCU" to disable (as per the wiki documentation).
- Attachments
-
- cmake output.txt
- (4.22 KiB) Downloaded 89 times
Re: fatal error C1083: Cannot open include file: 'pthread.h': No such file or directory
I met the similar error, I found the error message – Cannot open include file: 'pthread.h' in CMakeError.log. I fix this error by the following. For some reason I found that the wrong value being given to the Environment Variable - FREECAD_LIBPACK_DIR (it’s the folder path of the FreeCAD source code). So I amend the value in the Environment Variable - FREECAD_LIBPACK_DIR to the correct Libpack DIR, and then I click the Configure in CMake GUI again and then the error is gone and fixed.