GithubHelp home page GithubHelp logo

interkosmos / fortran-lua53 Goto Github PK

View Code? Open in Web Editor NEW
16.0 3.0 4.0 83 KB

Fortran 2008 interface bindings to Lua 5.3

License: ISC License

Fortran 91.40% Lua 2.44% Makefile 3.75% C 2.41%
fortran lua lua53 fpm fortran-package-manager

fortran-lua53's People

Contributors

interkosmos avatar zoziha avatar

Stargazers

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

Watchers

 avatar  avatar  avatar

fortran-lua53's Issues

Error: Type mismatch in argument 'ctx' at (1); passed INTEGER(8) to INTEGER(4)

 <INFO> LINKER OPTIONS:   -L/opt/local/lib -llua.5.3
 <INFO> INCLUDE DIRECTORIES:  []
 + mkdir -p build/gfortran_EDF3F128DBFCA123
[  0%]                        lua.f90
 + mkdir -p build/gfortran_EDF3F128DBFCA123/fortran-lua53/
 + gfortran -c ././src/lua.f90  -O3 -funroll-loops -Wimplicit-interface -fPIC -fmax-errors=1 -fcoarray=single -J build/gfortran_EDF3F128DBFCA123 -Ibuild/gfortran_EDF3F128DBFCA123 -o build/gfortran_EDF3F128DBFCA123/fortran-lua53/src_lua.f90.o
././src/lua.f90:921:74:

  921 |         call lua_callk(l, nargs, nresults, int(0, kind=i8), c_null_funptr)
      |                                                                          1
Error: Type mismatch in argument 'ctx' at (1); passed INTEGER(8) to INTEGER(4)
compilation terminated due to -fmax-errors=1.
[ 50%]                        lua.f90  done.

././src/lua.f90:921:74:

  921 |         call lua_callk(l, nargs, nresults, int(0, kind=i8), c_null_funptr)
      |                                                                          1
Error: Type mismatch in argument 'ctx' at (1); passed INTEGER(8) to INTEGER(4)
compilation terminated due to -fmax-errors=1.
<ERROR> Compilation failed for object " src_lua.f90.o "
<ERROR>stopping due to failed compilation
STOP 1

fpm build: <ERROR>Project does not contain any installable targets

Here also the same error with FPM:

--->  Building fortran-lua53
xinstall: mkdir /opt/local/var/macports/build/_opt_PPCRosettaPorts_fortran_fortran-lua53/fortran-lua53/work/bin
Executing:  cd "/opt/local/var/macports/build/_opt_PPCRosettaPorts_fortran_fortran-lua53/fortran-lua53/work/fortran-lua53-0.1.0" && /opt/local/bin/fpm install --verbose --prefix="/opt/local/var/macports/build/_opt_PPCRosettaPorts_fortran_fortran-lua53/fortran-lua53/work/opt/local" --profile="release" --link-flag="-L/opt/local/lib -llua.5.3" 
 + mkdir -p build/dependencies
 <INFO> BUILD_NAME: build/gfortran
 <INFO> COMPILER:  gfortran
 <INFO> C COMPILER:  gcc
 <INFO> CXX COMPILER: g++
 <INFO> COMPILER OPTIONS:   -O3 -funroll-loops -Wimplicit-interface -fPIC -fmax-errors=1 -fcoarray=single
 <INFO> C COMPILER OPTIONS:  
 <INFO> CXX COMPILER OPTIONS: 
 <INFO> LINKER OPTIONS:   -L/opt/local/lib -llua.5.3
 <INFO> INCLUDE DIRECTORIES:  []
<ERROR>Project does not contain any installable targets
STOP 1
Command failed:  cd "/opt/local/var/macports/build/_opt_PPCRosettaPorts_fortran_fortran-lua53/fortran-lua53/work/fortran-lua53-0.1.0" && /opt/local/bin/fpm install --verbose --prefix="/opt/local/var/macports/build/_opt_PPCRosettaPorts_fortran_fortran-lua53/fortran-lua53/work/opt/local" --profile="release" --link-flag="-L/opt/local/lib -llua.5.3" 
Exit code: 1

add topics

I suggest adding the topic fortran-package-manager, since the fpm topic refers to many other things.
You could also add the topic interoperability.

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.