|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Hello,
Having compiled the version 3.6 on Mac OS X 10.7.5, I try to compile the version
3.7.
Information :
Processeur 2,3 GHz Intel Core i5
Graphisme Intel HD Graphics 3000 384 MB
Logiciel Mac OS X Lion 10.7.5 (11G63)
gcc -v
Using built-in specs.
Target: i686-apple-darwin11
...
Thread model: posix
gcc version 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.15.00)
I use tools from Mac Ports.
You have to specify some options for "configure".
.../configure COMPILED_BY="test [at] testcom" CXX=g++ CXXCPP="g++ -E"
LDFLAGS='-L/opt/local/lib -lboost_system-mt'
I ran on a strange error message while running "make".
g++ -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../source -I../../source
-I../../source/base -I../../unix -I../../vfe -I../../vfe/unix
-I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -D_THREAD_SAFE
-I/opt/local/include/OpenEXR -pthread -I/opt/local/include -I/usr/include
-pipe -Wno-multichar -Wno-write-strings -fno-enforce-eh-specs -s -O3 -ffast-math
-D_THREAD_SAFE -MT boundingtask.o -MD -MP -MF .deps/boundingtask.Tpo -c -o
boundingtask.o `test -f 'bounding/boundingtask.cpp' || echo
'./'`bounding/boundingtask.cpp
In file included from ../../source/backend/support/taskqueue.h:100,
from ../../source/backend/scene/view.h:101,
from ../../source/backend/bounding/boundingtask.h:102,
from bounding/boundingtask.cpp:102:
..../../source/backend/support/task.h:187: error: thread-local storage not
supported for this target
Any idea ?
Bets regards,
Denis
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
The following information does not solve the problem, but it may help.
GNU Pthread is not installed on Mac OS X, by default.
To install it, the name of the Port's package is "pth".
sudo port install pth
Now, you have to modify the configure script of POVRAY, if you want it to detect
GNU Pthread.
Line 6858: Add the tags "pth" and '-pth"
acx_pthread_flags="pth -lpth pthreads none -Kthread -kthread lthread -pthread
-pthreads -mthreads pthread --thread-safe -mt pthread-config"
Best regards,
Denis
NOTE:
MacBook-Pro-de-Denis:povray-3.7.0.RC6 denisbeurive$ machine
i486
MacBook-Pro-de-Denis:povray-3.7.0.RC6 denisbeurive$ sw_vers
ProductName: Mac OS X
ProductVersion: 10.7.5
BuildVersion: 11G63
gcc -v
....
Target: i686-apple-darwin11
....
Thread model: posix
gcc version 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.15.00)
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Update:
I may have a starting point to find a solution :
http://trac.macports.org/ticket/36940
and
http://news.povray.org/povray.beta-test/thread/%3Cweb.4d091fcd62af24a47800993b0@news.povray.org%3E/
I'll try later,
Regards,
Denis
For memory:
find . -type f -name "*.h" -exec grep -H 'DECLARE_THREAD_LOCAL_PTR' {} \;
http://developer.apple.com/library/mac/#documentation/DeveloperTools/gcc-4.2.1/gcc/Thread_002dLocal.html
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
"denis.beurive" <den### [at] gmailcom> wrote:
> Update:
>
> I may have a starting point to find a solution :
>
> http://trac.macports.org/ticket/36940
>
> and
>
>
http://news.povray.org/povray.beta-test/thread/%3Cweb.4d091fcd62af24a47800993b0@news.povray.org%3E/
>
> I'll try later,
>
> Regards,
>
> Denis
>
> For memory:
>
> find . -type f -name "*.h" -exec grep -H 'DECLARE_THREAD_LOCAL_PTR' {} \;
>
http://developer.apple.com/library/mac/#documentation/DeveloperTools/gcc-4.2.1/gcc/Thread_002dLocal.html
OK, it's done.
I gave all details in the section "beta tests".
Regards,
Denis
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |