Comments (18)
Seems like wxTreeCtrl is not implemented in wxWidgets. You should try to compiler wxWidgets 3.0.2 instead of the git version, but not the provided one, the version available on the website (there should be a version for Mac OSX) : https://www.wxwidgets.org/downloads/
from gdevelop.
I tried both already; I resorted to compiling the git version because the homebrew & binary version gave the same error and the 3.0.2 version doesn't compile on Yosemite. Only the git version does.
Edit: I'll try to include wxTreeCtrl explicitly.
from gdevelop.
It seems that wxGenericHyperlinkCtrl is also missing (vtable for wxGenericHyperlinkCtrl [...]
).
It is really strange: wxGenericHyperlinkCtrl and wxTreeListCtrl (not wxTreeCtrl @victorlevasseur 😉) are not bundled in the version provided by homebrew and binary version? Sounds odd :/
from gdevelop.
It sounds really odd; feels like I must be doing something wrong, but I tried pointing directly (using the ld command line which generates this error) to all different libs and they result in that same error. I'm rebuilding now, see if that makes a difference.
from gdevelop.
This
nm -g /usr/local/Cellar/wxmac/3.1.0/lib/*.dylib |grep TreeList
results in a quite a bit of exported TreeList stuff, including;
__ZN14wxTreeListCtrl10DeleteItemE14wxTreeListItem
so I think it's there all along; why would it not pick that up? Same for;
__ZTI22wxGenericHyperlinkCtrl
Ok, it needs;
-lwx_osx_cocoau_adv-3.1
which is not there in the link.txt, then it doesn't have this issue, but the next;
ld: internal error: atom not found in symbolIndex(__ZN22wxScopedCharTypeBufferIcE14CreateNonOwnedEPKcm)
from gdevelop.
Modify each CMakeLists.txt to add adv
to each line beginning with:
find_package(wxWidgets COMPONENTS core
For example, this line:
find_package(wxWidgets COMPONENTS core base ribbon stc aui propgrid richtext html xrc REQUIRED)
would become:
find_package(wxWidgets COMPONENTS core base adv ribbon stc aui propgrid richtext html xrc REQUIRED)
This enables the use of the wxWidgets adv library (that contains wxTreeListCtrl and wxGenericHyperLinkCtrl). When it's done, restart the build process from the beginning: erase your build folder and launch CMake again 😄
from gdevelop.
I did that, the error now is ;
ld: internal error: atom not found in symbolIndex(__ZN22wxScopedCharTypeBufferIcE14CreateNonOwnedEPKcm)
from gdevelop.
Ok, so it's a bit better because no need to tweak link.txt by hand (I'll add adv
to all CMakeLists.txt).
For your error, I'm afraid I don't really know what cause it.. But googling it returns result related to incompatibilites between compilers.
What compiler are you using? Is it the same as the wxWidgets version you're using?
from gdevelop.
Yes it is indeed the same version. I compiled wx from scratch and then GD.
On Mon, Dec 29, 2014, 17:17 Florian Rival [email protected] wrote:
Ok, so it's a bit better because no need to tweak link.txt by hand (I'll
add adv to all CMakeLists.txt).For your error, I'm afraid I don't really know what cause it.. But
googling it returns result related to incompatibilites between compilers.
What compiler are you using? Is it the same as the wxWidgets version
you're using?—
Reply to this email directly or view it on GitHub
#64 (comment).
from gdevelop.
Strange, strange :/ Are you sure GD is not being compiled/linked against a version of wxWidgets provided by another source (and so potentially not compiled with the same compiler?)
from gdevelop.
Well as far as I understand, if I have (as only reference to wxwidgets libs);
-L/usr/local/Cellar/wxmac/3.1.0/lib
in the /bin/ld commandline, then ;
-lwx_osx_cocoau_propgrid-3.1
etc will retrieve from that directory and the libs in that directory are 100% surely made by the same compiler which is the compiler + tools from ;
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/
from gdevelop.
If someone is interested to figure this out I can give access to a mac os x install via teamviewer for any amount of time needed. It has all requirements installed and root access.
from gdevelop.
When you have built wxWidgets, have you followed the step in WXWIDGETS_SOURCE_FOLDER/docs/osx/install.txt ?
from gdevelop.
@tluyben I would be interested in trying to compile GD on Mac OS X using teamviewer. 😃 But I think it could take a lot of time and I don't want to bother you! Will you be able to use another computer while I'm trying to compile using teamviewer?
from gdevelop.
Sorry for the belated response, but that's fine; I just spun up a new VM, you can use it. Can you mail me so we can exchange credentials? You can tinker as long as you want, but as you wrote this project, I don't think it will take you a long time :) It's probably my quite novice wxWidgets/C++ knowledge holding me back here.
from gdevelop.
Not sure where I can get your email address? Mine is Florian.rival [at] gmail.com :)
from gdevelop.
I'm doing tests for compiling GD on Mac: the atom
related error is due to the flag -s
being used, it should be removed when not compiling with gcc.
from gdevelop.
Should be fixed now :) I still have to write doc on how to build on MacOS but with homebrew and by following the traditional cmake workflow, should be quite easy :)
from gdevelop.
Related Issues (20)
- Upgrading yarn editor to the newest version HOT 1
- feature: extending dialogtools to (optionaly) recognise the concept of an actor and apply some styling to things via the event sheet HOT 2
- [bug] - In Scene Editor - Buttons, Sliders and other Custom Objects always stay on top of other objects (Text, Sprites...) - never considering Z Order
- Tiled Sprite Randomization Feature (Randomized Rotation and Offset combined with blending) a la Construct 3's r321 update. HOT 2
- Limitation in Physics Engine Speed HOT 1
- Simpler way to center origin sprite point HOT 3
- Add sorting for assets bin HOT 1
- Snapping objects in editor
- Corrupted value in Scene editor's tooltip right after instance deletion HOT 1
- Fullscreen Detection broken HOT 4
- Adding the ability to specify Cordova and NPM plugin parameters in extension dependencies HOT 1
- Platformer Deacceleration shows the wrong tooltip HOT 1
- High-Speed Collision Detection Limitation HOT 3
- Crash while using an editor
- Toggle switches don't work in 5.3.196 HOT 2
- User Interface Sound Effects
- "Preload as" toggles for audio files in the Resources Panel do not behave the same as the "Preload as" event actions. HOT 1
- Crash while using an editor
- Crash while using an editor
- Electron 18.x.y has reached end-of-support
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gdevelop.