Skip to content
This repository has been archived by the owner on Sep 1, 2021. It is now read-only.

A lot of compiling issues since commit "Reverted submodule for libmsym in favor of straight import." #23

Closed
psavery opened this issue Aug 27, 2015 · 16 comments

Comments

@psavery
Copy link
Contributor

psavery commented Aug 27, 2015

I'm getting a lot of compiling issues since this update. Here is the compiler output:

In file included from /home/patrick/src/avogadro/libavogadro/src/extensions/symmetry/symmetryextension.h:38:0,
from /home/patrick/src/avogadro/libavogadro/src/extensions/symmetry/symmetryextension.cpp:22:
/home/patrick/src/avogadro/libavogadro/src/extensions/symmetry/libmsym/src/msym.h:142:88: error: use of parameter ‘length’ outside function body
/home/patrick/src/avogadro/libavogadro/src/extensions/symmetry/libmsym/src/msym.h:145:70: error: use of parameter ‘l’ outside function body
/home/patrick/src/avogadro/libavogadro/src/extensions/symmetry/libmsym/src/msym.h:156:75: error: use of parameter ‘l’ outside function body
/home/patrick/src/avogadro/libavogadro/src/extensions/symmetry/libmsym/src/msym.h:156:78: error: use of parameter ‘l’ outside function body
/home/patrick/src/avogadro/libavogadro/src/extensions/symmetry/libmsym/src/msym.h:157:93: error: use of parameter ‘length’ outside function body
/home/patrick/src/avogadro/libavogadro/src/extensions/symmetry/libmsym/src/msym.h:159:76: error: use of parameter ‘l’ outside function body
/home/patrick/src/avogadro/libavogadro/src/extensions/symmetry/libmsym/src/msym.h:159:79: error: use of parameter ‘l’ outside function body
/home/patrick/src/avogadro/libavogadro/src/extensions/symmetry/symmetryextension.cpp:51:5: error: expected primary-expression before ‘.’ token
/home/patrick/src/avogadro/libavogadro/src/extensions/symmetry/symmetryextension.cpp:52:5: error: expected primary-expression before ‘.’ token
/home/patrick/src/avogadro/libavogadro/src/extensions/symmetry/symmetryextension.cpp:53:5: error: expected primary-expression before ‘.’ token
/home/patrick/src/avogadro/libavogadro/src/extensions/symmetry/symmetryextension.cpp:54:5: error: expected primary-expression before ‘.’ token
/home/patrick/src/avogadro/libavogadro/src/extensions/symmetry/symmetryextension.cpp:55:5: error: expected primary-expression before ‘.’ token
/home/patrick/src/avogadro/libavogadro/src/extensions/symmetry/symmetryextension.cpp:56:5: error: expected primary-expression before ‘.’ token
/home/patrick/src/avogadro/libavogadro/src/extensions/symmetry/symmetryextension.cpp:57:5: error: expected primary-expression before ‘.’ token
/home/patrick/src/avogadro/libavogadro/src/extensions/symmetry/symmetryextension.cpp:61:5: error: expected primary-expression before ‘.’ token
/home/patrick/src/avogadro/libavogadro/src/extensions/symmetry/symmetryextension.cpp:62:5: error: expected primary-expression before ‘.’ token
/home/patrick/src/avogadro/libavogadro/src/extensions/symmetry/symmetryextension.cpp:63:5: error: expected primary-expression before ‘.’ token
/home/patrick/src/avogadro/libavogadro/src/extensions/symmetry/symmetryextension.cpp:64:5: error: expected primary-expression before ‘.’ token
/home/patrick/src/avogadro/libavogadro/src/extensions/symmetry/symmetryextension.cpp:65:5: error: expected primary-expression before ‘.’ token
/home/patrick/src/avogadro/libavogadro/src/extensions/symmetry/symmetryextension.cpp:66:5: error: expected primary-expression before ‘.’ token
/home/patrick/src/avogadro/libavogadro/src/extensions/symmetry/symmetryextension.cpp:67:5: error: expected primary-expression before ‘.’ token
/home/patrick/src/avogadro/libavogadro/src/extensions/symmetry/symmetryextension.cpp:71:5: error: expected primary-expression before ‘.’ token
/home/patrick/src/avogadro/libavogadro/src/extensions/symmetry/symmetryextension.cpp:72:5: error: expected primary-expression before ‘.’ token
/home/patrick/src/avogadro/libavogadro/src/extensions/symmetry/symmetryextension.cpp:73:5: error: expected primary-expression before ‘.’ token
/home/patrick/src/avogadro/libavogadro/src/extensions/symmetry/symmetryextension.cpp:74:5: error: expected primary-expression before ‘.’ token
/home/patrick/src/avogadro/libavogadro/src/extensions/symmetry/symmetryextension.cpp:75:5: error: expected primary-expression before ‘.’ token
/home/patrick/src/avogadro/libavogadro/src/extensions/symmetry/symmetryextension.cpp:76:5: error: expected primary-expression before ‘.’ token
/home/patrick/src/avogadro/libavogadro/src/extensions/symmetry/symmetryextension.cpp:77:5: error: expected primary-expression before ‘.’ token
/home/patrick/src/avogadro/libavogadro/src/extensions/symmetry/symmetryextension.cpp:81:5: error: expected primary-expression before ‘.’ token
/home/patrick/src/avogadro/libavogadro/src/extensions/symmetry/symmetryextension.cpp:82:5: error: expected primary-expression before ‘.’ token
/home/patrick/src/avogadro/libavogadro/src/extensions/symmetry/symmetryextension.cpp:83:5: error: expected primary-expression before ‘.’ token
/home/patrick/src/avogadro/libavogadro/src/extensions/symmetry/symmetryextension.cpp:84:5: error: expected primary-expression before ‘.’ token
/home/patrick/src/avogadro/libavogadro/src/extensions/symmetry/symmetryextension.cpp:85:5: error: expected primary-expression before ‘.’ token
/home/patrick/src/avogadro/libavogadro/src/extensions/symmetry/symmetryextension.cpp:86:5: error: expected primary-expression before ‘.’ token
/home/patrick/src/avogadro/libavogadro/src/extensions/symmetry/symmetryextension.cpp:87:5: error: expected primary-expression before ‘.’ token
/home/patrick/src/avogadro/libavogadro/src/extensions/symmetry/symmetryextension.cpp: In member function ‘void Avogadro::SymmetryExtension::detectSymmetry()’:
/home/patrick/src/avogadro/libavogadro/src/extensions/symmetry/symmetryextension.cpp:187:17: warning: unused variable ‘error’ [-Wunused-variable]
/home/patrick/src/avogadro/libavogadro/src/extensions/symmetry/symmetryextension.cpp:189:12: warning: unused variable ‘cm’ [-Wunused-variable]
/home/patrick/src/avogadro/libavogadro/src/extensions/symmetry/symmetryextension.cpp:189:19: warning: unused variable ‘radius’ [-Wunused-variable]
/home/patrick/src/avogadro/libavogadro/src/extensions/symmetry/symmetryextension.cpp:189:33: warning: unused variable ‘symerr’ [-Wunused-variable]
/home/patrick/src/avogadro/libavogadro/src/extensions/symmetry/symmetryextension.cpp:193:32: warning: unused variable ‘msops’ [-Wunused-variable]
/home/patrick/src/avogadro/libavogadro/src/extensions/symmetry/symmetryextension.cpp:194:22: warning: unused variable ‘msg’ [-Wunused-variable]
/home/patrick/src/avogadro/libavogadro/src/extensions/symmetry/symmetryextension.cpp:195:9: warning: unused variable ‘msgl’ [-Wunused-variable]
/home/patrick/src/avogadro/libavogadro/src/extensions/symmetry/symmetryextension.cpp:195:19: warning: unused variable ‘msopsl’ [-Wunused-variable]
/home/patrick/src/avogadro/libavogadro/src/extensions/symmetry/symmetryextension.cpp:195:31: warning: unused variable ‘mlength’ [-Wunused-variable]
make[2]: *** [libavogadro/src/extensions/symmetry/CMakeFiles/symmetryextension.dir/symmetryextension.cpp.o] Error 1
make[1]: *** [libavogadro/src/extensions/symmetry/CMakeFiles/symmetryextension.dir/all] Error 2
make: *** [all] Error 2

