-
-
Notifications
You must be signed in to change notification settings - Fork 139
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[bug] - Cant run/build basic window #911
Comments
@cltWilly this might be related with gcc version. Could you try to compile using mingw (as the shared library was compiled using it). |
yes, this deffinitly might be the problem. You'r using gcc v10 and cimgui.a was compiled (according to its content) with Edit: we need to stop recommending tdm-gcc in our readme as it seems to be discontinued (last update in 2020) |
ok i changed it to mingw64. and after like 5 minutes it finally build it :D. And I have a good workstation. So it works now thank you.
|
yeah, build time is unfortunately a bit painful... Let me close this. |
TDM-GCC is https://github.com/jmeubank/tdm-gcc. The current version of gcc provided by the project is 10.3.0. According to jmeubank/tdm-gcc#68 I think the project was discontinued. According to AllenDang#911 we are forced to stop recommending tdm-gcc for giu.
What happend?
I want simply run the exmaple code for hello world window, but i am keep getting error when trying to build or run the main.go
![Error Screenshot](https://private-user-images.githubusercontent.com/69472410/385926140-ee30f5ac-3db7-4d1a-a4af-d050b0fa458a.jpg?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk0OTIwNDgsIm5iZiI6MTczOTQ5MTc0OCwicGF0aCI6Ii82OTQ3MjQxMC8zODU5MjYxNDAtZWUzMGY1YWMtM2RiNy00ZDFhLWE0YWYtZDA1MGIwZmE0NThhLmpwZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTQlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjE0VDAwMDkwOFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTgzYmRlMGQ5MzMxYzQ2ZWM4YjM1MTZkYWI2NTMwYmU5MzMxOTNlYWM1OGM5Nzc3YjUyNjNiNjM5MGNlYmFmMmMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.ME-Iifl0bNGkNwTgO1rQ5t36YGodz0U8uCPSoo5tK-Y)
Any another project without giu works fine.
I was trying different mingw versions, but nothing seems to work. So i tried TDM-GCC but is the same. There is gcc -v
Code example
main.go
To Reproduce
go run main.go
orgo build main
Version
master
OS
windows 10
The text was updated successfully, but these errors were encountered: