Hello There, Guest! Register
Enjoy our site and services? You may donate to help fund server and domain costs. Donate Here for special benefits. You have donated $

Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help compiling
#14
(01-28-2017, 09:58 AM)Deak Phreak Wrote: OK I managed to boot up my VM and here is a document full of path notes I jotted down talking with Mick and trying to compile.


Code:
Deaks Doom
./configure --target=arm-buildroot-linux-uclibcgnueabi --host=arm-buildroot-linux-uclibcgnueabi --build=x86_64-linux-gnu SDL_CONFIG=/home/deakphreak/buildroot/output/host/usr/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/bin/sdl-config CFLAGS=-I/home/deakphreak/buildroot/output/target/usr/include/SDL





Deaks Duke
./configure --target=arm-buildroot-linux-uclibcgnueabi --host=arm-buildroot-linux-uclibcgnueabi --build=x86_64-linux-gnu SDL_LIBS=/home/deakphreak/buildroot/output/target/usr --with-sdl-prefix=/home/deakphreak/buildroot/output/target/usr/include/SDL CPPFLAGS=-I/home/deakphreak/buildroot/output/target/usr/include/SDL


NES
./configure --target=arm-buildroot-linux --host=arm-buildroot-linux --build=x86_64-linux-gnu SDL_CONFIG=/home/deakphreak/buildroot/output/host/usr/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/bin/sdl-config CFLAGS=-I/home/deakphreak/buildroot/output/target/usr/include/SDL



./configure --target=arm-buildroon-linux-uclibcgnueabi --host=arm-buildroot-linux-uclibcgnueabi --build=x86_64-linux-gnu --with-sdl-prefix=/home/deakphreak/buildroot/output/target/usr CPPFLAGS=-I/home/deakphreak/buildroot/output/build/sdl-1.2.15/include --prefix=/home/deakphreak/buildroot/output/target/usr




./configure --target=arm-linux --host=arm-linux --build=x86_64-unknown-linux-gnu --prefix=/home/mick/Projects/buildroot-2012.05/output/target/usr --exec-prefix=/home/mick/Projects/buildroot-2012.05/output/target/usr --sysconfdir=/home/mick/Projects/buildroot-2012.05/output/target/etc --program-prefix= --disable-gtk-doc --disable-nls --disable-largefile --disable-ipv6 --enable-static --enable-shared --enable-video-directfb=no --enable-video-qtopia=no --enable-video-x11=no --enable-pulseaudio=no --disable-arts --disable-esd --disable-nasm --disable-video-ps3 --enable-alsa --with-alsa-prefix=~/Projects/buildroot-2012.05/output/target/usr/lib --with-alsa-inc-prefix=~/Projects/buildroot-2012.05/output/build/alsa-lib-1.0.25/include


sdl mixer config
./configure --target=arm-unknown-linux-uclibcgnueabi --host=arm-unknown-linux-uclibcgnueabi --build=x86_64-unknown-linux-gnu --with-sdl-prefix=/home/mick/Projects/buildroot-2012.05/output/target/usr CPPFLAGS=-I/home/mick/Projects/buildroot-2012.05/output/build/sdl-1.2.15/include --prefix=/home/mick/Projects/buildroot-2012.05/output/target/usr




sdl image config
./configure --target=arm-unknown-linux-uclibcgnueabi --host=arm-unknown-linux-uclibcgnueabi --build=x86_64-unknown-linux-gnu --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --program-prefix= --disable-gtk-doc --disable-nls --disable-largefile --disable-ipv6 --enable-static --enable-shared --with-sdl-prefix=/home/mick/Projects/buildroot-2012.05/output/host/usr/arm-unknown-linux-uclibcgnueabi/sysroot/usr --with-sdl-exec-prefix=/home/mick/Projects/buildroot-2012.05/output/host/usr/arm-unknown-linux-uclibcgnueabi/sysroot/usr --disable-sdltest --disable-jpg-shared --disable-png-shared --disable-tif-shared --enable-bmp=yes --enable-gif=yes --enable-jpg=yes --enable-lbm=no --enable-pcx=no --enable-png=yes --enable-pnm=no --enable-tga=no --enable-tif=no --enable-xcf=no --enable-xpm=no --enable-xv=no

duke3d
./configure --target=arm-unknown-linux-uclibcgnueabi --host=arm-unknown-linux-uclibcgnueabi --build=x86_64-unknown-linux-gnu SDL_LIBS=/home/mick/Projects/buildroot-2012.05/output/target/usr CPPFLAGS="-I/home/mick/Projects/buildroot-2012.05/output/target/usr/include/SDL -I/home/mick/Projects/buildroot-2012.05/output/target/usr/include/enet -I/home/mick/Projects/buildroot-2012.05/output/target/usr/include/sys/"

