I'm Back and Mac Linking Problems

Hi guys,

I’m back from the wedding and honeymoon. If my memory serves, Carsten
has a big celebration coming up too!

I just tried compiling the SVN trunk and ran into some issues in
avogadro/src/ (i.e., not the libavogadro bits).

Linking CXX shared library libgamessextension.dylib
ld: Undefined symbols:
__ZN8Avogadro6Action11setMenuPathERK7QString
__ZN8Avogadro6ActionC1EP7QObject

This came up before – this code (in action.cpp) is not in a shared
library, so libgamessextension doesn’t link against it. We either
need to change the linking flags for the extensions or link the
extensions against the code itself.

The other option, which we did for extension.h is to make everything
just virtual functions. Considering the amount of code in action.cpp,
I think it’s the best solution.

Cheers,
-Geoff

Am Donnerstag, 16. August 2007 01:22:43 schrieb Geoffrey Hutchison:

I’m back from the wedding and honeymoon. If my memory serves, Carsten
has a big celebration coming up too!

Today in a week :slight_smile: 10:30 german time, party at 7pm :slight_smile:

Carsten

There are a lot of possibilities. I am just hesitant to start putting code
into headers because of binary compatibility. Let me take a look at what i
did.

Glad your back. Lets focus on a release soon. I’m almost done with the EFP
stuff (for GAMESS) and i’d like that to be in the release.


Donald

On Wednesday 15 August 2007 06:22:43 pm Geoffrey Hutchison wrote:

Hi guys,

I’m back from the wedding and honeymoon. If my memory serves, Carsten
has a big celebration coming up too!

I just tried compiling the SVN trunk and ran into some issues in
avogadro/src/ (i.e., not the libavogadro bits).

Linking CXX shared library libgamessextension.dylib
ld: Undefined symbols:
__ZN8Avogadro6Action11setMenuPathERK7QString
__ZN8Avogadro6ActionC1EP7QObject

This came up before – this code (in action.cpp) is not in a shared
library, so libgamessextension doesn’t link against it. We either
need to change the linking flags for the extensions or link the
extensions against the code itself.

The other option, which we did for extension.h is to make everything
just virtual functions. Considering the amount of code in action.cpp,
I think it’s the best solution.

Cheers,
-Geoff


This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/


Avogadro-devel mailing list
Avogadro-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/avogadro-devel

Geoff,

You had previously put in ::menuPath into Extension, so rather than using an
external subclassed Action, i just added the QAction *action parameter so
that we can do paths on a per action base, if someone wants them all the same
as previously they can just always return the same thing. Hope this is
satisfactory. Keep me informed on the mac port, my boss might be purchasing
me a Mac soon.


Donald

On Wednesday 15 August 2007 06:22:43 pm Geoffrey Hutchison wrote:

Hi guys,

I’m back from the wedding and honeymoon. If my memory serves, Carsten
has a big celebration coming up too!

I just tried compiling the SVN trunk and ran into some issues in
avogadro/src/ (i.e., not the libavogadro bits).

Linking CXX shared library libgamessextension.dylib
ld: Undefined symbols:
__ZN8Avogadro6Action11setMenuPathERK7QString
__ZN8Avogadro6ActionC1EP7QObject

This came up before – this code (in action.cpp) is not in a shared
library, so libgamessextension doesn’t link against it. We either
need to change the linking flags for the extensions or link the
extensions against the code itself.

The other option, which we did for extension.h is to make everything
just virtual functions. Considering the amount of code in action.cpp,
I think it’s the best solution.

Cheers,
-Geoff


This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/


Avogadro-devel mailing list
Avogadro-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/avogadro-devel

Donald,

satisfactory. Keep me informed on the mac port, my boss might be
purchasing
me a Mac soon.

Everything compiles nicely now. One of the Qt/4.3 bugs was fixed in
the 4.3.1 release, so things look nice for a release soon.

Perhaps we should set a target date and work on testing and bug fixing?

Cheers,
-Geoff

Wel, i’d ask you give me a few more days to finish the EFP stuff and then
lets set a date. Just cause I may run into some unforseen snags.

On Friday 17 August 2007 08:48:33 am Geoffrey Hutchison wrote:

Donald,

satisfactory. Keep me informed on the mac port, my boss might be
purchasing
me a Mac soon.

Everything compiles nicely now. One of the Qt/4.3 bugs was fixed in
the 4.3.1 release, so things look nice for a release soon.

Perhaps we should set a target date and work on testing and bug fixing?

Cheers,
-Geoff