vweb error

Created on 29 Jan 2020  路  2Comments  路  Source: vlang/v

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(8080)
}

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

Bug vweb

Most helpful comment

On Ubuntu I already have openssl, I need to install libssl-dev

All 2 comments

install openssl first.

On Ubuntu I already have openssl, I need to install libssl-dev

Was this page helpful?
0 / 5 - 0 ratings

Related issues

radare picture radare  路  3Comments

elimisteve picture elimisteve  路  3Comments

clpo13 picture clpo13  路  3Comments

markgraydev picture markgraydev  路  3Comments

XVilka picture XVilka  路  3Comments