png
./configure  --target=arm-unknown-linux-uclibcgnueabi --host=arm-unknown-linux-uclibcgnueabi --build=x86_64-unknown-linux-gnu --prefix=/home/mick/Projects/buildroot-2012.05/output/target/usr --exec-prefix=/home/mick/Projects/buildroot-2012.05/output/target/usr --sysconfdir=/home/mick/Projects/buildroot-2012.05/output/target/etc --program-prefix= --disable-gtk-doc --disable-nls --disable-largefile --disable-ipv6 --enable-static --enable-shared

export PATH={$PATH}:/home/mick/Projects/buildroot-2012.05/output/host/usr/bin

trying to load /LF/Bulk/ProgramFiles/THDS-0x00310035-000000/Icon.png
libpng warning: Application was compiled with png.h from libpng-1.4.11
libpng warning: Application  is  running with png.c from libpng-1.2.49
libpng error: Incompatible libpng version in application and library
[0x280] AppManager caught signal 11 !



sdl image configure
./configure --target=arm-unknown-linux-uclibcgnueabi --host=arm-unknown-linux-uclibcgnueabi --build=x86_64-unknown-linux-gnu --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --program-prefix= --disable-gtk-doc --disable-nls --disable-largefile --disable-ipv6 --enable-static --enable-shared --with-sdl-prefix=/home/mick/Projects/buildroot-2012.05/output/host/usr/arm-unknown-linux-uclibcgnueabi/sysroot/usr --with-sdl-exec-prefix=/home/mick/Projects/buildroot-2012.05/output/host/usr/arm-unknown-linux-uclibcgnueabi/sysroot/usr --disable-sdltest --disable-jpg-shared --disable-png-shared --disable-tif-shared --enable-bmp=yes --enable-gif=yes --enable-jpg=yes --enable-lbm=no --enable-pcx=no --enable-png=yes --enable-pnm=no --enable-tga=no --enable-tif=no --enable-xcf=no --enable-xpm=no --enable-xv=no



sdl mixer in buildroot
./configure --target=arm-linux --host=arm-linux --build=x86_64-unknown-linux-gnu --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --program-prefix= --disable-gtk-doc --disable-nls --disable-largefile --disable-ipv6 --enable-static --enable-shared --without-x --with-sdl-prefix=/home/mick/Projects/buildroot-2012.05/output/host/usr/arm-unknown-linux-uclibcgnueabi/sysroot/usr  --disable-music-mod --disable-music-mp3 --disable-music-flac --disable-music-mp3-mad-gpl --disable-music-ogg


./configure --target=arm-unknown-linux-uclibcgnueabi --host=arm-unknown-linux-uclibcgnueabi --build=x86_64-unknown-linux-gnu  --with-sdl-prefix=/home/mick/Projects/buildroot-2012.05/output/host/usr/arm-unknown-linux-uclibcgnueabi/sysroot/usr


I also have a file called Run this first with this inside:

export PATH={$PATH}:/home/deakphreak/buildroot/output/host/usr/bin


Attached is the source to my simple Toggle Developer app, testing app and Doom launcher app that loads before the game.  I hope this helps.  I won't be online for about a week or two FYI.


Oh, thanks so much! After running the "export" command, things started compiling properly. I don't understand much of the source code, but I hope to eventually be able to. Smile
I can't wait to compile several variations of "hello world". Tongue Now, the next step is figuring out how to actually run these things...
Reply


Messages In This Thread
Help compiling - by Deak Phreak - 01-16-2016, 03:50 PM
RE: Help compiling - by guiguiaspi - 03-13-2016, 10:39 AM
RE: Help compiling - by kittensauce - 01-10-2017, 06:54 PM
RE: Help compiling - by Deak Phreak - 01-11-2017, 01:19 PM
RE: Help compiling - by kittensauce - 01-13-2017, 04:36 PM
RE: Help compiling - by Deak Phreak - 01-13-2017, 05:24 PM
RE: Help compiling - by kittensauce - 01-13-2017, 05:45 PM
RE: Help compiling - by Deak Phreak - 01-13-2017, 07:27 PM
RE: Help compiling - by kittensauce - 01-13-2017, 07:41 PM
RE: Help compiling - by Deak Phreak - 01-13-2017, 09:45 PM
RE: Help compiling - by kittensauce - 01-14-2017, 06:18 AM
RE: Help compiling - by kittensauce - 01-27-2017, 06:07 PM
RE: Help compiling - by Deak Phreak - 01-28-2017, 09:58 AM
RE: Help compiling - by kittensauce - 01-29-2017, 09:14 AM

Forum Jump: