EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  <20232024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  <20232024 
<== Date ==> <== Thread ==>

Subject: Re: Build system question
From: Pete Jemian via Tech-talk <tech-talk at aps.anl.gov>
To: tech-talk at aps.anl.gov
Date: Sun, 10 Sep 2023 12:06:18 -0500
Scratch that non-working suggestion.

Here's the one I've used in the past, that uses `~NUMBER` to stay within the 8.3 filename rule of older Windows.
https://superuser.com/a/743627

Actual: "E:\Program Files\Java\Eclipse\eclipse.exe"
shorter: "E:\Progra~1\Java\Eclipse\eclipse.exe"

The `1` resolves ambiguities if there are more than one entry that begin with the characters before the `~`.  In this case, use the first possibility.

Pete


On 9/10/2023 11:59 AM, Pete Jemian wrote:
Can you replace a single blank space with %20?

On 9/10/2023 11:57 AM, Mark Rivers via Tech-talk wrote:
I have a questions about the build system on Windows when directory names contain space characters.

I have a vendor library in “C:\BitFlow SDK 6.5”.  It contains Include/ and Lib64/ directories.  I want to build my application using the files in those directories.

My application Makefile contains lines like:

USR_INCLUDES += -I$(BITFLOW_SDK_INCLUDE)

PROD_LIBS_WIN32 += BFGTLUtil

USR_LDFLAGS_WIN32 += /LIBPATH:$(BITFLOW_SDK_LIB)

I created CONFIG_SITE.windows-x64-static.Common with these lines:

BITFLOW_SDK_INCLUDE = “C:/BitFlow SDK 6.5/Include”

BITFLOW_SDK_LIB     = “C:/BitFlow SDK 6.5/Lib64”

That does not work because of the embedded spaces in the folder name.  I also tried this:

BITFLOW_SDK_INCLUDE = “C:/BitFlow\ SDK\ 6.5/Include”

BITFLOW_SDK_LIB     = “C:/BitFlow\ SDK\ 6.5/Lib64”

Is there a way to make it work when the folder name contains space characters?

I ended up renaming the vendor directory to replace spaces with underscores.  I also had to remove the quotation marks in the CONFIG_SITE file.

BITFLOW_SDK_INCLUDE = C:/BitFlow_SDK_6.5/Include

BITFLOW_SDK_LIB     = C:/BitFlow_SDK_6.5/Lib64

Thanks,

Mark



--
----------------------------------------------------------
Pete R. Jemian, Ph.D.                 <jemian at anl.gov>
Beam line Controls and Data Acquisition (BC, aka BCDA)
Advanced Photon Source,    Argonne National Laboratory
Argonne, IL  60439                    630 - 252 - 3189
-----------------------------------------------------------
      Education is the one thing for which people
         are willing to pay yet not receive.
-----------------------------------------------------------

Replies:
Re: Build system question Pete Jemian via Tech-talk
References:
Build system question Mark Rivers via Tech-talk
Re: Build system question Pete Jemian via Tech-talk

Navigate by Date:
Prev: Re: Build system question Pete Jemian via Tech-talk
Next: Re: Build system question Pete Jemian via Tech-talk
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  <20232024 
Navigate by Thread:
Prev: Re: Build system question Pete Jemian via Tech-talk
Next: Re: Build system question Pete Jemian via Tech-talk
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  <20232024 
ANJ, 10 Sep 2023 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·