GithubHelp home page GithubHelp logo

finch's People

Contributors

datatypevoid avatar munificent avatar treeplate avatar zacbrown avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

finch's Issues

make fails to compile

Hi,

I'm using gyp's revision r1139.
So after installing gyp and git cloning finch:

~$ uname -a
Linux eigen 3.1.4-1-ARCH #1 SMP PREEMPT Tue Nov 29 08:55:45 CET 2011 x86_64 Pentium(R) Dual-Core CPU E5300 @ 2.60GHz GenuineIntel GNU/Linux
~$ g++ --version
g++ (GCC) 4.6.2 20111125 (prerelease)
Copyright (C) 2011 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
~$ gyp --depth=1
~$ cd 1
~$ make
  CXX(target) out/Debug/obj.target/finch/../src/Base/FinchString.o
../src/Base/FinchString.cpp: In member function ‘int Finch::String::IndexOf(const Finch::String&) const’:
../src/Base/FinchString.cpp:131:59: error: invalid conversion from ‘const char*’ to ‘char*’ [-fpermissive]
make: *** [out/Debug/obj.target/finch/../src/Base/FinchString.o] Error 1
~$ vim ../src/Base/FinchString.cpp
~$ git diff
diff --git i/src/Base/FinchString.cpp w/src/Base/FinchString.cpp
index 26b37bb..8c95926 100644
--- i/src/Base/FinchString.cpp
+++ w/src/Base/FinchString.cpp
@@ -128,7 +128,7 @@ namespace Finch
     {
         if (mData.IsNull()) return -1;

-        char* found = strstr(mData->chars, other.CString());
+        const char* found = strstr(mData->chars, other.CString());
         if (found == NULL) return -1;

         return static_cast<int>(found - mData->chars);
~$ make
  CXX(target) out/Debug/obj.target/finch/../src/Base/FinchString.o
  CXX(target) out/Debug/obj.target/finch/../src/Base/StringTable.o
  CXX(target) out/Debug/obj.target/finch/../src/Compiler/CodeBlock.o
In file included from ../src/Compiler/CodeBlock.cpp:1:0:
../src/Compiler/CodeBlock.h:8:20: fatal error: Object.h: No such file or directory
compilation terminated.
make: *** [out/Debug/obj.target/finch/../src/Compiler/CodeBlock.o] Error 1

I can provide you with the generated *.mk files.
I guess I'm probably misusing gyp.

Vassilis

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.