octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: build fails on macOS


From: Ben Abbott
Subject: Re: build fails on macOS
Date: Fri, 26 Oct 2018 07:32:16 +0900

On Oct 26, 2018, at 5:26 AM, John W. Eaton <address@hidden> wrote:

On 10/24/2018 06:31 PM, Ben Abbott wrote:
John,
My apologies, the liboctgui.la <http://liboctgui.la> now builds (the command below completes without error).
make V=1 libgui/liboctgui.la <http://liboctgui.la>
However, the build now fails with the same error below.

> [...]
>
  -pthread -framework OpenGL -framework Carbon -framework QtNetwork -framework QtPrintSupport -framework QtHelp -framework QtWidgets -framework QtGui -framework QtSql -framework QtCore -framework QtOpenGL
ld: framework not found QtOpenGL
clang: *error: *linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [libgui/graphics/__init_qt__.la] Error 1

I don't know how to solve this problem.

Is there no QtOpenGL framework on your system, or does that simply not exist on OS X systems?  Other Qt modules appear to work with "-framework QtMODULE" on OS X systems, why not this one?

jwe

The framework is there and worked in the past.

$ ls -l /usr/local/Cellar/qt/5.10.1/lib/QtOpenGL.framework
total 8
lrwxr-xr-x  1 bpabbott  admin    24 Feb 10  2018 Headers -> Versions/Current/Headers
lrwxr-xr-x  1 bpabbott  admin    25 Feb 10  2018 QtOpenGL -> Versions/Current/QtOpenGL
-r--r--r--  1 bpabbott  admin  1415 Feb 10  2018 QtOpenGL.prl
lrwxr-xr-x  1 bpabbott  admin    26 Feb 10  2018 Resources -> Versions/Current/Resources
drwxr-xr-x  4 bpabbott  admin   128 Feb 10  2018 Versions

I’d venture to guess that the location of the QtOpenGL framework isn’t being passed along.

Over the weekend I can try to revert back and compare what did work with what doesn’t now. The build fails with libgui/graphics/.libs/__init_qt__.so. However, when I try ... 

make libgui/graphics/.libs/__init_qt__.so
make: *** No rule to make target `libgui/graphics/.libs/__init_qt__.so'.  Stop.

I’m obviously not up to speed on the dependencies during the make process. What should I “make" to give us some context to the problem?

Ben

+Sebastian



reply via email to

[Prev in Thread] Current Thread [Next in Thread]