Talk about building the software from source code, and any issues related.
	Moderator:  jesse 
			
		
		
			
				
																			
								f0m3 							 
									
		Posts:  20 		Joined:  Tue Nov 03, 2009 3:31 am 		
		
						
						
		 
		
						
					
													
							
						
									
						Post 
					 
								by f0m3   »  Thu Jan 09, 2014 1:40 pm 
			
			
			
			
			I am not a programming expert. Any ideas?
Code: Select all 
Making all in pbd
/Applications/Xcode.app/Contents/Developer/usr/bin/make  all-recursive
Making all in pbd
make[5]: Nothing to be done for `all'.
g++ -DHAVE_CONFIG_H -I.     -D_REENTRANT -Os -fomit-frame-pointer -mmmx -msse -mfpmath=sse -pipe -Wall -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I/Users/mohr/.Trash/sooperlooper-1.7.0/libs/pbd -I/Users/mohr/.Trash/sooperlooper-1.7.0/libs/midi++ -I/usr/include/libxml2  -I/usr/local/lib/sigc++-1.2/include -I/usr/local/include/sigc++-1.2  -MT pathscanner.o -MD -MP -MF .deps/pathscanner.Tpo -c -o pathscanner.o pathscanner.cc
clang: warning: argument unused during compilation: '-mfpmath=sse'
pathscanner.cc:172:2: error: use of undeclared identifier 'vector_delete'
        vector_delete (res);
        ^
pathscanner.cc:199:2: error: use of undeclared identifier 'vector_delete'
        vector_delete (res);
        ^
2 errors generated.
make[5]: *** [pathscanner.o] Error 1
make[4]: *** [all-recursive] Error 1
make[3]: *** [all] Error 2
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
 
			
			
									
						
										
						 
		 
				
		
		 
	 
				
		
		
			
				
																			
								kasbah 							 
									
		Posts:  117 		Joined:  Tue Sep 06, 2011 7:01 pm 		
		
						
						
		 
		
						
					
													
							
						
									
						Post 
					 
								by kasbah   »  Mon Jan 20, 2014 4:50 pm 
			
			
			
			
			Hmm, possibly a GCC compatibility issue? Could you try with GCC? I know there is also some compatibility layer for LLVM/Clang. I am not sure how Jesse has been compiling for OSX in the past though.
			
			
									
						
										
						 
		 
				
		
		 
	 
				
		
		
			
				
																			
								f0m3 							 
									
		Posts:  20 		Joined:  Tue Nov 03, 2009 3:31 am 		
		
						
						
		 
		
						
					
													
							
						
									
						Post 
					 
								by f0m3   »  Tue Feb 04, 2014 3:02 pm 
			
			
			
			
			Ich changed all "g++" to "gcc" in the "Makefile". Is that right? 
It produced the same error.
			
			
									
						
										
						 
		 
				
		
		 
	 
				
		
		
			
				
																			
								kasbah 							 
									
		Posts:  117 		Joined:  Tue Sep 06, 2011 7:01 pm 		
		
						
						
		 
		
						
					
													
							
						
									
						Post 
					 
								by kasbah   »  Tue Feb 04, 2014 4:26 pm 
			
			
			
			
			No, sorry g++ was right. I thought XCode would use clang by default. Are you just using the makefile and doing `./configure` and `make`?
			
			
									
						
										
						 
		 
				
		
		 
	 
				
		
		
			
				
																			
								jesse 							 
									
		Posts:  554 		Joined:  Sat Sep 06, 2008 9:46 am 		
		
											
							
				Contact: 
				
			 
				
		 
		
						
					
													
							
						
									
						Post 
					 
								by jesse   »  Wed Feb 05, 2014 1:16 am 
			
			
			
			
			What OSX version, Xcode ,and g++ version are you using?  Do a 'g++ --version' and post it...   
 
There are a lot of dependencies to get properly built and installed, but none of those should cause the error you are seeing...
			
			
									
						
										
						 
		 
				
		
		 
	 
				
		
		
			
				
																			
								f0m3 							 
									
		Posts:  20 		Joined:  Tue Nov 03, 2009 3:31 am 		
		
						
						
		 
		
						
					
													
							
						
									
						Post 
					 
								by f0m3   »  Wed Feb 05, 2014 1:48 pm 
			
			
			
			
			1. yes, i did ./configure and make
2. OSX 10.9.1
XCode: 5.0.2
g++ --version: 
Code: Select all 
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.79) (based on LLVM 3.3svn)
Target: x86_64-apple-darwin13.0.0
Thread model: posix 
			
			
									
						
										
						 
		 
				
		
		 
	 
				
		
		
			
				
																			
								jesse 							 
									
		Posts:  554 		Joined:  Sat Sep 06, 2008 9:46 am 		
		
											
							
				Contact: 
				
			 
				
		 
		
						
					
													
							
						
									
						Post 
					 
								by jesse   »  Thu Feb 06, 2014 5:48 pm 
			
			
			
			
			If you *really* want to proceed, please grab the latest git from:
   https://github.com/essej/sooperlooper 
I fixed that issue (which turned out to only happen on mavericks because the compiler defaults to use libc++ instead of libstdc++). 
But, there were lots of other things I had to do to get a suitable build on OSX, and I just upgraded to Mavericks.  I just released a distribution build of 1.7.1 which includes a 64 bit AU, perhaps you just want to grab that?
http://essej.net/sooperlooper/SooperLooper-1.7.1.dmg