@ghutchis
Copy link
Collaborator

I'm getting a lot of compiling issues since this update. Here is the compiler output:

Are you using GCC?

-Geoff

@cryos
Copy link
Owner

cryos commented Aug 27, 2015

I see this issues too, I was just taking a look at master. I am using GCC 5.2 - does the library have issues with GCC? Haven't tried other compilers yet.

@ghutchis
Copy link
Collaborator

I see this issues too, I was just taking a look at master. I am using GCC 5.2 - does the library have issues with GCC? Haven't tried other compilers yet.

Yes, there was a thread. Try this patch:
https://github.com/mcodev31/libmsym/commit/b2945fa8a5d7027f6afd8297af465f61981b9ba3.patch

Also:
mcodev31/libmsym@b7389ca

@psavery
Copy link
Contributor Author

psavery commented Aug 27, 2015

I was using GCC 4.6.3 for that compiler output. I had issues when using GCC 4.8.4 as well (although the error output looked a little different).

I tried replacing libavogadro/src/extensions/symmetry/libmsym with the new libmsym patch, but unfortunately (for GCC 4.8.4 at least), I got the same errors.

Here's what the output looked like for 4.8.4:

/home/patrick/src/avogadro/libavogadro/src/extensions/symmetry/symmetryextension.cpp:50:40: warning: ISO C++ does not allow C99 designated initializers [-Wpedantic]
msym_thresholds_t tight_thresholds = { // all defaults
^
/home/patrick/src/avogadro/libavogadro/src/extensions/symmetry/symmetryextension.cpp:51:19: warning: ISO C++ does not allow C99 designated initializers [-Wpedantic]
.zero = 1.0e-3,
^
/home/patrick/src/avogadro/libavogadro/src/extensions/symmetry/symmetryextension.cpp:52:23: warning: ISO C++ does not allow C99 designated initializers [-Wpedantic]
.geometry = 1.0e-3,
^
/home/patrick/src/avogadro/libavogadro/src/extensions/symmetry/symmetryextension.cpp:53:20: warning: ISO C++ does not allow C99 designated initializers [-Wpedantic]
.angle = 1.0e-3,
^
/home/patrick/src/avogadro/libavogadro/src/extensions/symmetry/symmetryextension.cpp:54:26: warning: ISO C++ does not allow C99 designated initializers [-Wpedantic]
.equivalence = 5.0e-4,
^
/home/patrick/src/avogadro/libavogadro/src/extensions/symmetry/symmetryextension.cpp:55:26: warning: ISO C++ does not allow C99 designated initializers [-Wpedantic]
.permutation = 5.0e-3,
^
/home/patrick/src/avogadro/libavogadro/src/extensions/symmetry/symmetryextension.cpp:56:22: warning: ISO C++ does not allow C99 designated initializers [-Wpedantic]
.eigfact = 1.0e-3,
^
/home/patrick/src/avogadro/libavogadro/src/extensions/symmetry/symmetryextension.cpp:58:1: sorry, unimplemented: non-trivial designated initializers not supported
};
^
/home/patrick/src/avogadro/libavogadro/src/extensions/symmetry/symmetryextension.cpp:58:1: sorry, unimplemented: non-trivial designated initializers not supported
/home/patrick/src/avogadro/libavogadro/src/extensions/symmetry/symmetryextension.cpp:60:39: warning: ISO C++ does not allow C99 designated initializers [-Wpedantic]
msym_thresholds_t medium_thresholds = {
^
/home/patrick/src/avogadro/libavogadro/src/extensions/symmetry/symmetryextension.cpp:61:19: warning: ISO C++ does not allow C99 designated initializers [-Wpedantic]
.zero = 1.0e-2,
^
/home/patrick/src/avogadro/libavogadro/src/extensions/symmetry/symmetryextension.cpp:62:23: warning: ISO C++ does not allow C99 designated initializers [-Wpedantic]
.geometry = 1.0e-2,
^
/home/patrick/src/avogadro/libavogadro/src/extensions/symmetry/symmetryextension.cpp:63:20: warning: ISO C++ does not allow C99 designated initializers [-Wpedantic]
.angle = 1.0e-2,
^
/home/patrick/src/avogadro/libavogadro/src/extensions/symmetry/symmetryextension.cpp:64:26: warning: ISO C++ does not allow C99 designated initializers [-Wpedantic]
.equivalence = 6.3e-3,
^
/home/patrick/src/avogadro/libavogadro/src/extensions/symmetry/symmetryextension.cpp:65:27: warning: ISO C++ does not allow C99 designated initializers [-Wpedantic]
.permutation = 1.58e-2,
^
/home/patrick/src/avogadro/libavogadro/src/extensions/symmetry/symmetryextension.cpp:66:22: warning: ISO C++ does not allow C99 designated initializers [-Wpedantic]
.eigfact = 1.0e-3,
^
/home/patrick/src/avogadro/libavogadro/src/extensions/symmetry/symmetryextension.cpp:68:1: sorry, unimplemented: non-trivial designated initializers not supported
};
^
/home/patrick/src/avogadro/libavogadro/src/extensions/symmetry/symmetryextension.cpp:68:1: sorry, unimplemented: non-trivial designated initializers not supported
/home/patrick/src/avogadro/libavogadro/src/extensions/symmetry/symmetryextension.cpp:70:38: warning: ISO C++ does not allow C99 designated initializers [-Wpedantic]
msym_thresholds_t loose_thresholds = {
^
/home/patrick/src/avogadro/libavogadro/src/extensions/symmetry/symmetryextension.cpp:71:17: warning: ISO C++ does not allow C99 designated initializers [-Wpedantic]
.zero = 0.06,
^
/home/patrick/src/avogadro/libavogadro/src/extensions/symmetry/symmetryextension.cpp:72:21: warning: ISO C++ does not allow C99 designated initializers [-Wpedantic]
.geometry = 0.06,
^
/home/patrick/src/avogadro/libavogadro/src/extensions/symmetry/symmetryextension.cpp:73:18: warning: ISO C++ does not allow C99 designated initializers [-Wpedantic]
.angle = 0.06,
^
/home/patrick/src/avogadro/libavogadro/src/extensions/symmetry/symmetryextension.cpp:74:25: warning: ISO C++ does not allow C99 designated initializers [-Wpedantic]
.equivalence = 0.025,
^
/home/patrick/src/avogadro/libavogadro/src/extensions/symmetry/symmetryextension.cpp:75:26: warning: ISO C++ does not allow C99 designated initializers [-Wpedantic]
.permutation = 1.0e-1,
^
/home/patrick/src/avogadro/libavogadro/src/extensions/symmetry/symmetryextension.cpp:76:22: warning: ISO C++ does not allow C99 designated initializers [-Wpedantic]
.eigfact = 1.0e-3,
^
/home/patrick/src/avogadro/libavogadro/src/extensions/symmetry/symmetryextension.cpp:78:1: sorry, unimplemented: non-trivial designated initializers not supported
};
^
/home/patrick/src/avogadro/libavogadro/src/extensions/symmetry/symmetryextension.cpp:78:1: sorry, unimplemented: non-trivial designated initializers not supported
/home/patrick/src/avogadro/libavogadro/src/extensions/symmetry/symmetryextension.cpp:80:39: warning: ISO C++ does not allow C99 designated initializers [-Wpedantic]
msym_thresholds_t sloppy_thresholds = {
^
/home/patrick/src/avogadro/libavogadro/src/extensions/symmetry/symmetryextension.cpp:81:17: warning: ISO C++ does not allow C99 designated initializers [-Wpedantic]
.zero = 0.08,
^
/home/patrick/src/avogadro/libavogadro/src/extensions/symmetry/symmetryextension.cpp:82:20: warning: ISO C++ does not allow C99 designated initializers [-Wpedantic]
.geometry = 0.1,
^
/home/patrick/src/avogadro/libavogadro/src/extensions/symmetry/symmetryextension.cpp:83:17: warning: ISO C++ does not allow C99 designated initializers [-Wpedantic]
.angle = 0.1,
^
/home/patrick/src/avogadro/libavogadro/src/extensions/symmetry/symmetryextension.cpp:84:24: warning: ISO C++ does not allow C99 designated initializers [-Wpedantic]
.equivalence = 0.06,
^
/home/patrick/src/avogadro/libavogadro/src/extensions/symmetry/symmetryextension.cpp:85:26: warning: ISO C++ does not allow C99 designated initializers [-Wpedantic]
.permutation = 1.0e-1,
^
/home/patrick/src/avogadro/libavogadro/src/extensions/symmetry/symmetryextension.cpp:86:22: warning: ISO C++ does not allow C99 designated initializers [-Wpedantic]
.eigfact = 1.0e-3,
^
/home/patrick/src/avogadro/libavogadro/src/extensions/symmetry/symmetryextension.cpp:88:1: sorry, unimplemented: non-trivial designated initializers not supported
};
^
/home/patrick/src/avogadro/libavogadro/src/extensions/symmetry/symmetryextension.cpp:88:1: sorry, unimplemented: non-trivial designated initializers not supported
/home/patrick/src/avogadro/libavogadro/src/extensions/symmetry/symmetryextension.cpp: In member function ‘void Avogadro::SymmetryExtension::detectSymmetry()’:
/home/patrick/src/avogadro/libavogadro/src/extensions/symmetry/symmetryextension.cpp:187:17: warning: unused variable ‘error’ [-Wunused-variable]
const char error = NULL;
^
/home/patrick/src/avogadro/libavogadro/src/extensions/symmetry/symmetryextension.cpp:189:12: warning: unused variable ‘cm’ [-Wunused-variable]
double cm[3], radius = 0.0, symerr = 0.0;
^
/home/patrick/src/avogadro/libavogadro/src/extensions/symmetry/symmetryextension.cpp:189:19: warning: unused variable ‘radius’ [-Wunused-variable]
double cm[3], radius = 0.0, symerr = 0.0;
^
/home/patrick/src/avogadro/libavogadro/src/extensions/symmetry/symmetryextension.cpp:189:33: warning: unused variable ‘symerr’ [-Wunused-variable]
double cm[3], radius = 0.0, symerr = 0.0;
^
/home/patrick/src/avogadro/libavogadro/src/extensions/symmetry/symmetryextension.cpp:193:32: warning: unused variable ‘msops’ [-Wunused-variable]
msym_symmetry_operation_t *msops = NULL;
^
/home/patrick/src/avogadro/libavogadro/src/extensions/symmetry/symmetryextension.cpp:194:22: warning: unused variable ‘msg’ [-Wunused-variable]
msym_subgroup_t *msg = NULL;
^
/home/patrick/src/avogadro/libavogadro/src/extensions/symmetry/symmetryextension.cpp:195:9: warning: unused variable ‘msgl’ [-Wunused-variable]
int msgl = 0, msopsl = 0, mlength = 0;
^
/home/patrick/src/avogadro/libavogadro/src/extensions/symmetry/symmetryextension.cpp:195:19: warning: unused variable ‘msopsl’ [-Wunused-variable]
int msgl = 0, msopsl = 0, mlength = 0;
^
/home/patrick/src/avogadro/libavogadro/src/extensions/symmetry/symmetryextension.cpp:195:31: warning: unused variable ‘mlength’ [-Wunused-variable]
int msgl = 0, msopsl = 0, mlength = 0;
^
make[2]: *
* [libavogadro/src/extensions/symmetry/CMakeFiles/symmetryextension.dir/symmetryextension.cpp.o] Error 1
make[1]: *** [libavogadro/src/extensions/symmetry/CMakeFiles/symmetryextension.dir/all] Error 2
make: *** [all] Error 2

