Closed wspurgin closed 5 years ago
The generator is not a binary but a dynamically loaded shared object, lib/smokegen/generator_smoke.so
. I'm not sure why it keeps looking in bin/
for libraries, but the warning about MACOSX_RPATH
is relevant. CMake is now using a different mechanism for embedding library paths.
Frankly, I'm not sure if qtpaint has ever built successfully on the Mac, and I'm not overly motivated to make it work, since the world seems to have moved on to Shiny, etc, for interactive graphics. That said, I will try to look into this, but I can't promise anything.
@lawremi Thanks for the response. I say that, if it wasn't much of a priority before, then it's not worth making it a priority now. Thanks for the effort, but I don't want to waste your time.
We can close this issue if you like. If the world comes back around to qtpaint and cranvas, then this can be revisited. Thanks for all the work you've done!
Cheers.
Hi, @wspurgin. If it is still somehow relevant for you, there is an explanation of how to go through qtbase + qtpaint installation.
Thanks @zoberg, but I no longer need this information, but if you want to link your explanation on this issue feel free. I'm closing it for now though to not let it linger.
For starters, some background: I wanted to install
cranvas
on my Mac (OS X 10.12). I Already had Qt, but it wasn't installed via Homebrew, however, qmake is still in the path so I don't think anything from having Qt installed by something by Homebrew did anything drastic. From what I can tell, qtbase on its own has installed itself correctly (with some LLVM warnings). However, the kdebindings copy that's installed inside of qtbase seems to be missing some stuff...I think this has to do with the fact that there's either
Anyway, weird stuff is happening, the full output of the installation via R can be found on pastebin here: http://pastebin.com/fxaqekme
Initially, as can be seen at the end of the installation log above, installing qtpaint references
qtbase/local/bin/smokegen
which fails to load thelibcppparser.dylib
which was locatedqtbase/local/lib/libcppparser.dylib
. For some reason, thesmokegen
executable is looking for the library in the same directory as the executable and not the lib directory... I was able to fix that though (see image that usesotool
andinstall_name_tool
to fix that problem).:However, when trying to install qtpaint again, I get this output:
Which makes it seem like generator is not there, and sure enough it's missing and didn't seem to be installed with qtbase:
Basically, something seems to have been either skipped or broken in the qtbase install (for the OS X install at least). Obviously I'd like for this to be addressable for OS X and not be a "Just use Ubuntu" solution, but if that's the only solution then knowing that sooner as opposed to later would be nice.