Closed BushTrain460615 closed 1 year ago
Update It's when I build anything also I reinstalled the brew thing and it still won't work
Are you using hxWidgets git version? What version of wxWidgets? There seems to be some inconsistencies between wx versions.
im using the stable version of HxWidgets the newest stable version of wxWidgets
Can you try the git version of hxwidgets?
sure
Error: ./src/hx/widgets/TaskBarIcon.cpp:86:36: error: no viable conversion from 'wxIcon' to incomplete type 'const wxBitmapBundle'
HXDLIN( 27) ((_hx_tmp)).SetIcon(_hx_tmp1,_hx_tmp2);
^~~~
/opt/homebrew/include/wx-3.2/wx/taskbar.h:21:7: note: forward declaration of 'wxBitmapBundle'
class wxBitmapBundle;
^
/opt/homebrew/include/wx-3.2/wx/osx/taskbarosx.h:33:40: note: passing argument to parameter 'icon' here
bool SetIcon(const wxBitmapBundle& icon, const wxString& tooltip = wxEmptyString);
^
./src/hx/widgets/TaskBarIcon.cpp:108:36: error: no viable conversion from 'wxIcon' to incomplete type 'const wxBitmapBundle'
HXDLIN( 48) ((_hx_tmp)).SetIcon(_hx_tmp1,_hx_tmp2);
^~~~
/opt/homebrew/include/wx-3.2/wx/taskbar.h:21:7: note: forward declaration of 'wxBitmapBundle'
class wxBitmapBundle;
^
/opt/homebrew/include/wx-3.2/wx/osx/taskbarosx.h:33:40: note: passing argument to parameter 'icon' here
bool SetIcon(const wxBitmapBundle& icon, const wxString& tooltip = wxEmptyString);
^
2 errors generated.
Error: Build failed
I think I got the same error
here are the errors I get if I remove haxeui-hxwidgets
hmmm, what about using git everything? Including wxWidgets, so:
ok I can try that
I got 1 error
../src/common/imagtiff.cpp:37:14: fatal error: 'tiff.h' file not found
^~~~~~~~
1 error generated. make: *** [corelib_imagtiff.o] Error 1
https://github.com/BushTrain460615/stupid-crash-reporter-errors/blob/main/errors.txt
Here is a whole list of errors I get after doing that
You sure you built wx correctly from git? And verified the version with wx-config --version
Can you build / run the wx samples? (not haxe, not haxeui, c++)
../src/common/imagtiff.cpp:37:14: fatal error: 'tiff.h' file not found
include "tiff.h"
^
~~~ 1 error generated. make: *** [corelib_imagtiff.o] Error 1
This is what happens when I try to build wxWidgets
I fixed it
so what do I have to build and also how do I set it as the main wxWidgets
when building with c++ it works
Great... was the issue about the sub modules? Ie, when you cloned it via git you didnt init / clone the sub modules?
Anyways, now thats working you should be able to open a new command window and type ./wx-config --version
and see the new version.
After that, try and build a hxWidgets / haxeui-hxwidgets application and see what happens, you want to try:
I don't think this is supposed to happen
here is what happens when I try to build one of the samples
so Is there nothing you can do to help
OK, so just to understand, you are using git "everything", right? wx c++ samples compile and run fine, but haxeui-hxwidgets samples dont... that accurate?
Ill try later on my mac and see what i get.
Cheers, Ian
I did git everything and the wx c++ samples do work idk what happened but I might try and test something later
OK, so i just tested on my mac and i had no issues what so ever:
../configure --with-opengl --disable-shared
make -j3
(wait for ages :) )sudo make install
./wx-config --version
to make sure every was ok (reported 3.3.0)haxelib run haxeui-core create hxwidgets
to create a skeleton apphaxe hxwidgets.hxml
(wait another age)./build/hxwidgets/Main
You might want to double check you are using git everything, a good idea would be to get rid of the haxelibs (you can just delete the folders in haxelib) and start again, another alternative is to use haxelib dev haxeui-core /path/to/haxeui-core
and then manage that folder external to haxelib (sometimes haxelib git seems to do weird things).
Cheers, Ian
i will try this when i get back to my laptop
im not sure what that error means what is "//this"... where is that?
I figured it out
What was the problem?
ran make -j3 (wait for ages :) )
![]()
also sorry it took me a bit too get back to you I had a lot of school stuff I had to do
also I know yours builds without error so I wanted to know if you can see if it is the thing I am build that is the problem https://github.com/gedehari/IzzyEngine/tree/master/crash-dialog
Error: ./src/hx/widgets/TaskBarIcon.cpp:86:36: error: no viable conversion from 'wxIcon' to incomplete type 'const wxBitmapBundle' HXDLIN( 27) ((_hx_tmp)).SetIcon(_hx_tmp1,_hx_tmp2); ^
~~~ /opt/homebrew/include/wx-3.2/wx/taskbar.h:21:7: note: forward declaration of 'wxBitmapBundle' class wxBitmapBundle; ^ /opt/homebrew/include/wx-3.2/wx/osx/taskbarosx.h:33:40: note: passing argument to parameter 'icon' here bool SetIcon(const wxBitmapBundle& icon, const wxString& tooltip = wxEmptyString); ^ ./src/hx/widgets/TaskBarIcon.cpp:108:36: error: no viable conversion from 'wxIcon' to incomplete type 'const wxBitmapBundle' HXDLIN( 48) ((_hx_tmp)).SetIcon(_hx_tmp1,_hx_tmp2); ^~~~ /opt/homebrew/include/wx-3.2/wx/taskbar.h:21:7: note: forward declaration of 'wxBitmapBundle' class wxBitmapBundle; ^ /opt/homebrew/include/wx-3.2/wx/osx/taskbarosx.h:33:40: note: passing argument to parameter 'icon' here bool SetIcon(const wxBitmapBundle& icon, const wxString& tooltip = wxEmptyString);When I try to build a crash reporter it just gives me this error