[Ipopt-tickets] [Ipopt] #295: Successful Compile, but "Make" says "No such file" in Windows
Ipopt
coin-trac at coin-or.org
Fri Nov 17 10:45:04 EST 2017
#295: Successful Compile, but "Make" says "No such file" in Windows
-------------------------+-------------------------------------------------
Reporter: | Owner: ipopt-team
anonymous563 |
Type: | Status: new
clarification |
Priority: high | Component: Ipopt
Version: 3.12 | Severity: critical
Resolution: | Keywords: make, Windows, Ipopt, Docker
| Toolbox
-------------------------+-------------------------------------------------
Comment (by anonymous563):
Replying to [comment:3 stefan]:
> Maybe try removing the '@' in front of `@failcom='exit 1';` in
`build/Makefile` and rerun make again. That should output the script that
the `all-recursive` target tries to execute.
I did this, and something runs for a little bit, but I get the same error
when it goes into ThirdParty/Blas.
{{{
$make
a='exit 1'; \
for f in x $MAKEFLAGS; do \
case $f in \
*=* | --[!k]*);; \
*k*) failcom='fail=yes';; \
esac; \
done; \
dot_seen=no; \
target='echo all-recursive | sed s/-recursive//'; \
list='ThirdParty/Blas ThirdParty/Lapack Ipopt'; for subdir in $list; do \
echo "Making $target in $subdir"; \
if test "$subdir" = "."; then \
dot_seen=yes; \
local_target="$target-am"; \
else \
local_target="$target"; \
fi; \
(cd $subdir && C:/Program Files/Git/mingw64/bin/make $local_target) \
|| eval $failcom; \
done; \
if test "$dot_seen" = "no"; then \
C:Program Files/Git/mingw64/bin/make "$target-am" || exit 1; \
fi; test -z "$fail"
Making all in ThirdParty/Blas
/usr/bin/sh: line 17: C:/Program: No such file or directory
Making all in ThirdParty/Lapack
/usr/bin/sh: line 17: C:/Program: No such file or directory
Making all in Ipopt
/usr/bin/sh: line 17: C:/Program: No such file or directory
/usr/bin/sh: line 17: C:/Program: No such file or directory
make: *** [Makefile:323: all-recursive] Error 1
}}}
It looks like $(MAKE) in the Makefiles refers to {{{C:/Program
Files/Git/mingw64/bin/make}}}, which is what's causing the problem since
there's a space. Is there a way to get around this problem?
--
Ticket URL: <https://projects.coin-or.org/Ipopt/ticket/295#comment:4>
Ipopt <http://projects.coin-or.org/Ipopt>
Interior-point optimizer for nonlinear programs.
More information about the Ipopt-tickets
mailing list