GithubHelp home page GithubHelp logo

Comments (10)

membphis avatar membphis commented on June 21, 2024

I created an related issue to luarocks right now:

#39

from lua-rapidjson.

xpol avatar xpol commented on June 21, 2024

I have update docs here

Hav it a try~

from lua-rapidjson.

membphis avatar membphis commented on June 21, 2024

It seems that the option LUA_DIR did not take effect.

$ cmake -H. -Bbuild -G 'Unix Makefiles' -DLUA_DIR=/usr/local/openresty/luajit
-- The C compiler identification is AppleClang 11.0.0.11000020
-- The CXX compiler identification is AppleClang 11.0.0.11000020
-- Check for working C compiler: /Library/Developer/CommandLineTools/usr/bin/cc
-- Check for working C compiler: /Library/Developer/CommandLineTools/usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /Library/Developer/CommandLineTools/usr/bin/c++
-- Check for working CXX compiler: /Library/Developer/CommandLineTools/usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found Git: /usr/local/bin/git (found version "2.17.0")
-- LUA_RAPIDJSON_VERSION: v0.5.1-22-g7c4c6f4-dirty
-- Found Lua: /usr/local/lib/liblua5.1.dylib (found version "5.1.5")
-- Configuring done
-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:

    LUA_DIR

$ fgrep -r "include" ./build/*.txt
./build/CMakeCache.txt:LUA_INCLUDE_DIR:PATH=/usr/local/include/lua5.1
./build/CMakeCache.txt:FIND_PACKAGE_MESSAGE_DETAILS_Lua:INTERNAL=[/usr/local/lib/liblua5.1.dylib][/usr/local/include/lua5.1][v5.1.5()]

from lua-rapidjson.

xpol avatar xpol commented on June 21, 2024

from lua-rapidjson.

membphis avatar membphis commented on June 21, 2024

failed again , here is the log:

$ cmake ../ -DLUA_DIR=/usr/local/openresty/luajit
-- The C compiler identification is AppleClang 11.0.0.11000020
-- The CXX compiler identification is AppleClang 11.0.0.11000020
-- Check for working C compiler: /Library/Developer/CommandLineTools/usr/bin/cc
-- Check for working C compiler: /Library/Developer/CommandLineTools/usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /Library/Developer/CommandLineTools/usr/bin/c++
-- Check for working CXX compiler: /Library/Developer/CommandLineTools/usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found Git: /usr/local/bin/git (found version "2.17.0")
-- LUA_RAPIDJSON_VERSION: v0.5.1-22-g7c4c6f4-dirty
-- Found Lua: /usr/local/lib/liblua5.1.dylib (found version "5.1.5")
-- Configuring done
-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:

    LUA_DIR


-- Build files have been written to: /Users/rain/Downloads/lua-rapidjson/build

from lua-rapidjson.

xpol avatar xpol commented on June 21, 2024

I mean LUA_DIR=/usr/local/openresty/luajit cmake -H. -Bbuild -G 'Unix Makefiles'

from lua-rapidjson.

membphis avatar membphis commented on June 21, 2024

it works fine for me: luarocks install --lua-dir=/usr/local/openresty/luajit rapidjson

and it works fine too: LUA_DIR=/usr/local/openresty/luajit cmake -H. -Bbuild -G 'Unix Makefiles'

thx for your help. @xpol

from lua-rapidjson.

membphis avatar membphis commented on June 21, 2024

we should update the readme doc.

from lua-rapidjson.

xpol avatar xpol commented on June 21, 2024

Docs is here: https://github.com/xpol/lua-rapidjson#usage-without-luarocks

from lua-rapidjson.

membphis avatar membphis commented on June 21, 2024

many thx for your great job.

from lua-rapidjson.

Related Issues (20)

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.