[moved to stan-dev]
On 10/7/13 6:58 PM, Jiqiang Guo wrote:
After reinstalling the mac os and xcode, I cannot build bin/stanc now.
You mean from latest develop branch?
The error message is:
= expression07_r(_r1) [_val = _1]
^
lib/boost_1.54.0/boost/fusion/view/transform_view/detail/value_of_impl.hpp:32:32: note: use -ftemplate-depth=N to
increase recursive template
instantiation depth
result_of::value_of<typename Iterator::first_type>::type
You could boost the template depth, but we don't want users to have
to do that to install.
I can probably rejigger the parser again to cut down on
depth.
What I don't understand is why you're having problems
My g++ version is:
$ g++ -v
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 5.0 (clang-500.2.76) (based on LLVM 3.3svn)
Target: x86_64-apple-darwin12.5.0
Thread model: posix
Where did you get that? I thought I was running latest Xcode, but
when I fired XCode up to check, it asked me to click through a license
and then it installed. And now it says this:
|
~$ g++ -v
Target: i686-apple-darwin11
Configured with: /private/var/tmp/llvmgcc42/llvmgcc42-2336.11~67/src/configure --disable-checking --enable-werror --prefix=/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2 --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-prefix=llvm- --program-transform-name=/^[cg][^.-]*$/s/$/-4.2/ --with-slibdir=/usr/lib --build=i686-apple-darwin11 --enable-llvm=/private/var/tmp/llvmgcc42/llvmgcc42-2336.11~67/dst-llvmCore/Developer/usr/local --program-prefix=i686-apple-darwin11- --host=x86_64-apple-darwin11 --target=i686-apple-darwin11 --with-gxx-include-dir=/usr/include/c++/4.2.1
Thread model: posix
gcc version 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.11.00)
|
With my g++, building with:
|
$ make CC=g++ O=3 bin/stanc
|
works just fine. Takes forever, but it works.
Where did you get your version?
What are you using, Daniel? And we're not having issues building bin/stanc
on Windows are we?
Also, bin/stanc doesn't need to be built with -O3.
- Bob
--
You received this message because you are subscribed to the Google Groups "stan development mailing list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to stan-dev+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
I don't think we can build with g++-4.2. I think that's true cross-platform. It doesn't support some part of the templating we use (I can't remember off the top of my head which features were added in 4.3).
I think Bob and I installed our versions using MacPorts.
--
You received this message because you are subscribed to the Google Groups "stan development mailing list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to stan-dev+u...@googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "stan development mailing list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to stan-dev+unsubscribe@googlegroups.com.