hobuinc / untwine

GNU General Public License v3.0
48 stars 21 forks source link

Windows - Built exe not working #137

Closed Pourfex closed 1 year ago

Pourfex commented 1 year ago

Hello, I built the .exe on windows using those steps :

It does output me untwine.exe and some other files under the Debug/folder :

I tried using this in a command line untwine.exe Got errors that it misses pdal_util.dll and pdalcpp.dll

I tried to use it in a conda env (using miniconda3 command prompt) - with pdal and compilers inside the environnement used. It got no erros this time but nothing happens if I try this : untwine.exe --files=.\input\ --output=.\output\ (one las file and one laz file inside input).

Does the build workflow is right ? Did I missed something in the usage in the commande line or anaconda environment ?

hobu commented 1 year ago

You have successfully built it. You need to have the %CONDA_PREFIX%\Library\bin directory in the path so the DLLs can be found.

Untwine is also installable directly from Conda without having to build it yourself.

Please refrain from using GitHub tickets for support. We are available for hire for support if it is a critical item for you.

Pourfex commented 1 year ago

I would need to build an .exe for my workflow working on Windows. Is there any way to link libraries than this path ?

For now we're considering untwine for our pipeline (las,ept,e57 -> ept), but we haven't been able to test the .exe version on windows which is required by our use case.

Adding some lines for windows .exe building with the step that I used above and your answer with path will be a great addition to the Readme for someone willing to test untwine.