[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[sc-dev] building and Image



hi list

I'm working in 3.5 using Cocoa on my main project atm. but I'm thinking of moving to 3.6 with Qt.

Simple image code does not seem to work in my version of 3.6, such as this from the Image help file:

(
j = Image.new(400,300);
j.lockFocus;
Pen.translate(100, 100);
1000.do{
	Pen.color = Color.green(rrand(0.0, 1), rrand(0.0, 0.5));
	Pen.addAnnularWedge(
		(100.rand)@(100.rand),
		rrand(10, 50),
		rrand(51, 100), 
		2pi.rand,
		2pi.rand
		);
	Pen.perform([\stroke, \fill].choose);
};
j.unlockFocus;
)

Does the above code work for you on 3.6?


So I downloaded the latest source and tried to build. I'm getting this:
 
thors-MacBook-Pro:build thor$ make install
Scanning dependencies of target boost_system
[  0%] Building CXX object external_libraries/CMakeFiles/boost_system.dir/boost/libs/system/src/error_code.cpp.o
cc1plus: error: unrecognized command line option "-std=c++11"
make[2]: *** [external_libraries/CMakeFiles/boost_system.dir/boost/libs/system/src/error_code.cpp.o] Error 1
make[1]: *** [external_libraries/CMakeFiles/boost_system.dir/all] Error 2
make: *** [all] Error 2
thors-MacBook-Pro:build thor$ 


what's up here? Do I need to disable c++11 ? (I'm on OSX 10.6.8)


thor


_______________________________________________
sc-dev mailing list

info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
archive: https://listarc.bham.ac.uk/marchives/sc-dev/
search: https://listarc.bham.ac.uk/lists/sc-dev/search/