Hi all, I am installing PeakSplitter_Cpp_1.0 but after the first step I got errors below: Xiaoyang-Zhangs-MacBook-Pro:PeakSplitter_MacOS XiaoyangZhang$ cd / Applications/PeakSplitter_Cpp/PeakSplitter_MacOS/PeakSplitter_v1/SFL/ Release Xiaoyang-Zhangs-MacBook-Pro:Release XiaoyangZhang$ make Building file: ../sflbits.c Invoking: GCC C Compiler gcc -D__UNIX__ -O3 -Wall -c -fmessage-length=0 -MMD -MP -MF"sflbits.d" -MT"sflbits.d" -o"sflbits.o" "../sflbits.c" In file included from ../sflbits.c:16: ../prelude.h:401:9: error: #error "Cannot compile: must change definition of 'qbyte'." make: *** [sflbits.o] Error 1
Could you please take a look at it and help me out? Thanks, - Xiaoyang
Hi Xiaoyang Sorry for the late reply. I suppose you have Mac OS, unfortunately, SFL doesn't support Mac OS and hence the problems with different Mac versions. I added some lines in the code forcing the compiler to think your machine is 64 bit. Please replace the "sfl.h, prelude.h and sflprint.h" files under SFL folder with the attached files, then try to re-compile (go to SFL/Release folder, type "make clean", then run "make") Please tell me if this solved the problem Thanks Mali
On Fri, Dec 9, 2011 at 11:37 PM, Xiaoyang <xyzxiaoy...@gmail.com> wrote: > Hi all, > I am installing PeakSplitter_Cpp_1.0 but after the first step I got > errors below: > Xiaoyang-Zhangs-MacBook-Pro:PeakSplitter_MacOS XiaoyangZhang$ cd / > Applications/PeakSplitter_Cpp/PeakSplitter_MacOS/PeakSplitter_v1/SFL/ > Release > Xiaoyang-Zhangs-MacBook-Pro:Release XiaoyangZhang$ make > Building file: ../sflbits.c > Invoking: GCC C Compiler > gcc -D__UNIX__ -O3 -Wall -c -fmessage-length=0 -MMD -MP -MF"sflbits.d" > -MT"sflbits.d" -o"sflbits.o" "../sflbits.c" > In file included from ../sflbits.c:16: > ../prelude.h:401:9: error: #error "Cannot compile: must change > definition of 'qbyte'." > make: *** [sflbits.o] Error 1
> Could you please take a look at it and help me out? > Thanks, > - Xiaoyang
> -- > You received this message because you are subscribed to the Google Groups > "MACS announcement" group. > To post to this group, send email to macs-announcement@googlegroups.com. > To unsubscribe from this group, send email to > macs-announcement+unsubscribe@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/macs-announcement?hl=en.
Hi Mali, Thanks for your help! The SFL problem seems solved now! But some errors come out when it comes to the last step (PeakSplitter_v1):
kiel-telesfords-macbook-pro:PeakSplitter_v1 XiaoyangZhang$ make Building file: SplitPeaks/BedGraphParser.cpp Invoking: GCC C++ Compiler g++ -D__UNIX__ -I./SplitPeaks -I./SFL -I./Zlib -O3 -Wall -c -fmessage-length=0 -MMD -MP -MF"BedGraphParser.d" -MT"BedGraphParser.d" -o"BedGraphParser.o" "SplitPeaks/BedGraphParser.cpp" In file included from SplitPeaks/BedGraphParser.h:2, from SplitPeaks/BedGraphParser.cpp:1: SplitPeaks/Shared.h:3:1: warning: "__UNIX__" redefined <command-line>: warning: this is the location of the previous definition In file included from /usr/include/c++/4.2.1/backward/iostream.h:31, from ./SFL/sfl.h:236, from SplitPeaks/Shared.h:17, from SplitPeaks/BedGraphParser.h:2, from SplitPeaks/BedGraphParser.cpp:1: /usr/include/c++/4.2.1/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <iostream> instead of the deprecated header <iostream.h>. To disable this warning use -Wno-deprecated. In file included from SplitPeaks/BedGraphParser.cpp:1: SplitPeaks/BedGraphParser.h:12: error: extra qualification ‘BedGraphParser::’ on member ‘nextPosition’ make: *** [BedGraphParser.o] Error 1
> Hi Xiaoyang > Sorry for the late reply. > I suppose you have Mac OS, unfortunately, SFL doesn't support Mac OS and > hence the problems with different Mac versions. > I added some lines in the code forcing the compiler to think your machine > is 64 bit. > Please replace the "sfl.h, prelude.h and sflprint.h" files under SFL > folder with the attached files, then try to re-compile (go to SFL/Release > folder, type "make clean", then run "make") > Please tell me if this solved the problem > Thanks > Mali
> On Fri, Dec 9, 2011 at 11:37 PM, Xiaoyang <xyzxiaoy...@gmail.com> wrote:
>> Hi all, >> I am installing PeakSplitter_Cpp_1.0 but after the first step I got >> errors below: >> Xiaoyang-Zhangs-MacBook-Pro:PeakSplitter_MacOS XiaoyangZhang$ cd / >> Applications/PeakSplitter_Cpp/PeakSplitter_MacOS/PeakSplitter_v1/SFL/ >> Release >> Xiaoyang-Zhangs-MacBook-Pro:Release XiaoyangZhang$ make >> Building file: ../sflbits.c >> Invoking: GCC C Compiler >> gcc -D__UNIX__ -O3 -Wall -c -fmessage-length=0 -MMD -MP -MF"sflbits.d" >> -MT"sflbits.d" -o"sflbits.o" "../sflbits.c" >> In file included from ../sflbits.c:16: >> ../prelude.h:401:9: error: #error "Cannot compile: must change >> definition of 'qbyte'." >> make: *** [sflbits.o] Error 1
>> Could you please take a look at it and help me out? >> Thanks, >> - Xiaoyang
>> -- >> You received this message because you are subscribed to the Google Groups >> "MACS announcement" group. >> To post to this group, send email to macs-announcement@googlegroups.com. >> To unsubscribe from this group, send email to >> macs-announcement+unsubscribe@googlegroups.com. >> For more options, visit this group at >> http://groups.google.com/group/macs-announcement?hl=en.
> -- > You received this message because you are subscribed to the Google Groups > "MACS announcement" group. > To post to this group, send email to macs-announcement@googlegroups.com. > To unsubscribe from this group, send email to > macs-announcement+unsubscribe@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/macs-announcement?hl=en.
Hi Xiaovang Please open the file BedGraphParser.h, and replace line 12 "wigPosition* BedGraphParser::nextPosition();" with "wigPosition* nextPosition();" (so actually just remove the BedGraphParser:: from that line) Then re-compile and let me know how it goes Thanks Mali
On Sun, Dec 11, 2011 at 5:40 PM, Xiaoyang Zhang <xyzxiaoy...@gmail.com>wrote:
> Hi Mali, > Thanks for your help! > The SFL problem seems solved now! But some errors come out when it comes > to the last step (PeakSplitter_v1):
> kiel-telesfords-macbook-pro:PeakSplitter_v1 XiaoyangZhang$ make > Building file: SplitPeaks/BedGraphParser.cpp > Invoking: GCC C++ Compiler > g++ -D__UNIX__ -I./SplitPeaks -I./SFL -I./Zlib -O3 -Wall -c > -fmessage-length=0 -MMD -MP -MF"BedGraphParser.d" -MT"BedGraphParser.d" > -o"BedGraphParser.o" "SplitPeaks/BedGraphParser.cpp" > In file included from SplitPeaks/BedGraphParser.h:2, > from SplitPeaks/BedGraphParser.cpp:1: > SplitPeaks/Shared.h:3:1: warning: "__UNIX__" redefined > <command-line>: warning: this is the location of the previous definition > In file included from /usr/include/c++/4.2.1/backward/iostream.h:31, > from ./SFL/sfl.h:236, > from SplitPeaks/Shared.h:17, > from SplitPeaks/BedGraphParser.h:2, > from SplitPeaks/BedGraphParser.cpp:1: > /usr/include/c++/4.2.1/backward/backward_warning.h:32:2: warning: #warning > This file includes at least one deprecated or antiquated header. Please > consider using one of the 32 headers found in section 17.4.1.2 of the C++ > standard. Examples include substituting the <X> header for the <X.h> header > for C++ includes, or <iostream> instead of the deprecated header > <iostream.h>. To disable this warning use -Wno-deprecated. > In file included from SplitPeaks/BedGraphParser.cpp:1: > SplitPeaks/BedGraphParser.h:12: error: extra qualification > ‘BedGraphParser::’ on member ‘nextPosition’ > make: *** [BedGraphParser.o] Error 1
>> Hi Xiaoyang >> Sorry for the late reply. >> I suppose you have Mac OS, unfortunately, SFL doesn't support Mac OS and >> hence the problems with different Mac versions. >> I added some lines in the code forcing the compiler to think your machine >> is 64 bit. >> Please replace the "sfl.h, prelude.h and sflprint.h" files under SFL >> folder with the attached files, then try to re-compile (go to SFL/Release >> folder, type "make clean", then run "make") >> Please tell me if this solved the problem >> Thanks >> Mali
>> On Fri, Dec 9, 2011 at 11:37 PM, Xiaoyang <xyzxiaoy...@gmail.com> wrote:
>>> Hi all, >>> I am installing PeakSplitter_Cpp_1.0 but after the first step I got >>> errors below: >>> Xiaoyang-Zhangs-MacBook-Pro:PeakSplitter_MacOS XiaoyangZhang$ cd / >>> Applications/PeakSplitter_Cpp/PeakSplitter_MacOS/PeakSplitter_v1/SFL/ >>> Release >>> Xiaoyang-Zhangs-MacBook-Pro:Release XiaoyangZhang$ make >>> Building file: ../sflbits.c >>> Invoking: GCC C Compiler >>> gcc -D__UNIX__ -O3 -Wall -c -fmessage-length=0 -MMD -MP -MF"sflbits.d" >>> -MT"sflbits.d" -o"sflbits.o" "../sflbits.c" >>> In file included from ../sflbits.c:16: >>> ../prelude.h:401:9: error: #error "Cannot compile: must change >>> definition of 'qbyte'." >>> make: *** [sflbits.o] Error 1
>>> Could you please take a look at it and help me out? >>> Thanks, >>> - Xiaoyang
>>> -- >>> You received this message because you are subscribed to the Google >>> Groups "MACS announcement" group. >>> To post to this group, send email to macs-announcement@googlegroups.com. >>> To unsubscribe from this group, send email to >>> macs-announcement+unsubscribe@googlegroups.com. >>> For more options, visit this group at >>> http://groups.google.com/group/macs-announcement?hl=en.
>> -- >> You received this message because you are subscribed to the Google Groups >> "MACS announcement" group. >> To post to this group, send email to macs-announcement@googlegroups.com. >> To unsubscribe from this group, send email to >> macs-announcement+unsubscribe@googlegroups.com. >> For more options, visit this group at >> http://groups.google.com/group/macs-announcement?hl=en.
> -- > You received this message because you are subscribed to the Google Groups > "MACS announcement" group. > To post to this group, send email to macs-announcement@googlegroups.com. > To unsubscribe from this group, send email to > macs-announcement+unsubscribe@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/macs-announcement?hl=en.
> Hi Xiaovang > Please open the file BedGraphParser.h, and replace line 12 "wigPosition* > BedGraphParser::nextPosition();" > with "wigPosition* nextPosition();" (so actually just remove the > BedGraphParser:: from that line) > Then re-compile and let me know how it goes > Thanks > Mali
> On Sun, Dec 11, 2011 at 5:40 PM, Xiaoyang Zhang <xyzxiaoy...@gmail.com>wrote:
>> Hi Mali, >> Thanks for your help! >> The SFL problem seems solved now! But some errors come out when it comes >> to the last step (PeakSplitter_v1):
>> kiel-telesfords-macbook-pro:PeakSplitter_v1 XiaoyangZhang$ make >> Building file: SplitPeaks/BedGraphParser.cpp >> Invoking: GCC C++ Compiler >> g++ -D__UNIX__ -I./SplitPeaks -I./SFL -I./Zlib -O3 -Wall -c >> -fmessage-length=0 -MMD -MP -MF"BedGraphParser.d" -MT"BedGraphParser.d" >> -o"BedGraphParser.o" "SplitPeaks/BedGraphParser.cpp" >> In file included from SplitPeaks/BedGraphParser.h:2, >> from SplitPeaks/BedGraphParser.cpp:1: >> SplitPeaks/Shared.h:3:1: warning: "__UNIX__" redefined >> <command-line>: warning: this is the location of the previous definition >> In file included from /usr/include/c++/4.2.1/backward/iostream.h:31, >> from ./SFL/sfl.h:236, >> from SplitPeaks/Shared.h:17, >> from SplitPeaks/BedGraphParser.h:2, >> from SplitPeaks/BedGraphParser.cpp:1: >> /usr/include/c++/4.2.1/backward/backward_warning.h:32:2: warning: >> #warning This file includes at least one deprecated or antiquated header. >> Please consider using one of the 32 headers found in section 17.4.1.2 of >> the C++ standard. Examples include substituting the <X> header for the >> <X.h> header for C++ includes, or <iostream> instead of the deprecated >> header <iostream.h>. To disable this warning use -Wno-deprecated. >> In file included from SplitPeaks/BedGraphParser.cpp:1: >> SplitPeaks/BedGraphParser.h:12: error: extra qualification >> ‘BedGraphParser::’ on member ‘nextPosition’ >> make: *** [BedGraphParser.o] Error 1
>>> Hi Xiaoyang >>> Sorry for the late reply. >>> I suppose you have Mac OS, unfortunately, SFL doesn't support Mac OS and >>> hence the problems with different Mac versions. >>> I added some lines in the code forcing the compiler to think your >>> machine is 64 bit. >>> Please replace the "sfl.h, prelude.h and sflprint.h" files under SFL >>> folder with the attached files, then try to re-compile (go to SFL/Release >>> folder, type "make clean", then run "make") >>> Please tell me if this solved the problem >>> Thanks >>> Mali
>>> On Fri, Dec 9, 2011 at 11:37 PM, Xiaoyang <xyzxiaoy...@gmail.com>wrote:
>>>> Hi all, >>>> I am installing PeakSplitter_Cpp_1.0 but after the first step I got >>>> errors below: >>>> Xiaoyang-Zhangs-MacBook-Pro:PeakSplitter_MacOS XiaoyangZhang$ cd / >>>> Applications/PeakSplitter_Cpp/PeakSplitter_MacOS/PeakSplitter_v1/SFL/ >>>> Release >>>> Xiaoyang-Zhangs-MacBook-Pro:Release XiaoyangZhang$ make >>>> Building file: ../sflbits.c >>>> Invoking: GCC C Compiler >>>> gcc -D__UNIX__ -O3 -Wall -c -fmessage-length=0 -MMD -MP -MF"sflbits.d" >>>> -MT"sflbits.d" -o"sflbits.o" "../sflbits.c" >>>> In file included from ../sflbits.c:16: >>>> ../prelude.h:401:9: error: #error "Cannot compile: must change >>>> definition of 'qbyte'." >>>> make: *** [sflbits.o] Error 1
>>>> Could you please take a look at it and help me out? >>>> Thanks, >>>> - Xiaoyang
>>>> -- >>>> You received this message because you are subscribed to the Google >>>> Groups "MACS announcement" group. >>>> To post to this group, send email to macs-announcement@googlegroups.com >>>> . >>>> To unsubscribe from this group, send email to >>>> macs-announcement+unsubscribe@googlegroups.com. >>>> For more options, visit this group at >>>> http://groups.google.com/group/macs-announcement?hl=en.
>>> -- >>> You received this message because you are subscribed to the Google >>> Groups "MACS announcement" group. >>> To post to this group, send email to macs-announcement@googlegroups.com. >>> To unsubscribe from this group, send email to >>> macs-announcement+unsubscribe@googlegroups.com. >>> For more options, visit this group at >>> http://groups.google.com/group/macs-announcement?hl=en.
>> -- >> You received this message because you are subscribed to the Google Groups >> "MACS announcement" group. >> To post to this group, send email to macs-announcement@googlegroups.com. >> To unsubscribe from this group, send email to >> macs-announcement+unsubscribe@googlegroups.com. >> For more options, visit this group at >> http://groups.google.com/group/macs-announcement?hl=en.
> -- > You received this message because you are subscribed to the Google Groups > "MACS announcement" group. > To post to this group, send email to macs-announcement@googlegroups.com. > To unsubscribe from this group, send email to > macs-announcement+unsubscribe@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/macs-announcement?hl=en.
I am also struggling with the PeakSplitter instalation but in Ubuntu 11.04. Compiling the libraries SFL and zlib went well but compiling peaksplitter gave this error:
Building file: SplitPeaks/BedGraphParser.cpp
Invoking: GCC C++ Compiler
g++ -D__UNIX__ -D__64BIT__ -I./SplitPeaks -I./SFL -I./Zlib -O3 -Wall -c -fmessage-length=0 -MMD -MP -MF"BedGraphParser.d" -MT"BedGraphParser.d" -o"BedGraphParser.o" "SplitPeaks/BedGraphParser.cpp"
In file included from SplitPeaks/Shared.h:17:0,
from SplitPeaks/BedGraphParser.h:2,
from SplitPeaks/BedGraphParser.cpp:1:
./SFL/sfl.h:192:0: warning: "__NO_CTYPE" redefined
/usr/include/c++/4.5/x86_64-linux-gnu/bits/os_defines.h:37:0: note: this is the location of the previous definition
./SFL/sfl.h:236:80: fatal error: iostream.h: No such file or directory
compilation terminated.
make: *** [BedGraphParser.o] Error 1
I also have same problem for installing PeakSplitter as below,
Building file: SplitPeaks/BedGraphParser.cpp
Invoking: GCC C++ Compiler
g++ -D__UNIX__ -I./SplitPeaks -I./SFL -I./Zlib -O3 -Wall -c
-fmessage-length=0 -MMD -MP -MF"BedGraphParser.d" -MT"BedGraphParser.d"
-o"BedGraphParser.o" "SplitPeaks/BedGraphParser.cpp"
In file included from SplitPeaks/BedGraphParser.h:2,
from SplitPeaks/BedGraphParser.cpp:1:
SplitPeaks/Shared.h:3:1: warning: "__UNIX__" redefined
<command-line>: warning: this is the location of the previous definition
In file included from SplitPeaks/BedGraphParser.cpp:1:
SplitPeaks/BedGraphParser.h:12: error: extra qualification
‘BedGraphParser::’ on member ‘nextPosition’
make: *** [BedGraphParser.o] Error 1
I tried to solve the problem according to your comments for Xiaoyang as
below,
but only the BedGraphParser.d was generated in the PeakSplitter_v1 folder.
My Mac is Mac OS X10.6.8. (32 bit)
Could you give your advice to solve the problem?
Best,
Yuuki
On 11/12/12 15:06, "mali salmon" <shalm...@gmail.com> wrote:
> Hi Xiaovang
> Please open the file BedGraphParser.h, and replace line 12 "wigPosition*
> BedGraphParser::nextPosition();"
> with? "wigPosition* nextPosition();" (so actually just remove the
> BedGraphParser:: from that line)
> Then re-compile and let me know how it goes
> Thanks
> Mali
> On Sun, Dec 11, 2011 at 5:40 PM, Xiaoyang Zhang <xyzxiaoy...@gmail.com> wrote:
>> Hi Mali,
>> Thanks for your help!
>> The SFL problem seems solved now! But some errors come out when it comes to
>> the last step (PeakSplitter_v1):
>> kiel-telesfords-macbook-pro:PeakSplitter_v1 XiaoyangZhang$ make
>> Building file: SplitPeaks/BedGraphParser.cpp
>> Invoking: GCC C++ Compiler
>> g++ -D__UNIX__ -I./SplitPeaks -I./SFL -I./Zlib -O3 -Wall -c
>> -fmessage-length=0 -MMD -MP -MF"BedGraphParser.d" -MT"BedGraphParser.d"
>> -o"BedGraphParser.o" "SplitPeaks/BedGraphParser.cpp"
>> In file included from SplitPeaks/BedGraphParser.h:2,
>> ???????????????? from SplitPeaks/BedGraphParser.cpp:1:
>> SplitPeaks/Shared.h:3:1: warning: "__UNIX__" redefined
>> <command-line>: warning: this is the location of the previous definition
>> In file included from /usr/include/c++/4.2.1/backward/iostream.h:31,
>> ???????????????? from ./SFL/sfl.h:236,
>> ???????????????? from SplitPeaks/Shared.h:17,
>> ???????????????? from SplitPeaks/BedGraphParser.h:2,
>> ???????????????? from SplitPeaks/BedGraphParser.cpp:1:
>> /usr/include/c++/4.2.1/backward/backward_warning.h:32:2: warning: #warning
>> This file includes at least one deprecated or antiquated header. Please
>> consider using one of the 32 headers found in section 17.4.1.2 of the C++
>> standard. Examples include substituting the <X> header for the <X.h> header
>> for C++ includes, or <iostream> instead of the deprecated header
>> <iostream.h>. To disable this warning use -Wno-deprecated.
>> In file included from SplitPeaks/BedGraphParser.cpp:1:
>> SplitPeaks/BedGraphParser.h:12: error: extra qualification ‘BedGraphParser::’
>> on member ‘nextPosition’
>> make: *** [BedGraphParser.o] Error 1
>> Thanks again for your help!
>> - Xiaoyang
>> 2011/12/11 mali salmon <shalm...@gmail.com>
>>> Hi Xiaoyang
>>> Sorry for the late reply.
>>> I suppose you have Mac OS, unfortunately, SFL doesn't support Mac OS and
>>> hence the problems with different Mac versions.
>>> I added some lines in the code forcing the compiler to think your machine is
>>> 64 bit. >>> Please replace the "sfl.h, prelude.h and sflprint.h"? files under SFL folder
>>> with the attached files, then try to re-compile (go to SFL/Release folder,
>>> type "make clean", then run "make")
>>> Please tell me if this solved the problem
>>> Thanks
>>> Mali
>>> On Fri, Dec 9, 2011 at 11:37 PM, Xiaoyang <xyzxiaoy...@gmail.com> wrote:
>>>> Hi all,
>>>> I am installing PeakSplitter_Cpp_1.0 but after the first step I got
>>>> errors below:
>>>> Xiaoyang-Zhangs-MacBook-Pro:PeakSplitter_MacOS XiaoyangZhang$ cd /
>>>> Applications/PeakSplitter_Cpp/PeakSplitter_MacOS/PeakSplitter_v1/SFL/
>>>> Release
>>>> Xiaoyang-Zhangs-MacBook-Pro:Release XiaoyangZhang$ make
>>>> Building file: ../sflbits.c
>>>> Invoking: GCC C Compiler
>>>> gcc -D__UNIX__ -O3 -Wall -c -fmessage-length=0 -MMD -MP -MF"sflbits.d"
>>>> -MT"sflbits.d" -o"sflbits.o" "../sflbits.c"
>>>> In file included from ../sflbits.c:16:
>>>> ../prelude.h:401:9: error: #error "Cannot compile: must change
>>>> definition of 'qbyte'."
>>>> make: *** [sflbits.o] Error 1
>>>> Could you please take a look at it and help me out?
>>>> Thanks,
>>>> - Xiaoyang
>>>> --
>>>> You received this message because you are subscribed to the Google Groups
>>>> "MACS announcement" group.
>>>> To post to this group, send email to macs-announcement@googlegroups.com.
>>>> To unsubscribe from this group, send email to
>>>> macs-announcement+unsubscribe@googlegroups.com
>>>> <mailto:macs-announcement%2Bunsubscribe@googlegroups.com> .
>>>> For more options, visit this group at
>>>> http://groups.google.com/group/macs-announcement?hl=en.
Hi Yuuki
So you actually removed the "BedGraphParser::" from "wigPosition*
BedGraphParser::nextPosition();" line in BedGraphParser.h file right?
Have you changes anything else? Did you get any error?
Thanks
Mali
On Fri, Aug 31, 2012 at 9:50 AM, Yuuki Imai <yi...@iam.u-tokyo.ac.jp> wrote:
> Hi Mali,
> I also have same problem for installing PeakSplitter as below,
> Building file: SplitPeaks/BedGraphParser.cpp
> Invoking: GCC C++ Compiler
> g++ -D__UNIX__ -I./SplitPeaks -I./SFL -I./Zlib -O3 -Wall -c
> -fmessage-length=0 -MMD -MP -MF"BedGraphParser.d" -MT"BedGraphParser.d"
> -o"BedGraphParser.o" "SplitPeaks/BedGraphParser.cpp"
> In file included from SplitPeaks/BedGraphParser.h:2,
> from SplitPeaks/BedGraphParser.cpp:1:
> SplitPeaks/Shared.h:3:1: warning: "__UNIX__" redefined
> <command-line>: warning: this is the location of the previous definition
> In file included from SplitPeaks/BedGraphParser.cpp:1:
> SplitPeaks/BedGraphParser.h:12: error: extra qualification
> ‘BedGraphParser::’ on member ‘nextPosition’
> make: *** [BedGraphParser.o] Error 1
> I tried to solve the problem according to your comments for Xiaoyang as
> below,
> but only the BedGraphParser.d was generated in the PeakSplitter_v1 folder.
> My Mac is Mac OS X10.6.8. (32 bit)
> Could you give your advice to solve the problem?
> Best,
> Yuuki
> On 11/12/12 15:06, "mali salmon" <shalm...@gmail.com> wrote:
> Hi Xiaovang
> Please open the file BedGraphParser.h, and replace line 12 "wigPosition*
> BedGraphParser::nextPosition();"
> with? "wigPosition* nextPosition();" (so actually just remove the
> BedGraphParser:: from that line)
> Then re-compile and let me know how it goes
> Thanks
> Mali
> On Sun, Dec 11, 2011 at 5:40 PM, Xiaoyang Zhang <xyzxiaoy...@gmail.com>
> wrote:
> Hi Mali,
> Thanks for your help!
> The SFL problem seems solved now! But some errors come out when it comes to
> the last step (PeakSplitter_v1):
> kiel-telesfords-macbook-pro:PeakSplitter_v1 XiaoyangZhang$ make
> Building file: SplitPeaks/BedGraphParser.cpp
> Invoking: GCC C++ Compiler
> g++ -D__UNIX__ -I./SplitPeaks -I./SFL -I./Zlib -O3 -Wall -c
> -fmessage-length=0 -MMD -MP -MF"BedGraphParser.d" -MT"BedGraphParser.d"
> -o"BedGraphParser.o" "SplitPeaks/BedGraphParser.cpp"
> In file included from SplitPeaks/BedGraphParser.h:2,
> ???????????????? from SplitPeaks/BedGraphParser.cpp:1:
> SplitPeaks/Shared.h:3:1: warning: "__UNIX__" redefined
> <command-line>: warning: this is the location of the previous definition
> In file included from /usr/include/c++/4.2.1/backward/iostream.h:31,
> ???????????????? from ./SFL/sfl.h:236,
> ???????????????? from SplitPeaks/Shared.h:17,
> ???????????????? from SplitPeaks/BedGraphParser.h:2,
> ???????????????? from SplitPeaks/BedGraphParser.cpp:1:
> /usr/include/c++/4.2.1/backward/backward_warning.h:32:2: warning: #warning
> This file includes at least one deprecated or antiquated header. Please
> consider using one of the 32 headers found in section 17.4.1.2 of the C++
> standard. Examples include substituting the <X> header for the <X.h> header
> for C++ includes, or <iostream> instead of the deprecated header
> <iostream.h>. To disable this warning use -Wno-deprecated.
> In file included from SplitPeaks/BedGraphParser.cpp:1:
> SplitPeaks/BedGraphParser.h:12: error: extra qualification
> ‘BedGraphParser::’ on member ‘nextPosition’
> make: *** [BedGraphParser.o] Error 1
> Hi Xiaoyang
> Sorry for the late reply.
> I suppose you have Mac OS, unfortunately, SFL doesn't support Mac OS and
> hence the problems with different Mac versions.
> I added some lines in the code forcing the compiler to think your machine is
> 64 bit.
> Please replace the "sfl.h, prelude.h and sflprint.h"? files under SFL folder
> with the attached files, then try to re-compile (go to SFL/Release folder,
> type "make clean", then run "make")
> Please tell me if this solved the problem
> Thanks
> Mali
> On Fri, Dec 9, 2011 at 11:37 PM, Xiaoyang <xyzxiaoy...@gmail.com> wrote:
> Hi all,
> I am installing PeakSplitter_Cpp_1.0 but after the first step I got
> errors below:
> Xiaoyang-Zhangs-MacBook-Pro:PeakSplitter_MacOS XiaoyangZhang$ cd /
> Applications/PeakSplitter_Cpp/PeakSplitter_MacOS/PeakSplitter_v1/SFL/
> Release
> Xiaoyang-Zhangs-MacBook-Pro:Release XiaoyangZhang$ make
> Building file: ../sflbits.c
> Invoking: GCC C Compiler
> gcc -D__UNIX__ -O3 -Wall -c -fmessage-length=0 -MMD -MP -MF"sflbits.d"
> -MT"sflbits.d" -o"sflbits.o" "../sflbits.c"
> In file included from ../sflbits.c:16:
> ../prelude.h:401:9: error: #error "Cannot compile: must change
> definition of 'qbyte'."
> make: *** [sflbits.o] Error 1
> Could you please take a look at it and help me out?
> Thanks,
> - Xiaoyang
> --
> You received this message because you are subscribed to the Google Groups
> "MACS announcement" group.
> To post to this group, send email to macs-announcement@googlegroups.com.
> To unsubscribe from this group, send email to
> macs-announcement+unsubscribe@googlegroups.com
> <mailto:macs-announcement%2Bunsubscribe@googlegroups.com> .
> --
> You received this message because you are subscribed to the Google Groups
> "MACS announcement" group.
> To post to this group, send email to macs-announcement@googlegroups.com.
> To unsubscribe from this group, send email to
> macs-announcement+unsubscribe@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/macs-announcement?hl=en.
> Hi Yuuki
> So you actually removed the "BedGraphParser::" from "wigPosition*
> BedGraphParser::nextPosition();" line in BedGraphParser.h file right?
> Have you changes anything else? Did you get any error?
> Thanks
> Mali
> On Fri, Aug 31, 2012 at 9:50 AM, Yuuki Imai <yi...@iam.u-tokyo.ac.jp>
> wrote:
> > Hi Mali,
> > I also have same problem for installing PeakSplitter as below,
> > Building file: SplitPeaks/BedGraphParser.cpp
> > Invoking: GCC C++ Compiler
> > g++ -D__UNIX__ -I./SplitPeaks -I./SFL -I./Zlib -O3 -Wall -c
> > -fmessage-length=0 -MMD -MP -MF"BedGraphParser.d" -MT"BedGraphParser.d"
> > -o"BedGraphParser.o" "SplitPeaks/BedGraphParser.cpp"
> > In file included from SplitPeaks/BedGraphParser.h:2,
> > from SplitPeaks/BedGraphParser.cpp:1:
> > SplitPeaks/Shared.h:3:1: warning: "__UNIX__" redefined
> > <command-line>: warning: this is the location of the previous definition
> > In file included from SplitPeaks/BedGraphParser.cpp:1:
> > SplitPeaks/BedGraphParser.h:12: error: extra qualification
> > ‘BedGraphParser::’ on member ‘nextPosition’
> > make: *** [BedGraphParser.o] Error 1
> > I tried to solve the problem according to your comments for Xiaoyang as
> > below,
> > but only the BedGraphParser.d was generated in the PeakSplitter_v1
> folder.
> > My Mac is Mac OS X10.6.8. (32 bit)
> > Could you give your advice to solve the problem?
> > Best,
> > Yuuki
> > On 11/12/12 15:06, "mali salmon" <shalm...@gmail.com> wrote:
> > Hi Xiaovang
> > Please open the file BedGraphParser.h, and replace line 12 "wigPosition*
> > BedGraphParser::nextPosition();"
> > with? "wigPosition* nextPosition();" (so actually just remove the
> > BedGraphParser:: from that line)
> > Then re-compile and let me know how it goes
> > Thanks
> > Mali
> > On Sun, Dec 11, 2011 at 5:40 PM, Xiaoyang Zhang <xyzxiaoy...@gmail.com>
> > wrote:
> > Hi Mali,
> > Thanks for your help!
> > The SFL problem seems solved now! But some errors come out when it comes
> to
> > the last step (PeakSplitter_v1):
> > kiel-telesfords-macbook-pro:PeakSplitter_v1 XiaoyangZhang$ make
> > Building file: SplitPeaks/BedGraphParser.cpp
> > Invoking: GCC C++ Compiler
> > g++ -D__UNIX__ -I./SplitPeaks -I./SFL -I./Zlib -O3 -Wall -c
> > -fmessage-length=0 -MMD -MP -MF"BedGraphParser.d" -MT"BedGraphParser.d"
> > -o"BedGraphParser.o" "SplitPeaks/BedGraphParser.cpp"
> > In file included from SplitPeaks/BedGraphParser.h:2,
> > ???????????????? from SplitPeaks/BedGraphParser.cpp:1:
> > SplitPeaks/Shared.h:3:1: warning: "__UNIX__" redefined
> > <command-line>: warning: this is the location of the previous definition
> > In file included from /usr/include/c++/4.2.1/backward/iostream.h:31,
> > ???????????????? from ./SFL/sfl.h:236,
> > ???????????????? from SplitPeaks/Shared.h:17,
> > ???????????????? from SplitPeaks/BedGraphParser.h:2,
> > ???????????????? from SplitPeaks/BedGraphParser.cpp:1:
> > /usr/include/c++/4.2.1/backward/backward_warning.h:32:2: warning:
> #warning
> > This file includes at least one deprecated or antiquated header. Please
> > consider using one of the 32 headers found in section 17.4.1.2 of the C++
> > standard. Examples include substituting the <X> header for the <X.h>
> header
> > for C++ includes, or <iostream> instead of the deprecated header
> > <iostream.h>. To disable this warning use -Wno-deprecated.
> > In file included from SplitPeaks/BedGraphParser.cpp:1:
> > SplitPeaks/BedGraphParser.h:12: error: extra qualification
> > ‘BedGraphParser::’ on member ‘nextPosition’
> > make: *** [BedGraphParser.o] Error 1
> > Hi Xiaoyang
> > Sorry for the late reply.
> > I suppose you have Mac OS, unfortunately, SFL doesn't support Mac OS and
> > hence the problems with different Mac versions.
> > I added some lines in the code forcing the compiler to think your
> machine is
> > 64 bit.
> > Please replace the "sfl.h, prelude.h and sflprint.h"? files under SFL
> folder
> > with the attached files, then try to re-compile (go to SFL/Release
> folder,
> > type "make clean", then run "make")
> > Please tell me if this solved the problem
> > Thanks
> > Mali
> > On Fri, Dec 9, 2011 at 11:37 PM, Xiaoyang <xyzxiaoy...@gmail.com> wrote:
> > Hi all,
> > I am installing PeakSplitter_Cpp_1.0 but after the first step I got
> > errors below:
> > Xiaoyang-Zhangs-MacBook-Pro:PeakSplitter_MacOS XiaoyangZhang$ cd /
> > Applications/PeakSplitter_Cpp/PeakSplitter_MacOS/PeakSplitter_v1/SFL/
> > Release
> > Xiaoyang-Zhangs-MacBook-Pro:Release XiaoyangZhang$ make
> > Building file: ../sflbits.c
> > Invoking: GCC C Compiler
> > gcc -D__UNIX__ -O3 -Wall -c -fmessage-length=0 -MMD -MP -MF"sflbits.d"
> > -MT"sflbits.d" -o"sflbits.o" "../sflbits.c"
> > In file included from ../sflbits.c:16:
> > ../prelude.h:401:9: error: #error "Cannot compile: must change
> > definition of 'qbyte'."
> > make: *** [sflbits.o] Error 1
> > Could you please take a look at it and help me out?
> > Thanks,
> > - Xiaoyang
> > --
> > You received this message because you are subscribed to the Google Groups
> > "MACS announcement" group.
> > To post to this group, send email to macs-announcement@googlegroups.com.
> > To unsubscribe from this group, send email to
> > macs-announcement+unsubscribe@googlegroups.com
> > <mailto:macs-announcement%2Bunsubscribe@googlegroups.com> .
> > --
> > You received this message because you are subscribed to the Google Groups
> > "MACS announcement" group.
> > To post to this group, send email to macs-announcement@googlegroups.com.
> > To unsubscribe from this group, send email to
> > macs-announcement+unsubscribe@googlegroups.com.
> > For more options, visit this group at
> > http://groups.google.com/group/macs-announcement?hl=en.
> --
> You received this message because you are subscribed to the Google Groups
> "MACS announcement" group.
> To post to this group, send email to macs-announcement@googlegroups.com.
> To unsubscribe from this group, send email to
> macs-announcement+unsubscribe@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/macs-announcement?hl=en.
> Thank you for your reply.
> I could not find?BedGraphParser.h file?in the?PeakSplitter_v1 folder.?
> So I did not removed it.
> Thanks,
> Yuuki
> 2012/9/2 mali salmon <shalm...@gmail.com>
>> Hi Yuuki
>> So you actually removed the "BedGraphParser::" from "wigPosition*
>> BedGraphParser::nextPosition();" ?line in BedGraphParser.h file right?
>> Have you changes anything else? Did you get any error?
>> Thanks
>> Mali
>> On Fri, Aug 31, 2012 at 9:50 AM, Yuuki Imai <yi...@iam.u-tokyo.ac.jp> wrote:
>>> > Hi Mali,
>>> > I also have same problem for installing PeakSplitter as below,
>>> > Building file: SplitPeaks/BedGraphParser.cpp
>>> > Invoking: GCC C++ Compiler
>>> > g++ -D__UNIX__ -I./SplitPeaks -I./SFL -I./Zlib -O3 -Wall -c
>>> > -fmessage-length=0 -MMD -MP -MF"BedGraphParser.d" -MT"BedGraphParser.d"
>>> > -o"BedGraphParser.o" "SplitPeaks/BedGraphParser.cpp"
>>> > In file included from SplitPeaks/BedGraphParser.h:2,
>>> > ? ? ? ? ? ? ? ? ?from SplitPeaks/BedGraphParser.cpp:1:
>>> > SplitPeaks/Shared.h:3:1: warning: "__UNIX__" redefined
>>> > <command-line>: warning: this is the location of the previous definition
>>> > In file included from SplitPeaks/BedGraphParser.cpp:1:
>>> > SplitPeaks/BedGraphParser.h:12: error: extra qualification
>>> > ‘BedGraphParser::’ on member ‘nextPosition’
>>> > make: *** [BedGraphParser.o] Error 1
>>> > I tried to solve the problem according to your comments for Xiaoyang as
>>> > below,
>>> > but only the BedGraphParser.d was generated in the PeakSplitter_v1 folder.
>>> > My Mac is Mac OS X10.6.8. (32 bit)
>>> > Could you give your advice to solve the problem?
>>> > Best,
>>> > Yuuki
>>> > On 11/12/12 15:06, "mali salmon" <shalm...@gmail.com> wrote:
>>> > Hi Xiaovang
>>> > Please open the file BedGraphParser.h, ?and replace line 12 "wigPosition*
>>> > BedGraphParser::nextPosition();"
>>> > with? "wigPosition* nextPosition();" ?(so actually just remove the
>>> > BedGraphParser:: ?from that line)
>>> > Then re-compile and let me know how it goes
>>> > Thanks
>>> > Mali
>>> > On Sun, Dec 11, 2011 at 5:40 PM, Xiaoyang Zhang <xyzxiaoy...@gmail.com>
>>> > wrote:
>>> > Hi Mali,
>>> > Thanks for your help!
>>> > The SFL problem seems solved now! But some errors come out when it comes
>>> to
>>> > the last step (PeakSplitter_v1):
>>> > kiel-telesfords-macbook-pro:PeakSplitter_v1 XiaoyangZhang$ make
>>> > Building file: SplitPeaks/BedGraphParser.cpp
>>> > Invoking: GCC C++ Compiler
>>> > g++ -D__UNIX__ -I./SplitPeaks -I./SFL -I./Zlib -O3 -Wall -c
>>> > -fmessage-length=0 -MMD -MP -MF"BedGraphParser.d" -MT"BedGraphParser.d"
>>> > -o"BedGraphParser.o" "SplitPeaks/BedGraphParser.cpp"
>>> > In file included from SplitPeaks/BedGraphParser.h:2,
>>> > ???????????????? from SplitPeaks/BedGraphParser.cpp:1:
>>> > SplitPeaks/Shared.h:3:1: warning: "__UNIX__" redefined
>>> > <command-line>: warning: this is the location of the previous definition
>>> > In file included from /usr/include/c++/4.2.1/backward/iostream.h:31,
>>> > ???????????????? from ./SFL/sfl.h:236,
>>> > ???????????????? from SplitPeaks/Shared.h:17,
>>> > ???????????????? from SplitPeaks/BedGraphParser.h:2,
>>> > ???????????????? from SplitPeaks/BedGraphParser.cpp:1:
>>> > /usr/include/c++/4.2.1/backward/backward_warning.h:32:2: warning: #warning
>>> > This file includes at least one deprecated or antiquated header. Please
>>> > consider using one of the 32 headers found in section 17.4.1.2 of the C++
>>> > standard. Examples include substituting the <X> header for the <X.h>
>>> header
>>> > for C++ includes, or <iostream> instead of the deprecated header
>>> > <iostream.h>. To disable this warning use -Wno-deprecated.
>>> > In file included from SplitPeaks/BedGraphParser.cpp:1:
>>> > SplitPeaks/BedGraphParser.h:12: error: extra qualification
>>> > ‘BedGraphParser::’ on member ‘nextPosition’
>>> > make: *** [BedGraphParser.o] Error 1
>>> > Thanks again for your help!
>>> > - Xiaoyang
>>> > Hi Xiaoyang
>>> > Sorry for the late reply.
>>> > I suppose you have Mac OS, unfortunately, SFL doesn't support Mac OS and
>>> > hence the problems with different Mac versions.
>>> > I added some lines in the code forcing the compiler to think your machine
>>> is
>>> > 64 bit.
>>> > Please replace the "sfl.h, prelude.h and sflprint.h"? files under SFL
>>> folder
>>> > with the attached files, then try to re-compile (go to SFL/Release folder,
>>> > type "make clean", then run "make")
>>> > Please tell me if this solved the problem
>>> > Thanks
>>> > Mali
>>> > On Fri, Dec 9, 2011 at 11:37 PM, Xiaoyang <xyzxiaoy...@gmail.com> wrote:
>>> > Hi all,
>>> > I am installing PeakSplitter_Cpp_1.0 but after the first step I got
>>> > errors below:
>>> > Xiaoyang-Zhangs-MacBook-Pro:PeakSplitter_MacOS XiaoyangZhang$ cd /
>>> > Applications/PeakSplitter_Cpp/PeakSplitter_MacOS/PeakSplitter_v1/SFL/
>>> > Release
>>> > Xiaoyang-Zhangs-MacBook-Pro:Release XiaoyangZhang$ make
>>> > Building file: ../sflbits.c
>>> > Invoking: GCC C Compiler
>>> > gcc -D__UNIX__ -O3 -Wall -c -fmessage-length=0 -MMD -MP -MF"sflbits.d"
>>> > -MT"sflbits.d" -o"sflbits.o" "../sflbits.c"
>>> > In file included from ../sflbits.c:16:
>>> > ../prelude.h:401:9: error: #error "Cannot compile: must change
>>> > definition of 'qbyte'."
>>> > make: *** [sflbits.o] Error 1
>>> > Could you please take a look at it and help me out?
>>> > Thanks,
>>> > - Xiaoyang
>>> > --
>>> > You received this message because you are subscribed to the Google Groups
>>> > "MACS announcement" group.
>>> > To post to this group, send email to macs-announcement@googlegroups.com.
>>> > To unsubscribe from this group, send email to
>>> > macs-announcement+unsubscribe@googlegroups.com
>>> <mailto:macs-announcement%2Bunsubscribe@googlegroups.com>
>>> > <mailto:macs-announcement%2Bunsubscribe@googlegroups.com
>>> <mailto:macs-announcement%252Bunsubscribe@googlegroups.com> > .
>>> > --
>>> > You received this message because you are subscribed to the Google Groups
>>> > "MACS announcement" group.
>>> > To post to this group, send email to macs-announcement@googlegroups.com.
>>> > To unsubscribe from this group, send email to
>>> > macs-announcement+unsubscribe@googlegroups.com
>>> <mailto:macs-announcement%2Bunsubscribe@googlegroups.com> .
>>> > For more options, visit this group at
>>> > http://groups.google.com/group/macs-announcement?hl=en.
>> --
>> You received this message because you are subscribed to the Google Groups
>> "MACS announcement" group.
>> To post to this group, send email to macs-announcement@googlegroups.com.
>> To unsubscribe from this group, send email to
>> macs-announcement+unsubscribe@googlegroups.com
>> <mailto:macs-announcement%2Bunsubscribe@googlegroups.com> .
>> For more options, visit this group at
>> http://groups.google.com/group/macs-announcement?hl=en.
I found that an executable file named "PeakSplitter" was generated in the
folder.
Then, type ./peaksplitter in the command line, but there was a “PARSE ERROR”
as below,
imai-hiroshiki-no-iMac:MACS14 Yuuki$ ./peaksplitter
PARSE ERROR:
One or more required arguments missing!
> I found BedGraphParser.h file in the SplitPeaks folder and removed
> “BedGraphParser::” from line 12.
> Then, now it works!
> Thank you for your kind help. Sorry for bothering you.
> Best,
> Yuuki
> On 12/09/02 10:46, "Yuuki Imai" <yi...@iam.u-tokyo.ac.jp> wrote:
>> Hi Mali,
>> Thank you for your reply.
>> I could not find?BedGraphParser.h file?in the?PeakSplitter_v1 folder.?
>> So I did not removed it.
>> Thanks,
>> Yuuki
>> 2012/9/2 mali salmon <shalm...@gmail.com>
>>> Hi Yuuki
>>> So you actually removed the "BedGraphParser::" from "wigPosition*
>>> BedGraphParser::nextPosition();" ?line in BedGraphParser.h file right?
>>> Have you changes anything else? Did you get any error?
>>> Thanks
>>> Mali
>>> On Fri, Aug 31, 2012 at 9:50 AM, Yuuki Imai <yi...@iam.u-tokyo.ac.jp> wrote:
>>>> > Hi Mali,
>>>> > I also have same problem for installing PeakSplitter as below,
>>>> > Building file: SplitPeaks/BedGraphParser.cpp
>>>> > Invoking: GCC C++ Compiler
>>>> > g++ -D__UNIX__ -I./SplitPeaks -I./SFL -I./Zlib -O3 -Wall -c
>>>> > -fmessage-length=0 -MMD -MP -MF"BedGraphParser.d" -MT"BedGraphParser.d"
>>>> > -o"BedGraphParser.o" "SplitPeaks/BedGraphParser.cpp"
>>>> > In file included from SplitPeaks/BedGraphParser.h:2,
>>>> > ? ? ? ? ? ? ? ? ?from SplitPeaks/BedGraphParser.cpp:1:
>>>> > SplitPeaks/Shared.h:3:1: warning: "__UNIX__" redefined
>>>> > <command-line>: warning: this is the location of the previous definition
>>>> > In file included from SplitPeaks/BedGraphParser.cpp:1:
>>>> > SplitPeaks/BedGraphParser.h:12: error: extra qualification
>>>> > ‘BedGraphParser::’ on member ‘nextPosition’
>>>> > make: *** [BedGraphParser.o] Error 1
>>>> > I tried to solve the problem according to your comments for Xiaoyang as
>>>> > below,
>>>> > but only the BedGraphParser.d was generated in the PeakSplitter_v1
>>>> folder.
>>>> > My Mac is Mac OS X10.6.8. (32 bit)
>>>> > Could you give your advice to solve the problem?
>>>> > Best,
>>>> > Yuuki
>>>> > On 11/12/12 15:06, "mali salmon" <shalm...@gmail.com> wrote:
>>>> > Hi Xiaovang
>>>> > Please open the file BedGraphParser.h, ?and replace line 12 "wigPosition*
>>>> > BedGraphParser::nextPosition();"
>>>> > with? "wigPosition* nextPosition();" ?(so actually just remove the
>>>> > BedGraphParser:: ?from that line)
>>>> > Then re-compile and let me know how it goes
>>>> > Thanks
>>>> > Mali
>>>> > On Sun, Dec 11, 2011 at 5:40 PM, Xiaoyang Zhang <xyzxiaoy...@gmail.com>
>>>> > wrote:
>>>> > Hi Mali,
>>>> > Thanks for your help!
>>>> > The SFL problem seems solved now! But some errors come out when it comes
>>>> to
>>>> > the last step (PeakSplitter_v1):
>>>> > kiel-telesfords-macbook-pro:PeakSplitter_v1 XiaoyangZhang$ make
>>>> > Building file: SplitPeaks/BedGraphParser.cpp
>>>> > Invoking: GCC C++ Compiler
>>>> > g++ -D__UNIX__ -I./SplitPeaks -I./SFL -I./Zlib -O3 -Wall -c
>>>> > -fmessage-length=0 -MMD -MP -MF"BedGraphParser.d" -MT"BedGraphParser.d"
>>>> > -o"BedGraphParser.o" "SplitPeaks/BedGraphParser.cpp"
>>>> > In file included from SplitPeaks/BedGraphParser.h:2,
>>>> > ???????????????? from SplitPeaks/BedGraphParser.cpp:1:
>>>> > SplitPeaks/Shared.h:3:1: warning: "__UNIX__" redefined
>>>> > <command-line>: warning: this is the location of the previous definition
>>>> > In file included from /usr/include/c++/4.2.1/backward/iostream.h:31,
>>>> > ???????????????? from ./SFL/sfl.h:236,
>>>> > ???????????????? from SplitPeaks/Shared.h:17,
>>>> > ???????????????? from SplitPeaks/BedGraphParser.h:2,
>>>> > ???????????????? from SplitPeaks/BedGraphParser.cpp:1:
>>>> > /usr/include/c++/4.2.1/backward/backward_warning.h:32:2: warning:
>>>> #warning
>>>> > This file includes at least one deprecated or antiquated header. Please
>>>> > consider using one of the 32 headers found in section 17.4.1.2 of the C++
>>>> > standard. Examples include substituting the <X> header for the <X.h>
>>>> header
>>>> > for C++ includes, or <iostream> instead of the deprecated header
>>>> > <iostream.h>. To disable this warning use -Wno-deprecated.
>>>> > In file included from SplitPeaks/BedGraphParser.cpp:1:
>>>> > SplitPeaks/BedGraphParser.h:12: error: extra qualification
>>>> > ‘BedGraphParser::’ on member ‘nextPosition’
>>>> > make: *** [BedGraphParser.o] Error 1
>>>> > Thanks again for your help!
>>>> > - Xiaoyang
>>>> > 2011/12/11 mali salmon <shalm...@gmail.com>
>>>> > Hi Xiaoyang
>>>> > Sorry for the late reply.
>>>> > I suppose you have Mac OS, unfortunately, SFL doesn't support Mac OS and
>>>> > hence the problems with different Mac versions.
>>>> > I added some lines in the code forcing the compiler to think your machine
>>>> is
>>>> > 64 bit.
>>>> > Please replace the "sfl.h, prelude.h and sflprint.h"? files under SFL
>>>> folder
>>>> > with the attached files, then try to re-compile (go to SFL/Release
>>>> folder,
>>>> > type "make clean", then run "make")
>>>> > Please tell me if this solved the problem
>>>> > Thanks
>>>> > Mali
>>>> > On Fri, Dec 9, 2011 at 11:37 PM, Xiaoyang <xyzxiaoy...@gmail.com> wrote:
>>>> > Hi all,
>>>> > I am installing PeakSplitter_Cpp_1.0 but after the first step I got
>>>> > errors below:
>>>> > Xiaoyang-Zhangs-MacBook-Pro:PeakSplitter_MacOS XiaoyangZhang$ cd /
>>>> > Applications/PeakSplitter_Cpp/PeakSplitter_MacOS/PeakSplitter_v1/SFL/
>>>> > Release
>>>> > Xiaoyang-Zhangs-MacBook-Pro:Release XiaoyangZhang$ make
>>>> > Building file: ../sflbits.c
>>>> > Invoking: GCC C Compiler
>>>> > gcc -D__UNIX__ -O3 -Wall -c -fmessage-length=0 -MMD -MP -MF"sflbits.d"
>>>> > -MT"sflbits.d" -o"sflbits.o" "../sflbits.c"
>>>> > In file included from ../sflbits.c:16:
>>>> > ../prelude.h:401:9: error: #error "Cannot compile: must change
>>>> > definition of 'qbyte'."
>>>> > make: *** [sflbits.o] Error 1
>>>> > Could you please take a look at it and help me out?
>>>> > Thanks,
>>>> > - Xiaoyang
>>>> > --
>>>> > You received this message because you are subscribed to the Google Groups
>>>> > "MACS announcement" group.
>>>> > To post to this group, send email to macs-announcement@googlegroups.com.
>>>> > To unsubscribe from this group, send email to
>>>> > macs-announcement+unsubscribe@googlegroups.com
>>>> <mailto:macs-announcement%2Bunsubscribe@googlegroups.com>
>>>> > <mailto:macs-announcement%2Bunsubscribe@googlegroups.com
>>>> <mailto:macs-announcement%252Bunsubscribe@googlegroups.com> > .
>>>> > --
>>>> > You received this message because you are subscribed to the Google Groups
>>>> > "MACS announcement" group.
>>>> > To post to this group, send email to macs-announcement@googlegroups.com.
>>>> > To unsubscribe from this group, send email to
>>>> > macs-announcement+unsubscribe@googlegroups.com
>>>> <mailto:macs-announcement%2Bunsubscribe@googlegroups.com> .
>>>> > For more options, visit this group at
>>>> > http://groups.google.com/group/macs-announcement?hl=en.
>>> --
>>> You received this message because you are subscribed to the Google Groups
>>> "MACS announcement" group.
>>> To post to this group, send email to macs-announcement@googlegroups.com.
>>> To unsubscribe from this group, send email to
>>> macs-announcement+unsubscribe@googlegroups.com
>>> <mailto:macs-announcement%2Bunsubscribe@googlegroups.com> .
>>> For more options, visit this group at
>>> http://groups.google.com/group/macs-announcement?hl=en.
Hi Antonio,
I met the same problem with you when installing the PeakSplitter on Ubuntu 12.10. So could you tell me how to solve it? Appreciated very much.
Jancho
在 2012年8月13日星期一UTC+8下午11时52分50秒,António Miguel de Jesus Domingues写道:
> I am also struggling with the PeakSplitter instalation but in Ubuntu > 11.04. Compiling the libraries SFL and zlib went well but compiling > peaksplitter gave this error:
> Building file: SplitPeaks/BedGraphParser.cpp
> Invoking: GCC C++ Compiler
> g++ -D__UNIX__ -D__64BIT__ -I./SplitPeaks -I./SFL -I./Zlib -O3 -Wall -c > -fmessage-length=0 -MMD -MP -MF"BedGraphParser.d" -MT"BedGraphParser.d" > -o"BedGraphParser.o" "SplitPeaks/BedGraphParser.cpp"
> In file included from SplitPeaks/Shared.h:17:0,
> from SplitPeaks/BedGraphParser.h:2,
> from SplitPeaks/BedGraphParser.cpp:1:
> ./SFL/sfl.h:192:0: warning: "__NO_CTYPE" redefined
> /usr/include/c++/4.5/x86_64-linux-gnu/bits/os_defines.h:37:0: note: this > is the location of the previous definition
> ./SFL/sfl.h:236:80: fatal error: iostream.h: No such file or directory
> compilation terminated.
> make: *** [BedGraphParser.o] Error 1
> I am also struggling with the PeakSplitter instalation but in Ubuntu > 11.04. Compiling the libraries SFL and zlib went well but compiling > peaksplitter gave this error:
> Building file: SplitPeaks/BedGraphParser.cpp
> Invoking: GCC C++ Compiler
> g++ -D__UNIX__ -D__64BIT__ -I./SplitPeaks -I./SFL -I./Zlib -O3 -Wall -c > -fmessage-length=0 -MMD -MP -MF"BedGraphParser.d" -MT"BedGraphParser.d" > -o"BedGraphParser.o" "SplitPeaks/BedGraphParser.cpp"
> In file included from SplitPeaks/Shared.h:17:0,
> from SplitPeaks/BedGraphParser.h:2,
> from SplitPeaks/BedGraphParser.cpp:1:
> ./SFL/sfl.h:192:0: warning: "__NO_CTYPE" redefined
> /usr/include/c++/4.5/x86_64-linux-gnu/bits/os_defines.h:37:0: note: this > is the location of the previous definition
> ./SFL/sfl.h:236:80: fatal error: iostream.h: No such file or directory
> compilation terminated.
> make: *** [BedGraphParser.o] Error 1
> Hi, Antonio,
> Have u solved the problem. I also met the same one. So could u > tell me how to solve it?
> Jancho
> 在 2012年8月13日星期一UTC+8下午11时52分50秒,António Miguel de Jesus > Domingues写道:
> Hi Mali,
> I am also struggling with the PeakSplitter instalation but in
> Ubuntu 11.04. Compiling the libraries SFL and zlib went well but
> compiling peaksplitter gave this error:
> Building file: SplitPeaks/BedGraphParser.cpp
> Invoking: GCC C++ Compiler
> g++ -D__UNIX__ -D__64BIT__ -I./SplitPeaks -I./SFL -I./Zlib -O3
> -Wall -c -fmessage-length=0 -MMD -MP -MF"BedGraphParser.d"
> -MT"BedGraphParser.d" -o"BedGraphParser.o"
> "SplitPeaks/BedGraphParser.cpp"
> In file included from SplitPeaks/Shared.h:17:0,
> from SplitPeaks/BedGraphParser.h:2,
> from SplitPeaks/BedGraphParser.cpp:1:
> ./SFL/sfl.h:192:0: warning: "__NO_CTYPE" redefined
> /usr/include/c++/4.5/x86_64-linux-gnu/bits/os_defines.h:37:0:
> note: this is the location of the previous definition
> ./SFL/sfl.h:236:80: fatal error: iostream.h: No such file or directory
> compilation terminated.
> make: *** [BedGraphParser.o] Error 1
> Do you know how to solve this?
> Cheers,
> António
> -- > You received this message because you are subscribed to the Google > Groups "MACS announcement" group.
> To view this discussion on the web visit > https://groups.google.com/d/msg/macs-announcement/-/vurop5e6J5oJ.
> To post to this group, send email to macs-announcement@googlegroups.com.
> To unsubscribe from this group, send email to > macs-announcement+unsubscribe@googlegroups.com.
> For more options, visit this group at > http://groups.google.com/group/macs-announcement?hl=en.
-- ---------------------------------------------------------------------
António Miguel de Jesus Domingues, PhD
Neugebauer group
Max Planck Institute of Molecular Cell Biology and Genetics
Pfotenhauerstrasse 108
01307 Dresden
Germany