Mémoire
Saturday, December 3, 2022
Friday, August 12, 2022
Failing to install IfcOpenShell using homebrew in macOS
I. Background and Objective
In that tutorial, at the point of exporting a model in IFC format, one is told to install IfcOpenShell.
I tried installing IfcOpenShell in vain.
II. Summary
The following is the situation/facts as I found it.
- Lack of a header file(“BRepAdaptor_HCompCurve.h”) from opencascade hinders building process of IfcOpenShell.
- In a discussion thread in the official IfcOpenShell, a developer recommends downgrading opencascade to 7.5.
- The header file seems to have existed until the version 7.5.?, but removed at least in the latest version 7.6.0.
- Installing opencascade 7.5.0 was not successful due to the lack of a header file “tbb/task_scheduler_init.h” from tbb.
- At the moment I installed tbb and tbb@2020 in homebrew, and I am not aware of how to remove the former or to give precedence to the latter.
III. Details
1. “BRepAdaptor_HCompCurve.h” missing
Dependency installation and repository cloning seemed to complete without any error.
![]() |
| Installation commands. |
![]() |
| “Fatal error” during make run. |
2. Opencascade downgrading
In a discussion thread in the official IFcOpenShell, a developer recommends downgrading opencascade to 7.5 for now(posted Jan 13 2022).
![]() |
| Excerpt from the post. |
3. Removal of the header file in question
![]() |
![]() |
| Online documentation for opencascade 7.6.0. |
4. Installation of opencascade 7.5.0
brew extract command.The following snapshot shows where I hit the stumbling block again, and the cause was the lack of a header file “tbb/task_scheduler_init.h” from tbb.
![]() |
| Fatal error during installation. |

5. If only I can make use of my tbb@2020 package!
Saturday, July 24, 2021
network related commands
Check IP address
networksetup -listallhardwareports
Using the output of above command, one can check IP address by
ifconfig getifaddr <device name>
https://www.switchingtomac.com/tutorials/using-the-terminal-to-identify-network-settings/
telnet
https://help.dreamhost.com/hc/en-us/articles/216606088-Telnet#:~:text=To%20exit%20the%20Telnet%20session,Ctrl%20%2B%20%5D%20on%20your%20keyboard.
Unsorted
https://geekflare.com/linux-networking-commands/
https://techtalk.gfi.com/scan-open-ports-in-windows-a-quick-guide/#:~:text=To%20view%20the%20TCP%2FUDP,address%20of%20the%20remote%20host.
netstat –ano ¦find /i “listening”
Saturday, August 1, 2020
Saturday, May 16, 2020
Regular Expression
- To search for unicode character sets used in certain languages, one can use \p properties, i.e. perluniprops. Such as the following to search for a part of strings composed Arabic letters and/or spaces.
grep '[\s\p{Arabic}]*'
https://perldoc.perl.org/perluniprops.html#Properties-accessible-through-%5cp%7b%7d-and-%5cP%7b%7d
Friday, May 8, 2020
linux commands
- To find which partition is mounted where, use findmnt:
findmnt /dev/sda1 - To mount, use mount, to unmount use umount.
- To list all mount disk, "mount -l".
- To check file systems
https://www.tecmint.com/find-linux-filesystem-type/ - To make partitions and format and mount, see
http://www.nemotos.net/?p=3132
Monday, May 4, 2020
Wiktionary
- Parsing raw compressed dump file. Example to extract the title of all pages().
bzcat pages-articles.xml.bz2 | grep '<title>[^[:space:][:punct:]]*</title>' | sed 's:.*<title>\(.*\)</title>.*:\1:'
https://stackoverflow.com/questions/3364279/has-anyone-parsed-wiktionary/9735019 - Regular expression which include unicode characters. For instance if Arabic,
^[\p{Arabic}\s\p{N}]+$
https://stackoverflow.com/questions/29729391/regular-expression-arabic-characters-and-numbers-only
Writing a post in Markdown in Blogger
Following articles are helpful. * [【令和最新版】Blogger で Markdown を用いて記事を書く方法](https://qiita.com/hoge_fu-ga/items/267ea5ad4f8c120eaeb8) * [Bl...
-
Build in Release Go to "Product" menu, "Scheme" and "Edit Scheme". Select "Run" from the list...
-
OpenCV implements various key point detectors and descriptors as subclasses of features2d class. But it is not clear at once whether such...
-
I installed pyenv and a version of python on it, but executing "brew info opencv" keeps telling me that I don't satisfy depe...





