Comments (5)
Apologies for your troubles - which SDK version do you use?
from cityengine-sdk.
This bug was initially encountered when using 3.1.9666/esri_ce_sdk-3.1.9666-rhel7-gcc93-x86_64-rel-opt
which is the current default in cmake script for prt4cmd
When I changed the cmake to download 3.2.9903/esri_ce_sdk-3.2.9903-rhel8-gcc112-x86_64-rel-opt
, the same bug is observed
from cityengine-sdk.
Thanks, I can reproduce the issue with the default WSL Ubuntu distro. Will investigate some more and let you know here.
from cityengine-sdk.
The problem is caused by a difference in runtime linker behavior between Ubuntu and (our officially supported) RHEL-based distros (RHEL, Alma, Rocky, ...).
I'm probably oversimplifying, but Ubuntu by default interprets the RPATH
value as RUNPATH
. One difference between the two is that RUNPATH
is only used for the current binary (prt4cmd
in this case) while RPATH
is inherited by all the dependencies. This means that the $ORIGIN
value in prt4cmd
is inherited also by libcom.esri.prt.core.so
on RHEL-based systems and therefore libgluetess.so
is found.
An alternative fix when compiling prt4cmd
in WSL2 Ubuntu is to add this line to CMakeLists.txt
:
target_link_options(${PROJECT_NAME} PRIVATE -Wl,--disable-new-dtags)
This will force the use of RPATH
(RUNPATH
is considered a "new" tag).
You can see the difference when looking at the RPATH/RUNPATH
entries in the output of readelf -d install/bin/prt4cmd
: on a RHEL-based distro it says (RPATH) Library rpath: [$ORIGIN]
and on (WSL2) Ubuntu it says (RUNPATH) Library rpath: [$ORIGIN]
.
from cityengine-sdk.
I've put corresponding actions in our backlog to fix the issue in one of the next releases.
Taking the liberty to close the issue. Feel free to reopen or create a new one in case of additional issues or questions.
from cityengine-sdk.
Related Issues (20)
- Unity: Unable to locate com.esri.prt.examples.UnityEncoder HOT 3
- not work HOT 2
- createValidatedOptionsAndStates crashes when setting "layerName" in AttributableMap for encoder options HOT 5
- Issue with building unity pluging HOT 4
- How to call generate for each initial shape in parallel? HOT 4
- Can't get to build for Unity 5 HOT 4
- Dose the SDK support creating 3d street models from street lines? HOT 2
- Unity Plugin, unity3d 4.3.4 HOT 1
- prt4cmd crash - prt::createResolveMap failed HOT 2
- Using this ce_sdk in Win10_Unityx64 HOT 1
- Detailed debugging instructions HOT 3
- Outdated documentation in the architecture pdf HOT 1
- CityEngine SDK do not support shape or gdb as input? Why? HOT 2
- about shapefile to buildings HOT 2
- 0 error:--shape-attr: At Most 10 required but received 16 HOT 1
- Problem in debugging Encoder in Visual Studio 2019 HOT 3
- `prt4cmd.exe` fails to load `com.esri.prt.unreal.dll` HOT 10
- Issue with PRT4CMD Parameter Limit HOT 3
- How to complete shapefile to road Shape? HOT 7
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 cityengine-sdk.