haxeui / haxeui-hxwidgets

The hxWidgets backend of the HaxeUI framework -

Home Page:http://haxeui.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Compilation error on Ubuntu 16.04 - GLCanvas.cpp conversion from int to non-scalar

cambiata opened this issue · comments

Error: While running :g++ -I/home/jonas/haxe/haxeui-test/bin/obj/linux64/pch/haxe -Iinclude -I/usr/lib/x86_64-linux-gnu/wx/include/gtk2-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK -pthread -DwxUSE_WEBVIEW_WEBKIT -c -fvisibility=hidden -O2 -fpic -fPIC -DHX_LINUX -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS -DHXCPP_API_LEVEL=330 -m64 -DHXCPP_M64 -I/home/jonas/hxcpp/include -x c++ -frtti -Wno-invalid-offsetof ./src/hx/widgets/GLCanvas.cpp -o/home/jonas/haxe/haxeui-test/bin/obj/linux64/edf3cd3c_GLCanvas.o
./src/hx/widgets/GLCanvas.cpp: In member function ‘void hx::widgets::GLCanvas_obj::__construct(hx::widgets::Window, Array, hx::Null, hx::Null)’:
./src/hx/widgets/GLCanvas.cpp:47:66: error: conversion from ‘int’ to non-scalar type ‘cpp::Pointer’ requested
HXLINE( 14) HX_VARI( ::cpp::Pointer< Int >,attribList) = (int)0;
^
Error: Build failed

haxeui/hxWidgets@9306b53 could have fix that one