Reva GUI Library: View Ticket
Ticket UUID: cf045f3feffea0b173da280fa3becc7491c6f482
Title: `pwd` expansion problem
Status: Fixed Type: Code_Defect
Severity: Critical Priority: Immediate
Subsystem: Windows Resolution: Fixed
Last Modified: 2010-03-15 19:23:26
Version Found In: ada22d37ef
Description & Comments:
The spaces in "Reva GUI Library" don't play nicely with the Makefile -- namely `pwd` expands the directory name without quotes thereby treating GUI as an argument:
# make
librevagui.dylib
g++ -O3 -s -c -o obj/revagui.o  -I`pwd`/fltk-1.3/ -I/usr/include src/revagui.cpp
i686-apple-darwin9-g++-4.0.1: GUI: No such file or directory

Renaming the directory revagui solves the problem.


anonymous added on 2010-03-15 04:41:40:
Quoting the arguments employing `pwd` as follows also fixes the problem,

 13 INC=-I"`pwd`/fltk-1.3/" -I/usr/include
 14 LIB= "`pwd`/fltk-1.3/maclib/libfltk.a" -lpthread -framework Carbon -framework ApplicationServices

marc added on 2010-03-15 19:23:02:
Quote fix here.