haxeui / hxWidgets

Haxe externs (and wrappers) for wxWidgets
MIT License
77 stars 22 forks source link

HTMLView doesn't compile on fresh Ubuntu 16.04 #36

Closed cambiata closed 8 years ago

cambiata commented 8 years ago

WebView.cpp:(.text+0x7a1): undefined reference to wxWebViewBackendDefault' WebView.cpp:(.text+0x8a3): undefined reference towxWebView::New(wxString const&)' WebView.cpp:(.text+0xa64): undefined reference to `wxWebViewNameStr' Error: error running g++ -o Main -rdynamic -m64 @obj/linux64/all_objs -lpthread -ldl -lwx_gtk2u_gl-3.0 -L/usr/lib/x86_64-linux-gnu -pthread -lwx_gtk2u_xrc-3.0 -lwx_gtk2u_html-3.0 -lwx_gtk2u_qa-3.0 -lwx_gtk2u_adv-3.0 -lwx_gtk2u_core-3.0 -lwx_baseu_xml-3.0 -lwx_baseu_net-3.0 -lwx_baseu-3.0 -ldl Error: Build failed

ianharrigan commented 8 years ago

Yeah, getting the same issue on travis CI... will investigate it when i have time...

ianharrigan commented 8 years ago

Actually, its not the same issue, but either way, ill have to look into linux WebView

cambiata commented 8 years ago

Solved by updating to the latest git version and by running the following:

sudo apt-get install libwxgtk-webview3.0-dev

Now webview works as expected! You rock, guys!