Xiangyu-Hu / SPHinXsys

SPHinXsys provides C++ APIs for engineering simulation and optimization. It aims at complex systems driven by fluid, structure, multi-body dynamics and beyond. The multi-physics library is based on a unique and unified computational framework by which strong coupling has been achieved for all involved physics.
https://www.sphinxsys.org/
Apache License 2.0
283 stars 209 forks source link

Enhance installation experience from Biofluid Mechanics class #275

Open Xiangyu-Hu opened 1 year ago

Xiangyu-Hu commented 1 year ago

Documenting issues faced in the class will be helpful for future reference.

FengWang3119 commented 1 year ago
  1. The installation of VCPKG using PowerShell may not succeed due to some system problems, keep reporting "不是内部或外部命令,也不是可运行的程序或批处理文件。". Using GitBash can succeed.
Xiangyu-Hu commented 1 year ago

Do you install vcpkg or using vcpkg install 3rd party libraries?

FengWang3119 commented 1 year ago

Do you install vcpkg or using vcpkg install 3rd party libraries?

Not yet, it is the first step to install VCPKG, the student can not install VCPKG using PowerShell, but can use GitBash to install VCPKG and then install other 3rd party libraries,

Xiangyu-Hu commented 1 year ago

Is it possible for wrongly use of ".\bootstrap-vcpkg.bat". Note that using .\ other than ./ in linux.

FengWang3119 commented 1 year ago
  1. for our newest code, visual studio should be 2022 or newer, but on the website, it says 2017 or newer. image
  2. some students are confused about the difference between dynamic and static version, and don't know which one to choose image
  3. directly copy all the statements to install the dependencies may lead to unknown errors, just copy the statement one by one may be better. image
FengWang3119 commented 3 weeks ago

when install pybind11 in linux, we may need firstly install a sub-module of python3, the error message will guide us on how to install it.

FengWang3119 commented 1 week ago

For linux, if use the VSCODE to do the first build process, the simbody and other libraries may not be found. Directly inputing command can avoid this issue,