Dear all,

 

I've been using wincoot 0.9-beta2 and love the new features, but too often
get screen freezes and force closes. 

I therefore decided to try and compile it myself. Assuming a higher
compatibility with Linux (correct me if I'm wrong), and given that I lack
experience in compiling for Windows, I went out to and compiled from source
on Windows WSL-1.

 

I cloned the repository and executed the build-it script. Problems/errors
were solved along the way (missing packages, booster, .) with no real
issues. However, upon compiling coot-0.9, I encountered the some C++ errors,
of which this is the first.

 

In file included from extra-restraints.cc:30:0:
simple-restraint.hh:2306:25: error: field 'restraints_lock' has incomplete
type 'std::atomic<bool>'
       std::atomic<bool> restraints_lock;
                         ^~~~~~~~~~~~~~~

 

Kind of striking, as #include <atomic> is present in simple-restraint.hh.
Other errors are more or less the same story with different subjects. The
whole output of 16-coot.log can be found here: https://pastebin.com/WxRK9qwp
.

 

My only clue is that this could be related to C++11, as this is mentioned in
the release notes. I'm using g++ (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0 ,which
should have full support for C++11?

 

After some troubleshooting, I went to my dual boot Ubuntu 18.04. To my
surprise, I encountered the exact same error. At this moment, I'm kind of
stuck and looking for help to continue. 

 

I don't know if it is important, but for some reason, build-it didn't catch
the correct/latest coot version: $coot_version was empty, resulting in the
download of a file called ".tar.gz". Which obviously led to an error. The
build log told me that "clever coot_version extraction failed, using
default.". Even when I stated right $coot_version=coot-0.9  after that
clever coot_version extraction (and confirmed that $coot_version was set to
coot-0.9, it still wanted to download an empty tar file. I finally
circumvented this problem by declaring $coot_version=coot-0.9 right at lines
3747 and 3840, which made the script download coot-0.9 sources and start
building it. 

 

Link to the build.log: https://pastebin.com/KZJcfAz8

Link to 16-coot.log:  https://pastebin.com/WxRK9qwp

 

 

 

 

 

 


########################################################################

To unsubscribe from the COOT list, click the following link:
https://www.jiscmail.ac.uk/cgi-bin/webadmin?SUBED1=COOT&A=1

This message was issued to members of www.jiscmail.ac.uk/COOT, a mailing list 
hosted by www.jiscmail.ac.uk, terms & conditions are available at 
https://www.jiscmail.ac.uk/policyandsecurity/

Reply via email to