@psavery
Copy link
Contributor Author

psavery commented Aug 28, 2015

Okay. For my computer that uses gcc 4.8.4, I was able to get it working. I sent in a pull request with those changes. Basically, we needed to change the C-style designated initialization of structs to the style that is acceptable in C++ (otherwise the compiler will produce an error). I also updated libmsym with the patch.

Unfortunately, I still got an error on my computer that is using gcc 4.6.3. I'll be looking into it to try to fix it. Here's the output I get, though:

/usr/bin/ld: libmsym/libmsym.a(msym.c.o): relocation R_X86_64_32 against `.rodata.str1.8' can not be used when making a shared object; recompile with -fPIC
libmsym/libmsym.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[2]: *** [lib/symmetryextension.so] Error 1
make[1]: *** [libavogadro/src/extensions/symmetry/CMakeFiles/symmetryextension.dir/all] Error 2
make: *** [all] Error 2

@ghutchis
Copy link
Collaborator

Unfortunately, I still got an error on my computer that is using gcc 4.6.3. I'll be looking into it to try to fix it. Here's the output I get, though:

That should be solvable by a change to symmetry/CMakeLists.txt

diff --git a/libavogadro/src/extensions/symmetry/CMakeLists.txt b/libavogadro/sr
index 27877a91..239511b 100644
--- a/libavogadro/src/extensions/symmetry/CMakeLists.txt
+++ b/libavogadro/src/extensions/symmetry/CMakeLists.txt
@@ -18,4 +18,5 @@ avogadro_plugin(symmetryextension

add_subdirectory(libmsym)

+set_property(TARGET msym PROPERTY INTERFACE_POSITION_INDEPENDENT_CODE ON)
target_link_libraries(symmetryextension msym)

@mcodev31
Copy link

The "ISO C++ does not allow C99 designated initializers" errors are not due to msym.h.
The msym.h errors were due to VLA not being part of the C++ specification (only C99) combined with C++ function overloading. This should be fixed in the libmsym patch.
I.e. the msym.h file is still interpreted by the C++ compiler. The extern "C" directive for the linker, will indicate that there is no need for function overloading in C++ and therefore the prototype is valid, but some compilers do not go that far and simply report an error. The libmsym fix simply uses two separate declarations depending on language.

The shared object error is due to libmsym depending on the BUILD_SHARED_LIBS variable, which is not used during Avogadro v1 building.

@psavery
Copy link
Contributor Author

psavery commented Aug 28, 2015

Yes, the msym.h errors were fixed when I added the patch.

As for the shared object error, getting libmsym to not depend on BUILD_SHARED_LIBS might be a better fix rather than using the "-fPIC" tag.

The "ISO C++ does not allow C99 designated initializers" errors listed above were coming from symmetry/symmetryextension.cpp, though. Basically, what I found is that in a cpp file, you can't use designated initializers for a struct (http://stackoverflow.com/questions/18731707/why-does-c11-not-support-designated-initializer-list-as-c99).

It looks like there are other methods to initialize a struct in C++. I put one of them in my pull request.

By the way, one of my co-workers was able to compile the latest commit fine on his mac. It appears that this may just be a linux OS issue. But the pull request that I sent in should be good (other than maybe finding an alternative for the "-fPIC" flag).

@mcodev31
Copy link

Problem is that many projects (including avogadro v2) use BUILD_SHARED_LIBS to decide how to build, so changing that may cause them some trouble.

OS X uses clang (gcc/g++ are soft linked to clang as well)... much more forgiving. I can build all versions fine on my mac.

@psavery
Copy link
Contributor Author

psavery commented Aug 28, 2015

Okay! Well, that "-fPIC" flag that I added in the pull request seems to work for the linux GCC. I was able to compile it on GCC 4.6, 4.8, and 5.2. I can try compiling it on msvc in the next few days too to see if another flag is needed for that.

@mcodev31
Copy link

aha, but the above patch should work as well, for any compiler as far as I can see:

diff --git a/libavogadro/src/extensions/symmetry/CMakeLists.txt b/libavogadro/sr
index 27877a91..239511b 100644
--- a/libavogadro/src/extensions/symmetry/CMakeLists.txt
+++ b/libavogadro/src/extensions/symmetry/CMakeLists.txt
@@ -18,4 +18,5 @@ avogadro_plugin(symmetryextension

add_subdirectory(libmsym)

+set_property(TARGET msym PROPERTY INTERFACE_POSITION_INDEPENDENT_CODE ON)
target_link_libraries(symmetryextension msym)

@psavery
Copy link
Contributor Author

psavery commented Aug 28, 2015

I tried it. Unfortunately, it didn't seem to work.

@psavery
Copy link
Contributor Author

psavery commented Aug 28, 2015

As in, same error output. No changes.

@mcodev31
Copy link

Hm, try this, it worked with g++ arch linux.
set_target_properties (msym PROPERTIES POSITION_INDEPENDENT_CODE "TRUE”)

instead of this
set_property(TARGET msym PROPERTY INTERFACE_POSITION_INDEPENDENT_CODE ON)

@psavery
Copy link
Contributor Author

psavery commented Aug 29, 2015

That worked! Thanks a ton! I submitted the pull request with that included!

@psavery psavery closed this as completed Aug 29, 2015
@cryos
Copy link
Owner

cryos commented Aug 31, 2015

BUILD_SHARED_LIBS is a very common CMake variable, and if anything we should adapt Avogadro to set that even if it doesn't use it internally. When we wrote that CMake code I don't think we were aware of that variable. Seems like this is working now, sorry - I was largely offline with a sick child (who is feeling much better now) and only just saw all of the replies.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants