Comments (8)
Do you know where in the code CXXFLAGS is used? I think it is only using CFLAGS. But maybe it should be switching for C++ vs C.
But I am noticing that there would be a compile problem if CFLAGS is already defined in the user's environment.
The Makefiles only set CFLAGS with the appropriate settings (most of which you discovered and fixed on your own) if it is not already set. Is that the case for you? Do you have CFLAGS already set in your environment?
Thanks for pointing this out.
I will try to rework the logic so it ensures the required settings are used even if CFLAGS is already set.
I'm sorry you ran into so many compile issues. Thank you for taking the time to update us on what you found/fixed.
from bamutil.
The Makefiles only set CFLAGS with the appropriate settings (most of which you discovered and fixed on your own) if it is not already set. Is that the case for you? Do you have CFLAGS already set in your environment?
Yes.
Do you know where in the code CXXFLAGS is used? I think it is only using CFLAGS. But maybe it should be switching for C++ vs C.
Yes. I usually keep CXXFLAGS and CFLAGS in sync.
from bamutil.
I see this compiler error with version 1.0.7, but not on the HEAD. I'm glad to see that this bug is fixed on HEAD. Could you please release a new stable version of bamUtils where this bug is fixed?
g++ -Os -w -pipe -march=core2 -msse4 -o obj/SamFileHeader.o -c SamFileHeader.cpp -DVERSION="\"1.0.0\""
In file included from SamFileHeader.h:24:0,
from SamFileHeader.cpp:18:
SamReferenceInfo.h:21:25: fatal error: StringArray.h: No such file or directory
compilation terminated.
make[2]: *** [obj/SamFileHeader.o] Error 1
Thanks,
Shaun
from bamutil.
An update to my previous comment. The git tag 1.0.7 builds fine, but the tarball 1.0.7 gives the above error.
from bamutil.
When you used the one from git, what version of the library did you use?
The latest?
Unfortunately I'm out on vacation and don't have access to release a new
version. I will release a new version when I get back in June. Thank you
for your patience, and I am glad you found a work around.
Mary Kate Wing
On Tue, May 21, 2013 at 6:33 PM, Shaun Jackman [email protected]:
An update to my previous comment. The git tag 1.0.7https://github.com/statgen/bamUtil/archive/v1.0.7.tar.gzbuilds fine, but the tarball
1.0.7http://genome.sph.umich.edu/w/images/5/5d/BamUtilLibStatGen.1.0.7.tgzgives the above error.—
Reply to this email directly or view it on GitHubhttps://github.com//issues/4#issuecomment-18246261
.
from bamutil.
Yes, I used the latest library. It can certainly wait until you get back. Enjoy your vacation, Mary.
from bamutil.
Sorry for the delay. I have release version 1.0.9. Hopefully that version has these problems fixed as it is the latest version.
from bamutil.
Works for me. Thanks, Mary.
from bamutil.
Related Issues (20)
- Building bamUtil returns error: call of overloaded 'to_string(int&)' is ambiguous HOT 4
- Compile error HOT 4
- clipoverlap on raw output straight from bwa HOT 3
- Building bamUtil returns error: undefined reference HOT 4
- Cut middle of reads HOT 2
- `bam diff` should exit with a return code
- Dedup does not work from std/in HOT 2
- Cannot Compile NonPrimaryDedup Branch HOT 5
- cannot consume -.ubam on a pipe HOT 2
- Makefile should not ignore system LDFLAGS
- `bam diff` seems to return the reads that look identical between A and B HOT 1
- the clang compiler does not support -pg option on versions of OS X 10.9 and later HOT 4
- Error building from source: libStatGen HOT 3
- BamUtil: recab error: failed to open reference genome HOT 6
- bam2FastQ generates empty fastq files
- bash -x testBam2FastQ.sh and bash -x testMergeBam.sh failed on centos8_aarch64
- can not install with conda HOT 2
- bamutil diff - Get record for every read being compared HOT 2
- build is broken due to deprecated git protocol HOT 1
- Odd stats reported for clipOverlap
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bamutil.