Menu

#1386 swig always interprets quotes in SWIG_LIB as literals

None
closed
nobody
None
1
2022-01-11
2020-08-18
Guidros
No

On Windows, swig interprets quotes in environment variables as literals instead of path with special characters. Example: swig gave me error not finding swig.swg despite I had environment variable set with set SWIG_LIB="C:\Progra~2\swigwin-4.0.2\Lib" (with quotes) and swig.swg was there. So I've removed quotes with command set SWIG_LIB=C:\Progra~2\swigwin-4.0.2\Lib and swig found swig.swg.

Discussion

  • William Fulton

    William Fulton - 2022-01-11
    • status: open --> closed
    • Group: -->
     
  • William Fulton

    William Fulton - 2022-01-11

    This is normal Windows behaviour to include the quotes in the environment variable, so don't include them of they are not part of the directory name!

     

Log in to post a comment.