interkosmos / fortran-xlib Goto Github PK
View Code? Open in Web Editor NEWFortran 2003 interface bindings to Xlib
License: ISC License
Fortran 2003 interface bindings to Xlib
License: ISC License
Sorry, we have the same issue here, though less obvious: build itself is fine, however once I tried to build a provided example, it failed with a familiar picture:
10:fortran-xlib-0552aad2dca2ab3267b30a6f5126eb42d7eb2271 svacchanda$ sudo /opt/local/bin/gfortran-mp-12 -I/opt/local/include/ -L/opt/local/lib/ -o window examples/window/window.f90 libfortran-xlib.a -lX11
examples/window/window.f90:32:13:
32 | window = x_create_simple_window(display, root, 0, 0, WIDTH, HEIGHT, 0, black, white)
| 1
Error: Type mismatch in argument 'parent' at (1); passed INTEGER(8) to INTEGER(4)
examples/window/window.f90:32:13:
32 | window = x_create_simple_window(display, root, 0, 0, WIDTH, HEIGHT, 0, black, white)
| 1
Error: Type mismatch in argument 'border' at (1); passed INTEGER(8) to INTEGER(4)
examples/window/window.f90:32:13:
32 | window = x_create_simple_window(display, root, 0, 0, WIDTH, HEIGHT, 0, black, white)
| 1
Error: Type mismatch in argument 'background' at (1); passed INTEGER(8) to INTEGER(4)
examples/window/window.f90:41:59:
41 | call x_set_wm_normal_hints(display, window, size_hints)
| 1
Error: Type mismatch in argument 'w' at (1); passed INTEGER(8) to INTEGER(4)
examples/window/window.f90:44:64:
44 | call x_store_name(display, window, 'Fortran' // c_null_char)
| 1
Error: Type mismatch in argument 'w' at (1); passed INTEGER(8) to INTEGER(4)
examples/window/window.f90:47:9:
47 | gc = x_create_gc(display, window, 0, values)
| 1
Error: Type mismatch in argument 'd' at (1); passed INTEGER(8) to INTEGER(4)
examples/window/window.f90:49:45:
49 | call x_set_background(display, gc, white)
| 1
Error: Type mismatch in argument 'background' at (1); passed INTEGER(8) to INTEGER(4)
examples/window/window.f90:50:45:
50 | call x_set_foreground(display, gc, black)
| 1
Error: Type mismatch in argument 'foreground' at (1); passed INTEGER(8) to INTEGER(4)
examples/window/window.f90:53:38:
53 | call x_map_window(display, window)
| 1
Error: Type mismatch in argument 'w' at (1); passed INTEGER(8) to INTEGER(4)
examples/window/window.f90:54:40:
54 | call x_clear_window(display, window)
| 1
Error: Type mismatch in argument 'w' at (1); passed INTEGER(8) to INTEGER(4)
examples/window/window.f90:61:42:
61 | call x_destroy_window(display, window)
| 1
Error: Type mismatch in argument 'w' at (1); passed INTEGER(8) to INTEGER(4)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.