linxingang / sfntly

Automatically exported from code.google.com/p/sfntly
0 stars 0 forks source link

Proposed build instructions not working on Mac OS X 10.10 #45

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Both the make and make lines will produce errors on OS X (tested on Yosemite). 
If you run `cmake ..` from within build, you get: `CMake Error: The source 
directory "/Applications/sfntly" does not appear to contain CMakeLists.txt.`

sfntly Revision 239 on OS X 10.10 (14A389)

Here is what I did:
svn checkout http://sfntly.googlecode.com/svn/trunk/ /Applications/sfntly/
cd /Applications/sfntly/
mkdir build
cd build
cmake ..

Then I get the error. If I continue with …

cmake ../cpp

… but then I get this output:

-- The C compiler identification is AppleClang 6.0.0.6000054
-- The CXX compiler identification is AppleClang 6.0.0.6000054
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Configuring done
CMake Error at CMakeLists.txt:84 (add_executable):
  Cannot find source file:
    ext/gtest/src/gtest-all.cc
  Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp
  .hxx .in .txx
-- Build files have been written to: /Applications/sfntly/build

Then I get this error from `make`:

make: *** No targets specified and no makefile found.  Stop.

Original issue reported on code.google.com by mekkab...@gmail.com on 3 Nov 2014 at 3:38

GoogleCodeExporter commented 9 years ago
Sorry, I meant "both the cmake and make lines", but autocorrect removed the c.

Original comment by mekkab...@gmail.com on 3 Nov 2014 at 3:40