New to mac and somewhat new to linux and root as well.
Trying to install root on my new iMac
I downloaded the source and configured everything and ran the make file and what not.
also included env vars to bash_profile
root opens up and macro scripts seem to run fine
my problem is when I try and compile cpp code
[quote]g++ -c -D_REENTRANT -pthread -m64 -I/Users/jared/Library/root/include analyze.cpp
g++ -o -L/Users/jared/Library/root/lib -lCore -lCint -lRIO -lNet -lHist -lGraf -lGraf3d -lGpad -lTree -lRint -lPostscript -lMatrix -lPhysics -lMathCore -lThread -lGui -pthread -Wl,-rpath,/Users/jared/Library/root/lib -lm -ldl analyze analyze.o[/quote]
running the g++ -o … gives me this error
ld: warning: in analyze, file was built for unsupported file format which is not the architecture being linked (x86_64)
ld: can’t open output file for writing: -L/Users/jared/Library/root/lib, errno=2
collect2: ld returned 1 exit status[/quote]
Can anyone please lend me a hand?