V version:
V 0.1.24 a14a5fb
OS:
macOS Catalina Version 10.15.2
What did you do?
module main
import (
vweb
)
pub struct App {
mut:
vweb vweb.Context
}
fn main() {
vweb.run
}
fn (app mut App) index() {
app.vweb.text('Hello, world from v!')
}
pub fn (app &App) init() {}
pub fn (app &App) reset() {}
What did you expect to see?
server started at 8080
What did you see instead?
v % v run main.v
ssl.h>
^~~~~~~
1 error generated.V error: C error. This should never happen.
Please create a GitHub issue: https://github.com/vlang/v/issues/new/choose
install openssl first.
On Ubuntu I already have openssl, I need to install libssl-dev
Most helpful comment
On Ubuntu I already have
openssl, I need to installlibssl-dev