Having trouble building *this* project for GLFW

Monkey Targets Forums/iOS/Having trouble building *this* project for GLFW

Big Jim(Posted 2011) [#1]
I can build my project for GLFW on my PC with no problems. But when I try to build the same project on my mac I get the following errors. Now keep in mind. I can build other GLFW apps on the same mac with no problem.

/Users/macbookpro/Desktop/FlipBookGames/trunk/Asteroids v 2.00.00/Asteroids/AsteroidsMain.build/glfw/xcode/../main.cpp:2152:8:{2152:9-2152:15}: error: assigning to 'void (*)()' from incompatible type 'int ()' [3]
         runner=RunApp;
               ^~~~~~~
/Users/macbookpro/Desktop/FlipBookGames/trunk/Asteroids v 2.00.00/Asteroids/AsteroidsMain.build/glfw/xcode/../main.cpp:5508:11:{5508:10-5508:35}: warning: using the result of an assignment as a condition without parentheses [-Wparentheses,3]
                 while( n=fread( buf,1,32768,fp ) ){
                        ~^~~~~~~~~~~~~~~~~~~~~~~~
/Users/macbookpro/Desktop/FlipBookGames/trunk/Asteroids v 2.00.00/Asteroids/AsteroidsMain.build/glfw/xcode/../main.cpp:5508:11: note: place parentheses around the assignment to silence this warning [3]
                 while( n=fread( buf,1,32768,fp ) ){
                         ^
                        (                        )
fix-it:"/Users/macbookpro/Desktop/FlipBookGames/trunk/Asteroids v 2.00.00/Asteroids/AsteroidsMain.build/glfw/xcode/../main.cpp":{5508:10-5508:10}:"("
fix-it:"/Users/macbookpro/Desktop/FlipBookGames/trunk/Asteroids v 2.00.00/Asteroids/AsteroidsMain.build/glfw/xcode/../main.cpp":{5508:35-5508:35}:")"
/Users/macbookpro/Desktop/FlipBookGames/trunk/Asteroids v 2.00.00/Asteroids/AsteroidsMain.build/glfw/xcode/../main.cpp:5508:11: note: use '==' to turn this assignment into an equality comparison [3]
                 while( n=fread( buf,1,32768,fp ) ){
                         ^
                         ==
fix-it:"/Users/macbookpro/Desktop/FlipBookGames/trunk/Asteroids v 2.00.00/Asteroids/AsteroidsMain.build/glfw/xcode/../main.cpp":{5508:11-5508:12}:"=="
1 warning and 1 error generated.


TRANS Failed to execute 'xcodebuild -configuration Release', return code=16640
** BUILD FAILED **
The following build commands failed:
	CompileC build/MonkeyGame.build/Release/MonkeyGame.build/Objects-normal/x86_64/main.o ../main.cpp normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)


The same app builds for ios on the mac without incident.


Big Jim(Posted 2011) [#2]
bump...


Beaker(Posted 2011) [#3]
Looks like a monkey bug to me. Maybe post in the bug forum.