Comments (10)
Does build-deps.cmd run OK? We should not have dependency to Boost.Atomic AFAIK, but it might have lurked in due to recent *nix changes. In CMakeLists.txt, there should be possible to define set(BOOST_THREAD_DONT_USE_ATOMIC, FALSE)
(or similar) before the FIND_PACKAGE(Boost ...)
line.
from ifcopenshell.
I haven't seen any reference to Boost.Atomic before. @berndhahnebach, if the suggestion made by @Stinkfist0 works, can you send a pull request? Thanks.
from ifcopenshell.
Does build-deps.cmd run OK?
AFAIKT it runs smooth without any errors. But there are thousands of lines and win cmd only supports 9999 lines.
added in C:\Users\bhb\Desktop\ifcos\ifcosdev\cmake\CMakeLists.txt the line given by stinkfist
ENDIF()
set(BOOST_THREAD_DONT_USE_ATOMIC, FALSE)
FIND_PACKAGE(Boost REQUIRED COMPONENTS system program_options regex thread date_time)
Here is the new cmake output of cmd ...
C:\Users\bhb\Desktop\ifcos\ifcosdev\win>run-cmake.bat "Visual Studio 12 2013 Win64"
Script configuration:
Generator = "Visual Studio 12 2013 Win64"
Arguments =
Dependency Environment Variables for IfcOpenShell:
BOOST_ROOT = C:\Users\bhb\Desktop\ifcos\ifcosdev\deps\boost
BOOST_LIBRARYDIR = C:\Users\bhb\Desktop\ifcos\ifcosdev\deps\boost\stage\vs2013-x64\lib
ICU_INCLUDE_DIR = C:\Users\bhb\Desktop\ifcos\ifcosdev\deps-vs2013-x64-installed\icu\include
ICU_LIBRARY_DIR = C:\Users\bhb\Desktop\ifcos\ifcosdev\deps-vs2013-x64-installed\icu\lib
OCC_INCLUDE_DIR = C:\Users\bhb\Desktop\ifcos\ifcosdev\deps-vs2013-x64-installed\oce\include\oce
OCC_LIBRARY_DIR = C:\Users\bhb\Desktop\ifcos\ifcosdev\deps-vs2013-x64-installed\oce\Win64\lib
OPENCOLLADA_INCLUDE_DIR = C:\Users\bhb\Desktop\ifcos\ifcosdev\deps-vs2013-x64-installed\OpenCOLLADA\include\opencolla
da
OPENCOLLADA_LIBRARY_DIR = C:\Users\bhb\Desktop\ifcos\ifcosdev\deps-vs2013-x64-installed\OpenCOLLADA\lib\opencollada
PYTHONHOME = C:\Users\bhb\Desktop\ifcos\ifcosdev\deps-vs2013-x64-installed\Python27
PYTHON_INCLUDE_DIR = C:\Users\bhb\Desktop\ifcos\ifcosdev\deps-vs2013-x64-installed\Python27\include
PYTHON_LIBRARY = C:\Users\bhb\Desktop\ifcos\ifcosdev\deps-vs2013-x64-installed\Python27\libs\python27.lib
PYTHON_EXECUTABLE = C:\Users\bhb\Desktop\ifcos\ifcosdev\deps-vs2013-x64-installed\Python27\python.exe
SWIG_DIR = C:\Users\bhb\Desktop\ifcos\ifcosdev\deps-vs2013-x64-installed\swigwin
THREEDS_MAX_SDK_HOME = C:\Program Files\Autodesk\3ds Max 2016 SDK\maxsdk
CMAKE_INSTALL_PREFIX = C:\Users\bhb\Desktop\ifcos\ifcosdev\installed-vs2013-x64
Running CMake for IfcOpenShell.
-- BINDIR: C:/Users/bhb/Desktop/ifcos/ifcosdev/installed-vs2013-x64/bin
-- INCLUDEDIR: C:/Users/bhb/Desktop/ifcos/ifcosdev/installed-vs2013-x64/include
-- LIBDIR: C:/Users/bhb/Desktop/ifcos/ifcosdev/installed-vs2013-x64/lib
-- Looking for pthread.h
-- Looking for pthread.h - not found
-- Found Threads: TRUE
CMake Error at C:/Program Files (x86)/CMake/share/cmake-3.5/Modules/FindBoost.cmake:1647 (message):
Unable to find the requested Boost libraries.
Boost version: 1.59.0
Boost include path: C:/Users/bhb/Desktop/ifcos/ifcosdev/deps/boost
Could not find the following static Boost libraries:
boost_atomic
Some (but not all) of the required Boost libraries were found. You may
need to install these additional Boost libraries. Alternatively, set
BOOST_LIBRARYDIR to the directory containing Boost libraries or BOOST_ROOT
to the location of Boost.
Call Stack (most recent call first):
CMakeLists.txt:105 (FIND_PACKAGE)
-- Boost include files found in C:/Users/bhb/Desktop/ifcos/ifcosdev/deps/boost
-- Boost libraries found in C:/Users/bhb/Desktop/ifcos/ifcosdev/deps/boost/stage/vs2013-x64/lib
-- Looking for opencascade include files in: C:\Users\bhb\Desktop\ifcos\ifcosdev\deps-vs2013-x64-installed\oce\include\o
ce
-- Header files found
-- Looking for opencascade library files in: C:\Users\bhb\Desktop\ifcos\ifcosdev\deps-vs2013-x64-installed\oce\Win64\lib
-- Library files found
-- ICU libraries found
-- OpenCOLLADA header files found
-- Found SWIG: C:/Users/bhb/Desktop/ifcos/ifcosdev/deps-vs2013-x64-installed/swigwin/swig.exe (found version "3.0.7")
-- Looking for Python header files in: C:/Users/bhb/Desktop/ifcos/ifcosdev/deps-vs2013-x64-installed/Python27/include
-- Looking for Python library file in: C:/Users/bhb/Desktop/ifcos/ifcosdev/deps-vs2013-x64-installed/Python27/libs/pytho
n27.lib
-- Found PythonLibs: C:/Users/bhb/Desktop/ifcos/ifcosdev/deps-vs2013-x64-installed/Python27/libs/python27.lib (found ver
sion "2.7.10+")
-- PYTHON_DEBUG_LIBRARIES not found, defining SWIG_PYTHON_INTERPRETER_NO_DEBUG workaround for IfcWrap.
-- Found PythonInterp: C:\Users\bhb\Desktop\ifcos\ifcosdev\deps-vs2013-x64-installed\Python27\python.exe (found version
"2.7.10")
-- Configuring incomplete, errors occurred!
See also "C:/Users/bhb/Desktop/ifcos/ifcosdev/build-vs2013-x64/CMakeFiles/CMakeOutput.log".
See also "C:/Users/bhb/Desktop/ifcos/ifcosdev/build-vs2013-x64/CMakeFiles/CMakeError.log".
An error occurred
C:\Users\bhb\Desktop\ifcos\ifcosdev\win>
It does not seam to have solved the problem ...
from ifcopenshell.
set(BOOST_THREAD_DONT_USE_ATOMIC, FALSE)
might not be what one should actually write, let me see what's the correct way.
from ifcopenshell.
Actually a quick googling hints this might be a bug in a recent (3.5) CMake version. What version are you using? I have currently installed 3.2.1 on my work PC. Edit: ah from the output I can see you're using 3.5.
I see 3.5.2 is out already. You could try that, but if the problem persists, a quick workaround should be simply adding --with_atomic
here https://github.com/IfcOpenShell/IfcOpenShell/blob/master/win/build-deps.cmd#L165 and running the build-deps again.
from ifcopenshell.
OK, installed CMake 3.5.0 and I have the same problem.
from ifcopenshell.
And by installing 3.5.2 (the latest version) the problem goes away, but I'm pretty sure this was already fixed in 3.5.1, https://blog.kitware.com/cmake-3-5-1-available-for-download/:
Roger Leigh (1):
FindBoost: Tolerate missing indirect dependencies (#16013)
from ifcopenshell.
Ok, nice find. I guess there is an option to do a check on CMAKE_MAJOR_VERSION CMAKE_MINOR_VERSION CMAKE_PATCH_VERSION
and inform users or adjust the check for boost? But probably that's overkill unless this issue pops up more often.
from ifcopenshell.
Yeah, I'd say for now a comment in the CMakeLists.txt should suffice.
from ifcopenshell.
upgrading to cmake 3.5.2 Works for me too! Bernd
from ifcopenshell.
Related Issues (20)
- v0.8.0 'Settings' object has no attribute 'DISABLE_TRIANGULATION' HOT 2
- Using IfcEvent in a process decomposition causes an error HOT 2
- Update settings documentation for v0.8.0
- Segfault when using SVG serialiser on v0.8.0 HOT 1
- Are the code examples for IfcOpenShell in wiki.osarch.org deprecated? HOT 1
- CGAL testing HOT 13
- [ifcopenshell-python] The ifcopenshell.util.placement.get_local_placement has the wrong values with IfcCartesianPointList3D HOT 2
- Converting to SVG and keeping the IfcSite location HOT 3
- how to use ifcclash on shell? HOT 6
- how to open .ifcsqlite files?
- Upgrading IFC4 into IFC4.3 file using Blender to use IFCRoad and related classes HOT 4
- BBim - 0.7.9.240626 - Blender crashes on ubuntu opening any moderately sized IFC file HOT 22
- Code crash at serializing a curved TopoDS_Shape such as sphere and cylinder?
- enum entities in enum attributes validation HOT 2
- Request to Add Pset to the UI of the Systems in BBIM
- Restriction When Assigning IfcElement to IfcDistributionCircuit HOT 1
- Alignment and infra geom authoring experience in BlenderBIM HOT 3
- [bug] Error when removing presentation layer: "Instance xxx not found" HOT 2
- [bug] Error when switching representations for door type: "'NoneType' object has no attribute 'BIMMeshProperties'" HOT 1
- Bug in BimBlender add on while opening an ifc (which element classes were reassigned through a ifccsv import ) HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ifcopenshell.