Code Monkey home page Code Monkey logo

Comments (7)

aardappel avatar aardappel commented on July 17, 2024

Thanks for working on this. Not entirely sure how to solve this, this has the steps I use on OS X:
https://github.com/aardappel/treesheets/blob/master/README.txt

from treesheets.

vo1stv avatar vo1stv commented on July 17, 2024

No problem. OSX support is something I haven't had any hands on practice with, so this has been a good learning experience. I just started a new build and will check on it in the morning. It's supposed to install includes for wxWidgets to treesheets/src/wx. If that works and compiles I'd be surprised. The "brew install wxmac" looked promising but fails looking for "wx/setup.h"

from treesheets.

vo1stv avatar vo1stv commented on July 17, 2024

I've traced the problem to a hard-coded support for version 3.0 of the wxWidgets, but the latest version is 3.1. The solution requires sticking with the 3.0 version and eventually editing project.pbxproj to support future versions of wxWidgets. I can't solve this is a politically correct way because I haven't got an editor for *.pbxproj (I'm assuming they are created by an IDE of some type). I don't really want to commit a hack by editing the file with pico if that's not the workflow.

If someone does edit the pbxproj, consideration should be given to using --prefix to allow it to be built without sudo rights.

The discussion for and against install wxWidgets to /usr/local/lib/wx originates here:
https://wiki.wxwidgets.org/Compiling_wxWidgets_using_the_command-line_%28Terminal%29

from treesheets.

aardappel avatar aardappel commented on July 17, 2024

.pbxproj is Xcode, and can be built without an IDE (thru xcodebuild). The wxWidgets library filenames appear to encode the version, so I am not sure if there's a good way around this.. other than updating the project files whenever versions change.

I suppose it may be easiest if I update the project files?

from treesheets.

vo1stv avatar vo1stv commented on July 17, 2024

Certainly the things I have learned have been by building .pbxproj is Xcode, without an IDE thru xcodebuild.

I suppose it may be easiest if you update the project files. My attempts at manually editing them using pico result in the .pbxproj failing integrity checks. As you said, The wxWidgets library filenames appear to encode the version, so I am not sure if there's a good way around this.. other than updating the project files whenever versions change.

A programmatic way of changing the project files that preserves their integrity would be the ideal solution,

from treesheets.

aardappel avatar aardappel commented on July 17, 2024

I just added this commit, which should help: 6e0aa34

from treesheets.

vo1stv avatar vo1stv commented on July 17, 2024

That worked like a charm.

from treesheets.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.