Created
October 19, 2018 20:05
-
-
Save equal-l2/0d1f591726bb2c90ab697f7358fce292 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
file /private/tmp/wesnoth-20181020-92073-1ysuepp/wesnoth-1.14.5/SConstruct,line 331: | |
Configure(confdir = build/sconf_temp) | |
scons: Configure: Checking for C library m... | |
build/sconf_temp/conftest_0.c <- | |
| | |
| | |
| | |
|int | |
|main() { | |
| | |
|return 0; | |
|} | |
| | |
gcc -o build/sconf_temp/conftest_0.o -c -Wall -Wextra -Werror=non-virtual-dtor build/sconf_temp/conftest_0.c | |
gcc -o build/sconf_temp/conftest_0 build/sconf_temp/conftest_0.o -lm | |
scons: Configure: yes | |
scons: Configure: Checking for C function round()... | |
build/sconf_temp/conftest_1.c <- | |
| | |
| | |
|#include <assert.h> | |
| | |
|#ifdef __cplusplus | |
|extern "C" | |
|#endif | |
|char round(); | |
| | |
|int main() { | |
|#if defined (__stub_round) || defined (__stub___round) | |
| fail fail fail | |
|#else | |
| round(); | |
|#endif | |
| | |
| return 0; | |
|} | |
| | |
gcc -o build/sconf_temp/conftest_1.o -c -Wall -Wextra -Werror=non-virtual-dtor build/sconf_temp/conftest_1.c | |
build/sconf_temp/conftest_1.c:8:6: warning: incompatible redeclaration of library function 'round' [-Wincompatible-library-redeclaration] | |
char round(); | |
^ | |
build/sconf_temp/conftest_1.c:8:6: note: 'round' is a builtin with type 'double (double)' | |
1 warning generated. | |
gcc -o build/sconf_temp/conftest_1 build/sconf_temp/conftest_1.o -lm | |
scons: Configure: yes | |
scons: Configure: Checking whether C++ compiler works (g++ version >= 4.8 required)... | |
build/sconf_temp/conftest_2.cpp <- | |
| | |
| #include <iostream> | |
| int main() | |
| { | |
| std::cout << "Hello, world\n"; | |
| } | |
| | |
| #ifndef __clang__ | |
| | |
| #define GCC_VERSION (__GNUC__ * 10000 \ | |
| + __GNUC_MINOR__ * 100 \ | |
| + __GNUC_PATCHLEVEL__) | |
| | |
| #if GCC_VERSION < 40800 | |
| #error Compiler version is too old! | |
| #endif | |
| | |
| #endif | |
| | |
| | |
g++ -o build/sconf_temp/conftest_2.o -c -std=c++11 -Wall -Wextra -Werror=non-virtual-dtor build/sconf_temp/conftest_2.cpp | |
g++ -o build/sconf_temp/conftest_2 build/sconf_temp/conftest_2.o -lm | |
scons: Configure: yes | |
scons: Configure: Checking for C library libcrypto... | |
build/sconf_temp/conftest_3.c <- | |
| | |
| | |
| | |
|int | |
|main() { | |
| | |
|return 0; | |
|} | |
| | |
gcc -o build/sconf_temp/conftest_3.o -c -Wall -Wextra -Werror=non-virtual-dtor build/sconf_temp/conftest_3.c | |
gcc -o build/sconf_temp/conftest_3 build/sconf_temp/conftest_3.o -lm -lcrypto | |
ld: library not found for -lcrypto | |
clang: error: linker command failed with exit code 1 (use -v to see invocation) | |
scons: Configure: no | |
scons: Configure: Checking for Boost iostreams library version >= 1.50.0... | |
build/sconf_temp/conftest_4.cpp <- | |
| | |
| #include <boost/iostreams/constants.hpp> | |
| | |
|#include <boost/version.hpp> | |
|#if BOOST_VERSION < 105000 | |
|#error Boost version is too old! | |
|#endif | |
| | |
| // Workaround for sdl #defining main breaking non sdl programs | |
| #ifdef main | |
| #undef main | |
| #endif | |
| int main() | |
| { | |
| } | |
| | |
| | |
g++ -o build/sconf_temp/conftest_4.o -c -std=c++11 -Wall -Wextra -Werror=non-virtual-dtor -isystem /usr/local/include build/sconf_temp/conftest_4.cpp | |
g++ -o build/sconf_temp/conftest_4 build/sconf_temp/conftest_4.o -L/usr/local/lib -lm -lboost_iostreams-mt | |
scons: Configure: yes | |
scons: Configure: Checking for gzip support in Boost Iostreams... | |
build/sconf_temp/conftest_5.cpp <- | |
| | |
| #include <boost/iostreams/filtering_stream.hpp> | |
| #include <boost/iostreams/filter/gzip.hpp> | |
| | |
| int main() | |
| { | |
| boost::iostreams::filtering_stream<boost::iostreams::output> filter; | |
| filter.push(boost::iostreams::gzip_compressor(boost::iostreams::gzip_params())); | |
| } | |
| | |
| | |
g++ -o build/sconf_temp/conftest_5.o -c -std=c++11 -Wall -Wextra -Werror=non-virtual-dtor -isystem /usr/local/include build/sconf_temp/conftest_5.cpp | |
g++ -o build/sconf_temp/conftest_5 build/sconf_temp/conftest_5.o -L/usr/local/lib -lm -lboost_iostreams-mt | |
scons: Configure: yes | |
scons: Configure: Checking for bzip2 support in Boost Iostreams... | |
build/sconf_temp/conftest_6.cpp <- | |
| | |
| #include <boost/iostreams/filtering_stream.hpp> | |
| #include <boost/iostreams/filter/bzip2.hpp> | |
| | |
| int main() | |
| { | |
| boost::iostreams::filtering_stream<boost::iostreams::output> filter; | |
| filter.push(boost::iostreams::bzip2_compressor(boost::iostreams::bzip2_params())); | |
| } | |
| | |
| | |
g++ -o build/sconf_temp/conftest_6.o -c -std=c++11 -Wall -Wextra -Werror=non-virtual-dtor -isystem /usr/local/include build/sconf_temp/conftest_6.cpp | |
g++ -o build/sconf_temp/conftest_6 build/sconf_temp/conftest_6.o -L/usr/local/lib -lm -lboost_iostreams-mt | |
scons: Configure: yes | |
scons: Configure: Checking for Boost random library version >= 1.50.0... | |
build/sconf_temp/conftest_7.cpp <- | |
| | |
| #include <boost/random/random_number_generator.hpp> | |
| | |
|#include <boost/version.hpp> | |
|#if BOOST_VERSION < 105000 | |
|#error Boost version is too old! | |
|#endif | |
| | |
| // Workaround for sdl #defining main breaking non sdl programs | |
| #ifdef main | |
| #undef main | |
| #endif | |
| int main() | |
| { | |
| } | |
| | |
| | |
g++ -o build/sconf_temp/conftest_7.o -c -std=c++11 -Wall -Wextra -Werror=non-virtual-dtor -isystem /usr/local/include build/sconf_temp/conftest_7.cpp | |
g++ -o build/sconf_temp/conftest_7 build/sconf_temp/conftest_7.o -L/usr/local/lib -lm -lboost_iostreams-mt -lboost_random-mt | |
scons: Configure: yes | |
scons: Configure: Checking for Boost smart_ptr library... | |
build/sconf_temp/conftest_8.cpp <- | |
| | |
| #include <boost/smart_ptr.hpp> | |
| | |
| | |
| // Workaround for sdl #defining main breaking non sdl programs | |
| #ifdef main | |
| #undef main | |
| #endif | |
| int main() | |
| { | |
| } | |
| | |
| | |
g++ -o build/sconf_temp/conftest_8.o -c -std=c++11 -Wall -Wextra -Werror=non-virtual-dtor -isystem /usr/local/include build/sconf_temp/conftest_8.cpp | |
g++ -o build/sconf_temp/conftest_8 build/sconf_temp/conftest_8.o -L/usr/local/lib -lm -lboost_iostreams-mt -lboost_random-mt | |
scons: Configure: yes | |
scons: Configure: Checking for Boost locale library... | |
build/sconf_temp/conftest_9.cpp <- | |
| | |
| #include <boost/locale/info.hpp> | |
| | |
| | |
| // Workaround for sdl #defining main breaking non sdl programs | |
| #ifdef main | |
| #undef main | |
| #endif | |
| int main() | |
| { | |
| } | |
| | |
| | |
g++ -o build/sconf_temp/conftest_9.o -c -std=c++11 -Wall -Wextra -Werror=non-virtual-dtor -isystem /usr/local/include build/sconf_temp/conftest_9.cpp | |
g++ -o build/sconf_temp/conftest_9 build/sconf_temp/conftest_9.o -L/usr/local/lib -lm -lboost_iostreams-mt -lboost_random-mt -lboost_locale-mt | |
scons: Configure: yes | |
scons: Configure: Checking for C library pthread... | |
build/sconf_temp/conftest_10.c <- | |
| | |
| | |
| | |
|int | |
|main() { | |
| | |
|return 0; | |
|} | |
| | |
gcc -o build/sconf_temp/conftest_10.o -c -Wall -Wextra -Werror=non-virtual-dtor -isystem /usr/local/include build/sconf_temp/conftest_10.c | |
gcc -o build/sconf_temp/conftest_10 build/sconf_temp/conftest_10.o -L/usr/local/lib -lm -lboost_iostreams-mt -lboost_random-mt -lboost_locale-mt -lpthread | |
scons: Configure: yes | |
scons: Configure: Checking for Boost system library... | |
build/sconf_temp/conftest_11.cpp <- | |
| | |
| #include <boost/system/error_code.hpp> | |
| | |
| | |
| // Workaround for sdl #defining main breaking non sdl programs | |
| #ifdef main | |
| #undef main | |
| #endif | |
| int main() | |
| { | |
| } | |
| | |
| | |
g++ -o build/sconf_temp/conftest_11.o -c -std=c++11 -Wall -Wextra -Werror=non-virtual-dtor -isystem /usr/local/include build/sconf_temp/conftest_11.cpp | |
g++ -o build/sconf_temp/conftest_11 build/sconf_temp/conftest_11.o -L/usr/local/lib -lm -lboost_iostreams-mt -lboost_random-mt -lboost_locale-mt -lpthread -lboost_system-mt | |
scons: Configure: yes | |
scons: Configure: Checking for Boost asio library... | |
build/sconf_temp/conftest_12.cpp <- | |
| | |
| #include <boost/asio.hpp> | |
| | |
| | |
| // Workaround for sdl #defining main breaking non sdl programs | |
| #ifdef main | |
| #undef main | |
| #endif | |
| int main() | |
| { | |
| } | |
| | |
| | |
g++ -o build/sconf_temp/conftest_12.o -c -std=c++11 -Wall -Wextra -Werror=non-virtual-dtor -isystem /usr/local/include build/sconf_temp/conftest_12.cpp | |
g++ -o build/sconf_temp/conftest_12 build/sconf_temp/conftest_12.o -L/usr/local/lib -lm -lboost_iostreams-mt -lboost_random-mt -lboost_locale-mt -lpthread -lboost_system-mt | |
scons: Configure: yes | |
scons: Configure: Checking for Boost thread library version >= 1.50.0... | |
build/sconf_temp/conftest_13.cpp <- | |
| | |
| #include <boost/thread.hpp> | |
| | |
|#include <boost/version.hpp> | |
|#if BOOST_VERSION < 105000 | |
|#error Boost version is too old! | |
|#endif | |
| | |
| // Workaround for sdl #defining main breaking non sdl programs | |
| #ifdef main | |
| #undef main | |
| #endif | |
| int main() | |
| { | |
| } | |
| | |
| | |
g++ -o build/sconf_temp/conftest_13.o -c -std=c++11 -Wall -Wextra -Werror=non-virtual-dtor -isystem /usr/local/include build/sconf_temp/conftest_13.cpp | |
g++ -o build/sconf_temp/conftest_13 build/sconf_temp/conftest_13.o -L/usr/local/lib -lm -lboost_iostreams-mt -lboost_random-mt -lboost_locale-mt -lpthread -lboost_system-mt -lboost_thread-mt | |
scons: Configure: yes | |
scons: Configure: Checking for Boost filesystem library... | |
build/sconf_temp/conftest_14.cpp <- | |
| | |
| #include <boost/filesystem/operations.hpp> | |
| | |
| | |
| // Workaround for sdl #defining main breaking non sdl programs | |
| #ifdef main | |
| #undef main | |
| #endif | |
| int main() | |
| { | |
| } | |
| | |
| | |
g++ -o build/sconf_temp/conftest_14.o -c -std=c++11 -Wall -Wextra -Werror=non-virtual-dtor -isystem /usr/local/include build/sconf_temp/conftest_14.cpp | |
g++ -o build/sconf_temp/conftest_14 build/sconf_temp/conftest_14.o -L/usr/local/lib -lm -lboost_iostreams-mt -lboost_random-mt -lboost_locale-mt -lpthread -lboost_system-mt -lboost_thread-mt -lboost_filesystem-mt | |
scons: Configure: yes | |
scons: Configure: Checking whether compiler has built-in -D_FORTIFY_SOURCE... | |
build/sconf_temp/conftest_15.c <- | |
| | |
| #ifndef _FORTIFY_SOURCE | |
| #error _FORTIFY_SOURCE not defined | |
| #endif | |
| | |
gcc -o build/sconf_temp/conftest_15.o -c -Wall -Wextra -Werror=non-virtual-dtor -isystem /usr/local/include build/sconf_temp/conftest_15.c | |
build/sconf_temp/conftest_15.c:3:6: error: _FORTIFY_SOURCE not defined | |
#error _FORTIFY_SOURCE not defined | |
^ | |
1 error generated. | |
scons: Configure: no | |
file /private/tmp/wesnoth-20181020-92073-1ysuepp/wesnoth-1.14.5/SConstruct,line 386: | |
Configure(confdir = build/sconf_temp) | |
scons: Configure: Checking for Simple DirectMedia Layer library version >= 2.0.4... | |
build/sconf_temp/conftest_16.c <- | |
| | |
| #include <SDL.h> | |
| | |
|#if SDL_VERSIONNUM(SDL_MAJOR_VERSION, SDL_MINOR_VERSION, SDL_PATCHLEVEL) < SDL_VERSIONNUM(2, 0, 4) | |
|#error Library is too old! | |
|#endif | |
| | |
| int main(int argc, char** argv) | |
| { | |
| SDL_Init(0); | |
| SDL_Quit(); | |
| } | |
| | |
| | |
gcc -o build/sconf_temp/conftest_16.o -c -Wall -Wextra -Werror=non-virtual-dtor -D_THREAD_SAFE -isystem /usr/local/include -isystem /usr/local/include/SDL2 build/sconf_temp/conftest_16.c | |
build/sconf_temp/conftest_16.c:8:22: warning: unused parameter 'argc' [-Wunused-parameter] | |
int main(int argc, char** argv) | |
^ | |
build/sconf_temp/conftest_16.c:8:35: warning: unused parameter 'argv' [-Wunused-parameter] | |
int main(int argc, char** argv) | |
^ | |
2 warnings generated. | |
gcc -o build/sconf_temp/conftest_16 build/sconf_temp/conftest_16.o -L/usr/local/lib -lm -lboost_iostreams-mt -lboost_random-mt -lboost_locale-mt -lpthread -lboost_system-mt -lboost_thread-mt -lboost_filesystem-mt -lSDL2 | |
scons: Configure: yes | |
scons: Configure: Checking for SDL2_ttf library... | |
build/sconf_temp/conftest_17.c <- | |
| | |
| #include <SDL_ttf.h> | |
| | |
| | |
| int main(int argc, char** argv) | |
| { | |
| SDL_Init(0); | |
| SDL_Quit(); | |
| } | |
| | |
| | |
gcc -o build/sconf_temp/conftest_17.o -c -Wall -Wextra -Werror=non-virtual-dtor -D_THREAD_SAFE -isystem /usr/local/include -isystem /usr/local/include/SDL2 build/sconf_temp/conftest_17.c | |
build/sconf_temp/conftest_17.c:5:22: warning: unused parameter 'argc' [-Wunused-parameter] | |
int main(int argc, char** argv) | |
^ | |
build/sconf_temp/conftest_17.c:5:35: warning: unused parameter 'argv' [-Wunused-parameter] | |
int main(int argc, char** argv) | |
^ | |
2 warnings generated. | |
gcc -o build/sconf_temp/conftest_17 build/sconf_temp/conftest_17.o -L/usr/local/lib -lm -lboost_iostreams-mt -lboost_random-mt -lboost_locale-mt -lpthread -lboost_system-mt -lboost_thread-mt -lboost_filesystem-mt -lSDL2 -lSDL2_ttf | |
scons: Configure: yes | |
scons: Configure: Checking for SDL2_mixer library... | |
build/sconf_temp/conftest_18.c <- | |
| | |
| #include <SDL_mixer.h> | |
| | |
| | |
| int main(int argc, char** argv) | |
| { | |
| SDL_Init(0); | |
| SDL_Quit(); | |
| } | |
| | |
| | |
gcc -o build/sconf_temp/conftest_18.o -c -Wall -Wextra -Werror=non-virtual-dtor -D_THREAD_SAFE -isystem /usr/local/include -isystem /usr/local/include/SDL2 build/sconf_temp/conftest_18.c | |
build/sconf_temp/conftest_18.c:7:13: warning: implicit declaration of function 'SDL_Init' is invalid in C99 [-Wimplicit-function-declaration] | |
SDL_Init(0); | |
^ | |
build/sconf_temp/conftest_18.c:8:13: warning: implicit declaration of function 'SDL_Quit' is invalid in C99 [-Wimplicit-function-declaration] | |
SDL_Quit(); | |
^ | |
build/sconf_temp/conftest_18.c:5:22: warning: unused parameter 'argc' [-Wunused-parameter] | |
int main(int argc, char** argv) | |
^ | |
build/sconf_temp/conftest_18.c:5:35: warning: unused parameter 'argv' [-Wunused-parameter] | |
int main(int argc, char** argv) | |
^ | |
4 warnings generated. | |
gcc -o build/sconf_temp/conftest_18 build/sconf_temp/conftest_18.o -L/usr/local/lib -lm -lboost_iostreams-mt -lboost_random-mt -lboost_locale-mt -lpthread -lboost_system-mt -lboost_thread-mt -lboost_filesystem-mt -lSDL2 -lSDL2_ttf -lSDL2_mixer | |
scons: Configure: yes | |
scons: Configure: Checking for SDL2_image library... | |
build/sconf_temp/conftest_19.c <- | |
| | |
| #include <SDL_image.h> | |
| | |
| | |
| int main(int argc, char** argv) | |
| { | |
| SDL_Init(0); | |
| SDL_Quit(); | |
| } | |
| | |
| | |
gcc -o build/sconf_temp/conftest_19.o -c -Wall -Wextra -Werror=non-virtual-dtor -D_THREAD_SAFE -isystem /usr/local/include -isystem /usr/local/include/SDL2 build/sconf_temp/conftest_19.c | |
build/sconf_temp/conftest_19.c:5:22: warning: unused parameter 'argc' [-Wunused-parameter] | |
int main(int argc, char** argv) | |
^ | |
build/sconf_temp/conftest_19.c:5:35: warning: unused parameter 'argv' [-Wunused-parameter] | |
int main(int argc, char** argv) | |
^ | |
2 warnings generated. | |
gcc -o build/sconf_temp/conftest_19 build/sconf_temp/conftest_19.o -L/usr/local/lib -lm -lboost_iostreams-mt -lboost_random-mt -lboost_locale-mt -lpthread -lboost_system-mt -lboost_thread-mt -lboost_filesystem-mt -lSDL2 -lSDL2_ttf -lSDL2_mixer -lSDL2_image | |
scons: Configure: yes | |
scons: Configure: Checking for C library vorbisfile... | |
build/sconf_temp/conftest_20.c <- | |
| | |
| | |
| | |
|int | |
|main() { | |
| | |
|return 0; | |
|} | |
| | |
gcc -o build/sconf_temp/conftest_20.o -c -Wall -Wextra -Werror=non-virtual-dtor -D_THREAD_SAFE -isystem /usr/local/include -isystem /usr/local/include/SDL2 build/sconf_temp/conftest_20.c | |
gcc -o build/sconf_temp/conftest_20 build/sconf_temp/conftest_20.o -L/usr/local/lib -lm -lboost_iostreams-mt -lboost_random-mt -lboost_locale-mt -lpthread -lboost_system-mt -lboost_thread-mt -lboost_filesystem-mt -lSDL2 -lSDL2_ttf -lSDL2_mixer -lSDL2_image -lvorbisfile | |
scons: Configure: yes | |
scons: Configure: Checking for Ogg Vorbis support in SDL... | |
build/sconf_temp/conftest_21.c <- | |
|#include <stdlib.h> | |
|#include <stdio.h> | |
| | |
|#include <SDL.h> | |
|#include <SDL_mixer.h> | |
| | |
|int main(int argc, char ** argv) | |
|{ | |
| if (SDL_Init(SDL_INIT_AUDIO) < 0) { | |
| fprintf(stdout, "Cannot initialize SDL Audio: %s\n", SDL_GetError()); | |
| return (EXIT_FAILURE); | |
| } | |
| | |
| if (Mix_OpenAudio(44100, MIX_DEFAULT_FORMAT, 2, 1024) == -1) { | |
| fprintf(stdout, "Cannot initialize SDL Mixer: %s\n", Mix_GetError()); | |
| return (EXIT_FAILURE); | |
| } | |
| | |
| if (Mix_Init(MIX_INIT_OGG) != MIX_INIT_OGG) { | |
| fprintf(stdout, "Cannot initialize OGG codec: %s\n", Mix_GetError()); | |
| Mix_CloseAudio(); | |
| return (EXIT_FAILURE); | |
| } | |
| | |
| Mix_Music* music = Mix_LoadMUS("/private/tmp/wesnoth-20181020-92073-1ysuepp/wesnoth-1.14.5/data/core/music/main_menu.ogg"); | |
| if (music == NULL) { | |
| fprintf(stdout, "Cannot load music file: %s\n", Mix_GetError()); | |
| Mix_CloseAudio(); | |
| return (EXIT_FAILURE); | |
| } | |
| | |
| fprintf(stdout, "Success\n"); | |
| Mix_FreeMusic(music); | |
| Mix_CloseAudio(); | |
| return (EXIT_SUCCESS); | |
|} | |
gcc -o build/sconf_temp/conftest_21.o -c -Wall -Wextra -Werror=non-virtual-dtor -D_THREAD_SAFE -isystem /usr/local/include -isystem /usr/local/include/SDL2 build/sconf_temp/conftest_21.c | |
build/sconf_temp/conftest_21.c:7:14: warning: unused parameter 'argc' [-Wunused-parameter] | |
int main(int argc, char ** argv) | |
^ | |
build/sconf_temp/conftest_21.c:7:28: warning: unused parameter 'argv' [-Wunused-parameter] | |
int main(int argc, char ** argv) | |
^ | |
2 warnings generated. | |
gcc -o build/sconf_temp/conftest_21 build/sconf_temp/conftest_21.o -L/usr/local/lib -lm -lboost_iostreams-mt -lboost_random-mt -lboost_locale-mt -lpthread -lboost_system-mt -lboost_thread-mt -lboost_filesystem-mt -lSDL2 -lSDL2_ttf -lSDL2_mixer -lSDL2_image -lvorbisfile | |
build/sconf_temp/conftest_21 > build/sconf_temp/conftest_21.out | |
scons: Configure: yes | |
scons: Configure: Checking for PNG support in SDL... | |
build/sconf_temp/conftest_22.c <- | |
|#include <SDL_image.h> | |
| #include <stdlib.h> | |
| | |
| int main(int argc, char **argv) | |
| { | |
| SDL_RWops *src; | |
| char *testimage = "/private/tmp/wesnoth-20181020-92073-1ysuepp/wesnoth-1.14.5/images/buttons/button_normal/button_H22-pressed.png"; | |
| | |
| src = SDL_RWFromFile(testimage, "rb"); | |
| if (src == NULL) { | |
| exit(2); | |
| } | |
| exit(!IMG_isPNG(src)); | |
| } | |
gcc -o build/sconf_temp/conftest_22.o -c -Wall -Wextra -Werror=non-virtual-dtor -D_THREAD_SAFE -isystem /usr/local/include -isystem /usr/local/include/SDL2 build/sconf_temp/conftest_22.c | |
build/sconf_temp/conftest_22.c:4:15: warning: unused parameter 'argc' [-Wunused-parameter] | |
int main(int argc, char **argv) | |
^ | |
build/sconf_temp/conftest_22.c:4:28: warning: unused parameter 'argv' [-Wunused-parameter] | |
int main(int argc, char **argv) | |
^ | |
2 warnings generated. | |
gcc -o build/sconf_temp/conftest_22 build/sconf_temp/conftest_22.o -L/usr/local/lib -lm -lboost_iostreams-mt -lboost_random-mt -lboost_locale-mt -lpthread -lboost_system-mt -lboost_thread-mt -lboost_filesystem-mt -lSDL2 -lSDL2_ttf -lSDL2_mixer -lSDL2_image -lvorbisfile | |
build/sconf_temp/conftest_22 > build/sconf_temp/conftest_22.out | |
scons: Configure: yes | |
scons: Configure: Checking for JPG support in SDL... | |
build/sconf_temp/conftest_23.c <- | |
|#include <SDL_image.h> | |
| #include <stdlib.h> | |
| | |
| int main(int argc, char **argv) | |
| { | |
| SDL_RWops *src; | |
| char *testimage = "/private/tmp/wesnoth-20181020-92073-1ysuepp/wesnoth-1.14.5/data/core/images/maps/background.jpg"; | |
| | |
| src = SDL_RWFromFile(testimage, "rb"); | |
| if (src == NULL) { | |
| exit(2); | |
| } | |
| exit(!IMG_isJPG(src)); | |
| } | |
gcc -o build/sconf_temp/conftest_23.o -c -Wall -Wextra -Werror=non-virtual-dtor -D_THREAD_SAFE -isystem /usr/local/include -isystem /usr/local/include/SDL2 build/sconf_temp/conftest_23.c | |
build/sconf_temp/conftest_23.c:4:15: warning: unused parameter 'argc' [-Wunused-parameter] | |
int main(int argc, char **argv) | |
^ | |
build/sconf_temp/conftest_23.c:4:28: warning: unused parameter 'argv' [-Wunused-parameter] | |
int main(int argc, char **argv) | |
^ | |
2 warnings generated. | |
gcc -o build/sconf_temp/conftest_23 build/sconf_temp/conftest_23.o -L/usr/local/lib -lm -lboost_iostreams-mt -lboost_random-mt -lboost_locale-mt -lpthread -lboost_system-mt -lboost_thread-mt -lboost_filesystem-mt -lSDL2 -lSDL2_ttf -lSDL2_mixer -lSDL2_image -lvorbisfile | |
build/sconf_temp/conftest_23 > build/sconf_temp/conftest_23.out | |
scons: Configure: yes | |
scons: Configure: Checking for Cairo... | |
scons: Configure: (cached) yes | |
scons: Configure: Checking for Pango with cairo backend... | |
scons: Configure: (cached) yes | |
scons: Configure: Checking for fontconfig... | |
Found 'fontconfig' with pkg-config. | |
scons: Configure: (cached) yes | |
scons: Configure: Checking for Boost program_options library version >= 1.50.0... | |
build/sconf_temp/conftest_24.cpp <- | |
| | |
| #include <boost/program_options.hpp> | |
| | |
|#include <boost/version.hpp> | |
|#if BOOST_VERSION < 105000 | |
|#error Boost version is too old! | |
|#endif | |
| | |
| // Workaround for sdl #defining main breaking non sdl programs | |
| #ifdef main | |
| #undef main | |
| #endif | |
| int main() | |
| { | |
| } | |
| | |
| | |
g++ -o build/sconf_temp/conftest_24.o -c -std=c++11 -Wall -Wextra -Werror=non-virtual-dtor -D_THREAD_SAFE -isystem /usr/local/include -isystem /usr/local/include/SDL2 -isystem /usr/local/Cellar/cairo/1.14.12/include/cairo -isystem /usr/local/Cellar/glib/2.58.1/include/glib-2.0 -isystem /usr/local/Cellar/glib/2.58.1/lib/glib-2.0/include -isystem /usr/local/opt/gettext/include -isystem /usr/local/Cellar/pcre/8.42/include -isystem /usr/local/Cellar/pixman/0.34.0_1/include/pixman-1 -isystem /usr/local/Cellar/fontconfig/2.13.1/include -isystem /usr/local/opt/freetype/include/freetype2 -isystem /usr/local/Cellar/libpng/1.6.35/include/libpng16 -isystem /usr/local/Cellar/pango/1.42.4/include/pango-1.0 -isystem /usr/local/Cellar/harfbuzz/1.9.0/include/harfbuzz -isystem /usr/local/Cellar/graphite2/1.3.12/include -isystem /usr/local/Cellar/fribidi/1.0.5/include/fribidi build/sconf_temp/conftest_24.cpp | |
g++ -o build/sconf_temp/conftest_24 -Wl,-framework -Wl,CoreFoundation build/sconf_temp/conftest_24.o -L/usr/local/lib -L/usr/local/Cellar/cairo/1.14.12/lib -L/usr/local/Cellar/pango/1.42.4/lib -L/usr/local/Cellar/glib/2.58.1/lib -L/usr/local/opt/gettext/lib -L/usr/local/Cellar/fontconfig/2.13.1/lib -L/usr/local/opt/freetype/lib -lm -lboost_iostreams-mt -lboost_random-mt -lboost_locale-mt -lpthread -lboost_system-mt -lboost_thread-mt -lboost_filesystem-mt -lSDL2 -lSDL2_ttf -lSDL2_mixer -lSDL2_image -lvorbisfile -lpangocairo-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lintl -lcairo -lfontconfig -lfreetype -lboost_program_options-mt | |
scons: Configure: yes | |
scons: Configure: Checking for Boost regex library... | |
build/sconf_temp/conftest_25.cpp <- | |
| | |
| #include <boost/regex/config.hpp> | |
| | |
| | |
| // Workaround for sdl #defining main breaking non sdl programs | |
| #ifdef main | |
| #undef main | |
| #endif | |
| int main() | |
| { | |
| } | |
| | |
| | |
g++ -o build/sconf_temp/conftest_25.o -c -std=c++11 -Wall -Wextra -Werror=non-virtual-dtor -D_THREAD_SAFE -isystem /usr/local/include -isystem /usr/local/include/SDL2 -isystem /usr/local/Cellar/cairo/1.14.12/include/cairo -isystem /usr/local/Cellar/glib/2.58.1/include/glib-2.0 -isystem /usr/local/Cellar/glib/2.58.1/lib/glib-2.0/include -isystem /usr/local/opt/gettext/include -isystem /usr/local/Cellar/pcre/8.42/include -isystem /usr/local/Cellar/pixman/0.34.0_1/include/pixman-1 -isystem /usr/local/Cellar/fontconfig/2.13.1/include -isystem /usr/local/opt/freetype/include/freetype2 -isystem /usr/local/Cellar/libpng/1.6.35/include/libpng16 -isystem /usr/local/Cellar/pango/1.42.4/include/pango-1.0 -isystem /usr/local/Cellar/harfbuzz/1.9.0/include/harfbuzz -isystem /usr/local/Cellar/graphite2/1.3.12/include -isystem /usr/local/Cellar/fribidi/1.0.5/include/fribidi build/sconf_temp/conftest_25.cpp | |
g++ -o build/sconf_temp/conftest_25 -Wl,-framework -Wl,CoreFoundation build/sconf_temp/conftest_25.o -L/usr/local/lib -L/usr/local/Cellar/cairo/1.14.12/lib -L/usr/local/Cellar/pango/1.42.4/lib -L/usr/local/Cellar/glib/2.58.1/lib -L/usr/local/opt/gettext/lib -L/usr/local/Cellar/fontconfig/2.13.1/lib -L/usr/local/opt/freetype/lib -lm -lboost_iostreams-mt -lboost_random-mt -lboost_locale-mt -lpthread -lboost_system-mt -lboost_thread-mt -lboost_filesystem-mt -lSDL2 -lSDL2_ttf -lSDL2_mixer -lSDL2_image -lvorbisfile -lpangocairo-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lintl -lcairo -lfontconfig -lfreetype -lboost_program_options-mt -lboost_regex-mt | |
scons: Configure: yes | |
file /private/tmp/wesnoth-20181020-92073-1ysuepp/wesnoth-1.14.5/SConstruct,line 425: | |
Configure(confdir = build/sconf_temp) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment