Failed to run on Windows
Hello Guys,
I am trying to run OHIF viewer on my local system but failed. I have installed meteor and orthanc server and also have configured the Orthanc/Configuration/orthanc.json by adding this line:
" "ohif" : [ "OHIFDCM", "localhost", 3000 ] "
I have tried different commands as shown in the attached image, to run the application but failed.. any help would be highly appreciated. Note, that meteor is running properly on my local.
Regards,
Hi @hasanmansor,
That syntax is for linux / mac. For Windows, the environment variable (PACKAGE_DIRS) has to be set with the command "set".
Have a look at this .bat file: https://github.com/OHIF/Viewers/blob/master/OHIFViewer/bin/orthancDICOMWeb.bat
Hi @radicalrob ,
Thanks for your response, I still have issues as shown in the image:
the path needs to use backslash not forward-slash since it's on Windows.
Thanks for your help but still the same issue
try running the .bat file from that folder
already have run this again and again but the issue still exists
I was able to get this to work by setting the packages full path in the "Environment Variables" rather than in the console, eg: METEOR_PACKAGE_DIRS : D:\meteor\OHIFViewers\Viewers\Packages
Hi Zaid, Thanks a lot .. It worked by setting the environment variable in the OS by providing the exact path (including the drive) of the Packages as you mentioned.. thanks again
Out of curiosity, which version of Windows is this? I've run the viewer on Windows 10 in the past and didn't need the full path.
Its unfortunately Windows7 :(
@swederik, could there be a debug param (-verbose) when running OHIF viewer to display the packages folder path?