uconndxlab / landscape-AR

The official monorepo for the Landscape Architecture software by DXG
MIT License
0 stars 0 forks source link

Conversion Scripts doesn't work on Linux #32

Open QuincyMillerDev opened 1 year ago

QuincyMillerDev commented 1 year ago

Reproduction Steps

We thought the web api would be fully deployed to dxgdev.info at this point but trying to hit an endpoint results in a 500 error. The specific reason for this is that the ConversionScripts project is a C++ Dynamic Link Library which is built using MSBuild tooling. As a result, the executable file is not compatible on Linux. We are going to backlog a solution to this issue for the time being, and work on demo capabilities of the application.

qmiller@dxg-lemp2:/var/www/laar-webapi.dxgdev.info$ file /var/www/laar-webapi.dxgdev.info/ConversionScripts.dll
/var/www/laar-webapi.dxgdev.info/ConversionScripts.dll: PE32+ executable (DLL) (GUI) x86-64, for MS Windows

When we do eventually get back to this issue, I can think of a few possible solutions:

System Info

dxgdev.info VM, running Ubuntu 22.04

Linked Tasks

QuincyMillerDev commented 1 year ago

Here is a great article on a good solution https://learn.microsoft.com/en-us/cpp/linux/create-a-new-linux-project?view=msvc-170