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

heads up compiling latest version of freecad from git source has a xerces-c dep now #178

Closed
ipatch opened this issue Jul 7, 2021 · 4 comments

Comments

@ipatch
Copy link
Collaborator

ipatch commented Jul 7, 2021

git rev-list --count HEAD                                                                                                                
25197

aka

github.com/freecad/freecad/commit/01c901066

seems to now have a dependency on xerces-c

-- The C compiler identification is AppleClang 11.0.0.11000033
-- The CXX compiler identification is AppleClang 11.0.0.11000033
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Compiler: AppleClang, version: 11.0.0.11000033
-- Force BOOST_PP_VARIADICS=1 for clang
-- prefix: /opt/beta/freecad.apl
-- bindir: bin
-- datadir: share
-- docdir: share/doc/FreeCAD
-- includedir: include
-- libdir: lib
-- cmake: 3.20.5
-- Detected Homebrew install at /usr/local
CMake Error at /usr/local/Cellar/cmake/3.20.5/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
  Failed to find XercesC (missing: XercesC_VERSION)
Call Stack (most recent call first):
  /usr/local/Cellar/cmake/3.20.5/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:594 (_FPHSA_FAILURE_MESSAGE)
  /usr/local/Cellar/cmake/3.20.5/share/cmake/Modules/FindXercesC.cmake:110 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  cMake/FreeCAD_Helpers/SetupXercesC.cmake:4 (find_package)
  CMakeLists.txt:48 (SetupXercesC)


-- Configuring incomplete, errors occurred!
See also "/opt/code/github/public/forks/freecad-git/build.master/CMakeFiles/CMakeOutput.log".
See also "/opt/code/github/public/forks/freecad-git/build.master/CMakeFiles/CMakeError.log".
@ageeye
Copy link
Contributor

ageeye commented Jul 29, 2021

The commit do not add an include, require or other dependence. Maybe it is require from other formula?

@ipatch
Copy link
Collaborator Author

ipatch commented Jul 29, 2021

here's another person on the freecad forum documenting the issue similar to what i ran into.

https://forum.freecadweb.org/viewtopic.php?f=4&t=60663

@ageeye
Copy link
Contributor

ageeye commented Jul 30, 2021

The Base/Reader.cpp has long been included exerces-c. From this point of view must search therefore one completely other starting point. E.g. changes from cmake version.

@ipatch
Copy link
Collaborator Author

ipatch commented Aug 8, 2021

does not seem to be issue anymore.

closing now. if i run into this issue down the road i'll open another issue.

@ipatch ipatch closed this as completed Aug 8, 2021
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

No branches or pull requests

2 participants