1. Forum moved (you can use login and pass from old forum)
  2. Many discussions moved to the bugtracker

Task complete Required Files to launch openapoc

Discussion in 'General help - Troubleshooting - Feedback' started by Yataka Shimaoka, May 28, 2017.

  1. Yataka Shimaoka

    Yataka Shimaoka Well-Known Member Tester Translator/Writer
    26/28

    Joined:
    May 3, 2017
    Messages:
    48
    Likes Received:
    29
    Best Answers:
    0
    Okay, we all know that we need the CD.iso file from the original game disk which can be downloaded via steam. Turns out, there is another site where you can download Xcom-Apocalypse for free, but doesn't have the CD.iso file. So I was wondering if we can change the required file and replace it with the Ufo2p folder and the Tac2p folder, just like what they did with openxcom, Whaddya say? Because I was wondering that some people who wants to play this game, doesn't have the file required and like they have to buy it from steam? This is an open source project, correct? So its supposed to be free, but if they have to pay for the required file, its not gonna be free anymore
     
    Last edited: May 28, 2017
    makus likes this.
  2. Treonin

    Treonin Registered
    31/56

    Joined:
    Feb 1, 2015
    Messages:
    31
    Likes Received:
    2
    Best Answers:
    0
    Open source means that this is free, but this does not include its dependencies, like the original xcom apoc, because xcom apoc itself is not open source so you have to pay for that.

    This project is a reimplementation of the engine using the original resource files, to make the game able to run on modern systems, without the old bugs, crashes and be able to be modded easily.

    Btw openxcom has the same rules, so you have to buy the original ufo: unknown to be able to play that too.

    But yeah sometimes there are promotions where you can get one of the games for free, so changing the requirement from iso to iso and folders would be doable, depending on the developers.
     
    Yataka Shimaoka likes this.
  3. Blackwolf Kuzoku

    Blackwolf Kuzoku Member Tester Researcher
    26/28

    Joined:
    Nov 16, 2014
    Messages:
    21
    Likes Received:
    7
    Best Answers:
    0
    Treonin is absolutely right.
    Open Source does not mean that you get everything you want for free. Its a fan-remake, a tribute for that awesome game.
    Dont forget that you'll never get a legal version for free. Its all a question about copyright and such things.
    If you love that original game and want to help the developement of this work, its worth to buy the game ( again ).


    But i also have a question regarding "required files":
    i've testet the current build in ubuntu with my original x-com german CD. I've made a iso-file from it, but the script runs in some error in the last few steps from "make -j4". Maybe some files has been changed on the european / german - Version of the game.
    ( As example the Microprose - Studios made an easteregg into the Intro - Videos. On european / german - Version the men on the phone is speaking english, the men in the background german. In the "international / english" - Version the men on the phone is speaking german and the men in the background is speaking english.)

    So the question is: Which iso is absolutely recommed ? Only the Steam-Version?
    And whats about that easteregg ? ( its in the ending video also done like in the intro ! )
     
    Last edited: May 29, 2017
  4. JonnyH

    JonnyH Well-Known Member Official Developer Administrator
    64/112

    Joined:
    Jul 17, 2014
    Messages:
    183
    Likes Received:
    36
    Best Answers:
    0
    We already support this, if you make "cd.iso" a directory with all the contents of the cd in it, so the directory structure looks like:

    cd.iso/music
    cd.iso/xcom3/maps/...
    cd.iso/xcom3/rawsound/...
    cd.iso/xcom3/smk/...
    cd.iso/xcom3/sound/...
    cd.iso/xcom3/tacdata/...
    cd.iso/xcom3/tacexe/...
    cd.iso/xcom3/ufodata/...
    cd.iso/xcom3/ufoexe/...
    cd.iso/xcom3/ufopaedi/...

    So you can copy the files from your purchased version of XCom:Apoc there instead :)
     
    Blackwolf Kuzoku likes this.
  5. Blackwolf Kuzoku

    Blackwolf Kuzoku Member Tester Researcher
    26/28

    Joined:
    Nov 16, 2014
    Messages:
    21
    Likes Received:
    7
    Best Answers:
    0
    Cool !
    But currently you have to use the steam iso-file to create the build, right? ( make -j4 fails with errors with my old european one )
     
  6. Yataka Shimaoka

    Yataka Shimaoka Well-Known Member Tester Translator/Writer
    18/28

    Joined:
    May 3, 2017
    Messages:
    48
    Likes Received:
    29
    Best Answers:
    0
    Oh, i did not know that. So basically copy the whole game archive to the openapoc directory? So I am being a dumbass all this time...
     
  7. JonnyH

    JonnyH Well-Known Member Official Developer Administrator
    64/112

    Joined:
    Jul 17, 2014
    Messages:
    183
    Likes Received:
    36
    Best Answers:
    0
    It *should* work? Any chance you can give the log output? We might need the .exe files if they're different, as we pull out some data that's at 'known' offsets in the .exe files, so any changes there would likely mean it ends up looking in the wrong place (which is what I suspect is why it's failing).

    Is this the original version? I only have the gog/steam/UK "Collector's Edition" myself to test with.
     
    Yataka Shimaoka likes this.
  8. Yataka Shimaoka

    Yataka Shimaoka Well-Known Member Tester Translator/Writer
    18/28

    Joined:
    May 3, 2017
    Messages:
    48
    Likes Received:
    29
    Best Answers:
    0
    So that's why you aren't encountering the same issues because its from steam, not the original one
     
  9. Blackwolf Kuzoku

    Blackwolf Kuzoku Member Tester Researcher
    26/28

    Joined:
    Nov 16, 2014
    Messages:
    21
    Likes Received:
    7
    Best Answers:
    0
    Its the original version, yes. :) Made some pictures from it ;)

    Can you please tell me the location of the log-files ? I am good at working with Ubuntu, but unfortunately no professional. :)
    i can sent you the exe-files as well.

    [​IMG]
    [​IMG]
    [​IMG]
     
    makus likes this.
  10. JonnyH

    JonnyH Well-Known Member Official Developer Administrator
    64/112

    Joined:
    Jul 17, 2014
    Messages:
    183
    Likes Received:
    36
    Best Answers:
    0
    I believe the file 'openapoc_log.txt' is created in the current working directory right now (as it's still in development it doesn't make sense for stuff to be in a 'system-wide' location). I believe when building, the DataExtractor is run from the root of the git repository, so it should appear there.
    Note, that all the extractors (and openapoc itself) use the same file name, so you'll probably only get the "last" failed extractor run there, which should be sufficient, and if you try to run another tool/test/openapoc itself it'll probably overwrite it.

    And the .exe files for the German version would be good - they have all the language strings embedded, so the "german" version *will* be different to the English version.
     
  11. Blackwolf Kuzoku

    Blackwolf Kuzoku Member Tester Researcher
    26/28

    Joined:
    Nov 16, 2014
    Messages:
    21
    Likes Received:
    7
    Best Answers:
    0
    Hi JonnyH,

    Sorry for let you waiting. Just had to reinstall the VM and Ubuntu.
    I've collected the logfiles, saved the terminal-output ( in german ... let me know if i have to repeat this in english for you. ) and made some screens from the differences from the iso-files. ( most only a modified date )

    https://drive.google.com/open?id=0BziwQFDF_0-DbDM0REk1TzBVWVE

    to be safe, the archive is password-protected, i send it via private message to you.
     
  12. Blackwolf Kuzoku

    Blackwolf Kuzoku Member Tester Researcher
    26/28

    Joined:
    Nov 16, 2014
    Messages:
    21
    Likes Received:
    7
    Best Answers:
    0
  13. JonnyH

    JonnyH Well-Known Member Official Developer Administrator
    64/112

    Joined:
    Jul 17, 2014
    Messages:
    183
    Likes Received:
    36
    Best Answers:
    0
    http://openapoc.org/threads/gog-version-of-x-com-apocalypse.212/#post-1806
    FYI - we do support .cue/.bin files (at least the specific subset that happens to be used by the GOG version :), but it's just not well integrated into the build or defaults right now
     
    makus likes this.
  14. Istrebitel

    Istrebitel Well-Known Member Official Developer Administrator
    39/56

    Joined:
    Aug 8, 2016
    Messages:
    189
    Likes Received:
    80
    Best Answers:
    1
    Maybe we could use several options instead of one? Like boot order? So that player would just specify the folder and framework would try to find an iso file there, then bin/cue file there, the see if the folder is actually a structure containing files?
     
    makus likes this.
  15. JonnyH

    JonnyH Well-Known Member Official Developer Administrator
    64/112

    Joined:
    Jul 17, 2014
    Messages:
    183
    Likes Received:
    36
    Best Answers:
    0
    Honestly, that's how it's structured internally, it just makes an ordered list and passes that to physfs, which does the overriding/overlaying for us. I just made the options "CD Path" and "Data Directory" to make it more obvious as to their intention. The fast they just map to index 0 and 1 in a list is kinda hidden.

    If we think it's a decent idea to expose that it should be relatively easy.
     
  16. Huaptlo

    Huaptlo Registered
    26/28

    Joined:
    Apr 27, 2015
    Messages:
    13
    Likes Received:
    1
    Best Answers:
    0
    I wonder where my original CD is, I did find my Interceptor CD, oh joy... Well I do also own the steam version, need to try out that one at some point.
     
  17. Yataka Shimaoka

    Yataka Shimaoka Well-Known Member Tester Translator/Writer
    18/28

    Joined:
    May 3, 2017
    Messages:
    48
    Likes Received:
    29
    Best Answers:
    0
    Thanks everyone for your answers, All of my problems are now resolved
    so i am marking the conversation complete
     
  18. Blackwolf Kuzoku

    Blackwolf Kuzoku Member Tester Researcher
    26/28

    Joined:
    Nov 16, 2014
    Messages:
    21
    Likes Received:
    7
    Best Answers:
    0
    Hi Guys,

    Just wanted to rebuild a new version of openapoc on my new pc.
    I've installed Ubuntu 16.04 64-bit on VirtualPlayer 12 on Windows 10 64bit Host.

    Currently i'm not able to make the build.

    i used the cd.iso from steam-version.


    Code:
    kuzoku@BlackWolfVM:~/OpenApoc/build$ cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo ..
    -- The CXX compiler identification is GNU 5.4.0
    -- The C compiler identification is GNU 5.4.0
    -- Check for working CXX compiler: /usr/bin/c++
    -- Check for working CXX compiler: /usr/bin/c++ -- works
    -- Detecting CXX compiler ABI info
    -- Detecting CXX compiler ABI info - done
    -- Detecting CXX compile features
    -- Detecting CXX compile features - done
    -- Check for working C compiler: /usr/bin/cc
    -- Check for working C compiler: /usr/bin/cc -- works
    -- Detecting C compiler ABI info
    -- Detecting C compiler ABI info - done
    -- Detecting C compile features
    -- Detecting C compile features - done
    Using CD at "/home/kuzoku/OpenApoc/data/cd.iso"
    -- Performing Test COMPILER_SUPPORTS_LTO
    -- Performing Test COMPILER_SUPPORTS_LTO - Success
    -- Performing Test COMPILER_SUPPORTS_LTO4
    -- Performing Test COMPILER_SUPPORTS_LTO4 - Success
    -- cotire 1.7.8 loaded.
    -- Boost version: 1.58.0
    -- Found the following Boost libraries:
    --   locale
    -- Looking for pthread.h
    -- Looking for pthread.h - found
    -- Looking for pthread_create
    -- Looking for pthread_create - not found
    -- Check if compiler accepts -pthread
    -- Check if compiler accepts -pthread - yes
    -- Found Threads: TRUE  
    -- cotire 1.7.8 loaded.
    -- Using <experimental/filesystem>
    -- Boost version: 1.58.0
    -- Found the following Boost libraries:
    --   locale
    --   system
    --   program_options
    -- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1") 
    -- Checking for module 'sdl2>=2.0'
    --   Found sdl2, version 2.0.4
    Searching for SDL2 in 
    Found SDL2 at /usr/lib/x86_64-linux-gnu/libSDL2.so
    -- Checking for module 'libunwind'
    --   Found libunwind, version 1.1
    -- Found OpenGL: /usr/lib/x86_64-linux-gnu/libGL.so  
    -- CXX target OpenApoc_Framework cotired.
    -- cotire 1.7.8 loaded.
    -- CXX target OpenApoc_Forms cotired.
    -- cotire 1.7.8 loaded.
    -- CXX target OpenApoc_GameState cotired.
    -- cotire 1.7.8 loaded.
    -- CXX target OpenApoc_GameUI cotired.
    -- cotire 1.7.8 loaded.
    -- CXX target OpenApoc_DataExtractor cotired.
    -- cotire 1.7.8 loaded.
    -- CXX target OpenApoc_SerializationTool cotired without precompiled header. Too few applicable sources.
    -- Boost version: 1.58.0
    -- Found the following Boost libraries:
    --   program_options
    -- Performing Test PHYSFS_IS_GCC4
    -- Performing Test PHYSFS_IS_GCC4 - Success
    -- Looking for sys/ucred.h
    -- Looking for sys/ucred.h - not found
    -- Looking for mntent.h
    -- Looking for mntent.h - found
    -- Performing Test HAVE_SYS_MNTTAB_H
    -- Performing Test HAVE_SYS_MNTTAB_H - Failed
    -- Looking for pthread.h
    -- Looking for pthread.h - found
    -- Could NOT find Doxygen (missing:  DOXYGEN_EXECUTABLE) 
    -- Doxygen not found. You won't be able to build documentation.
    -- PhysicsFS will build with the following options:
    --   ZIP support: enabled
    --   7zip support: disabled
    --   GRP support: disabled
    --   WAD support: disabled
    --   HOG support: disabled
    --   MVL support: disabled
    --   QPAK support: disabled
    --   SLB support: disabled
    --   CD-ROM drive support: enabled
    --   Thread safety: enabled
    --   Build static library: enabled
    --   Build shared library: disabled
    --   Build stdio test program: disabled
    xmllint not found, disabling format-xml target
    -- Found Git: /usr/bin/git (found version "2.7.4") 
    -- Found Gettext: /usr/bin/msgmerge (found version "0.19.7") 
    -- Configuring done
    -- Generating done
    -- Build files have been written to: /home/kuzoku/OpenApoc/build
    
     
    makus likes this.
  19. Blackwolf Kuzoku

    Blackwolf Kuzoku Member Tester Researcher
    26/28

    Joined:
    Nov 16, 2014
    Messages:
    21
    Likes Received:
    7
    Best Answers:
    0
    Had to split the post...
    Code:
    
    kuzoku@BlackWolfVM:~/OpenApoc/build$ make -j4
    Scanning dependencies of target OpenApoc_Library
    Scanning dependencies of target physfs-static
    Scanning dependencies of target OpenApoc_Miniz
    Scanning dependencies of target OpenApoc_LibLodepng
    [  0%] Building C object dependencies/CMakeFiles/OpenApoc_Miniz.dir/miniz/miniz.c.o
    [  1%] Building CXX object dependencies/CMakeFiles/OpenApoc_LibLodepng.dir/lodepng/lodepng.cpp.o
    [  1%] Building CXX object library/CMakeFiles/OpenApoc_Library.dir/strings.cpp.o
    [  2%] Building C object dependencies/physfs/CMakeFiles/physfs-static.dir/src/physfs.c.o
    [  2%] Building C object dependencies/physfs/CMakeFiles/physfs-static.dir/src/physfs_byteorder.c.o
    [  2%] Building C object dependencies/physfs/CMakeFiles/physfs-static.dir/src/physfs_unicode.c.o
    [  2%] Building C object dependencies/physfs/CMakeFiles/physfs-static.dir/src/platform_posix.c.o
    [  3%] Building C object dependencies/physfs/CMakeFiles/physfs-static.dir/src/platform_unix.c.o
    [  3%] Building C object dependencies/physfs/CMakeFiles/physfs-static.dir/src/platform_macosx.c.o
    [  3%] Building C object dependencies/physfs/CMakeFiles/physfs-static.dir/src/platform_windows.c.o
    [  4%] Building C object dependencies/physfs/CMakeFiles/physfs-static.dir/src/archiver_dir.c.o
    [  4%] Building C object dependencies/physfs/CMakeFiles/physfs-static.dir/src/archiver_unpacked.c.o
    [  4%] Building C object dependencies/physfs/CMakeFiles/physfs-static.dir/src/archiver_grp.c.o
    [  4%] Building C object dependencies/physfs/CMakeFiles/physfs-static.dir/src/archiver_hog.c.o
    [  5%] Building C object dependencies/physfs/CMakeFiles/physfs-static.dir/src/archiver_lzma.c.o
    [  5%] Building C object dependencies/physfs/CMakeFiles/physfs-static.dir/src/archiver_mvl.c.o
    [  5%] Building C object dependencies/physfs/CMakeFiles/physfs-static.dir/src/archiver_qpak.c.o
    [  5%] Linking C static library libOpenApoc_Miniz.a
    [  7%] Building C object dependencies/physfs/CMakeFiles/physfs-static.dir/src/archiver_wad.c.o
    [  7%] Building C object dependencies/physfs/CMakeFiles/physfs-static.dir/src/archiver_zip.c.o
    [  7%] Built target OpenApoc_Miniz
    Scanning dependencies of target OpenApoc_LibPugixml
    /home/kuzoku/OpenApoc/dependencies/physfs/src/archiver_zip.c: In function ‘zip_hash_ancestors’:
    /home/kuzoku/OpenApoc/dependencies/physfs/src/archiver_zip.c:848:19: warning: unused variable ‘parent’ [-Wunused-variable]
             ZIPentry *parent;
                       ^
    [  7%] Building CXX object dependencies/CMakeFiles/OpenApoc_LibPugixml.dir/pugixml/src/pugixml.cpp.o
    [  7%] Linking CXX static library libOpenApoc_LibLodepng.a
    [  7%] Building CXX object library/CMakeFiles/OpenApoc_Library.dir/voxel.cpp.o
    [  7%] Built target OpenApoc_LibLodepng
    Scanning dependencies of target OpenApoc_LibSmacker
    [  7%] Building C object dependencies/CMakeFiles/OpenApoc_LibSmacker.dir/libsmacker/smacker.c.o
    [  7%] Building C object dependencies/physfs/CMakeFiles/physfs-static.dir/src/archiver_slb.c.o
    [  8%] Building C object dependencies/physfs/CMakeFiles/physfs-static.dir/src/archiver_iso9660.c.o
    /home/kuzoku/OpenApoc/dependencies/physfs/src/archiver_iso9660.c: In function ‘iso_extractfilenameISO’:
    /home/kuzoku/OpenApoc/dependencies/physfs/src/archiver_iso9660.c:306:18: warning: implicit declaration of function ‘tolower’ [-Wimplicit-function-declaration]
        filename[i] = tolower(descriptor->filename[i]);
                      ^
    /home/kuzoku/OpenApoc/dependencies/physfs/src/archiver_iso9660.c: At top level:
    /home/kuzoku/OpenApoc/dependencies/physfs/src/archiver_iso9660.c:266:12: warning: ‘iso_atoi2’ defined but not used [-Wunused-function]
     static int iso_atoi2(char *text)
                ^
    /home/kuzoku/OpenApoc/dependencies/physfs/src/archiver_iso9660.c:271:12: warning: ‘iso_atoi4’ defined but not used [-Wunused-function]
     static int iso_atoi4(char *text)
                ^
    [  8%] Linking C static library libphysfs.a
    [  8%] Built target physfs-static
    [  8%] Building C object dependencies/CMakeFiles/OpenApoc_LibSmacker.dir/libsmacker/smk_bitstream.c.o
    [  8%] Building C object dependencies/CMakeFiles/OpenApoc_LibSmacker.dir/libsmacker/smk_hufftree.c.o
    [  9%] Linking CXX static library libOpenApoc_Library.a
    [  9%] Built target OpenApoc_Library
    [ 10%] Linking C static library libOpenApoc_LibSmacker.a
    [ 10%] Built target OpenApoc_LibSmacker
    [ 11%] Linking CXX static library libOpenApoc_LibPugixml.a
    [ 11%] Built target OpenApoc_LibPugixml
    [ 11%] Generating CXX prefix source framework/cotire/OpenApoc_Framework_CXX_prefix.cxx
    Scanning dependencies of target OpenApoc_GamestateSerializeGen
    [ 11%] Building CXX object tools/gamestate_serialize_gen/CMakeFiles/OpenApoc_GamestateSerializeGen.dir/main.cpp.o
    [ 12%] Generating CXX prefix header framework/cotire/OpenApoc_Framework_CXX_prefix.hxx
    [ 12%] Building CXX precompiled header framework/cotire/OpenApoc_Framework_CXX_prefix.hxx.gch
    [ 14%] Linking CXX executable ../../bin/OpenApoc_GamestateSerializeGen
    [ 14%] Built target OpenApoc_GamestateSerializeGen
    Scanning dependencies of target OpenApoc_Framework
    [ 15%] Building CXX object framework/CMakeFiles/OpenApoc_Framework.dir/event.cpp.o
    [ 15%] Building CXX object framework/CMakeFiles/OpenApoc_Framework.dir/font.cpp.o
    [ 15%] Building CXX object framework/CMakeFiles/OpenApoc_Framework.dir/data.cpp.o
    [ 15%] Building CXX object framework/CMakeFiles/OpenApoc_Framework.dir/configfile.cpp.o
    [ 15%] Building CXX object framework/CMakeFiles/OpenApoc_Framework.dir/framework.cpp.o
    [ 16%] Building CXX object framework/CMakeFiles/OpenApoc_Framework.dir/image.cpp.o
    [ 16%] Building CXX object framework/CMakeFiles/OpenApoc_Framework.dir/logger.cpp.o
    [ 16%] Building CXX object framework/CMakeFiles/OpenApoc_Framework.dir/palette.cpp.o
    [ 16%] Building CXX object framework/CMakeFiles/OpenApoc_Framework.dir/physfs_fs.cpp.o
    [ 17%] Building CXX object framework/CMakeFiles/OpenApoc_Framework.dir/renderer.cpp.o
    [ 17%] Building CXX object framework/CMakeFiles/OpenApoc_Framework.dir/serialization/serialize.cpp.o
    [ 18%] Building CXX object framework/CMakeFiles/OpenApoc_Framework.dir/serialization/providers/filedataprovider.cpp.o
    [ 18%] Building CXX object framework/CMakeFiles/OpenApoc_Framework.dir/serialization/providers/providerwithchecksum.cpp.o
    [ 18%] Building CXX object framework/CMakeFiles/OpenApoc_Framework.dir/serialization/providers/zipdataprovider.cpp.o
    [ 18%] Building CXX object framework/CMakeFiles/OpenApoc_Framework.dir/sound.cpp.o
    [ 18%] Building CXX object framework/CMakeFiles/OpenApoc_Framework.dir/stagestack.cpp.o
    [ 20%] Building CXX object framework/CMakeFiles/OpenApoc_Framework.dir/trace.cpp.o
    [ 20%] Building CXX object framework/CMakeFiles/OpenApoc_Framework.dir/video/smk.cpp.o
    [ 20%] Building CXX object framework/CMakeFiles/OpenApoc_Framework.dir/apocresources/apocfont.cpp.o
    [ 21%] Building CXX object framework/CMakeFiles/OpenApoc_Framework.dir/apocresources/apocpalette.cpp.o
    [ 21%] Building CXX object framework/CMakeFiles/OpenApoc_Framework.dir/apocresources/cursor.cpp.o
    [ 21%] Building CXX object framework/CMakeFiles/OpenApoc_Framework.dir/apocresources/loftemps.cpp.o
    [ 22%] Building CXX object framework/CMakeFiles/OpenApoc_Framework.dir/apocresources/pck.cpp.o
    [ 22%] Building CXX object framework/CMakeFiles/OpenApoc_Framework.dir/apocresources/rawimage.cpp.o
    [ 22%] Building CXX object framework/CMakeFiles/OpenApoc_Framework.dir/imageloader/lodepng_image.cpp.o
    [ 22%] Building CXX object framework/CMakeFiles/OpenApoc_Framework.dir/imageloader/pcx.cpp.o
    [ 23%] Building CXX object framework/CMakeFiles/OpenApoc_Framework.dir/sampleloader/rawsound.cpp.o
    [ 23%] Building CXX object framework/CMakeFiles/OpenApoc_Framework.dir/musicloader/music.cpp.o
    [ 23%] Building CXX object framework/CMakeFiles/OpenApoc_Framework.dir/sound/null_backend.cpp.o
    [ 24%] Building CXX object framework/CMakeFiles/OpenApoc_Framework.dir/sound/sdlraw_backend.cpp.o
    [ 24%] Building CXX object framework/CMakeFiles/OpenApoc_Framework.dir/render/gl20/ogl_2_0_renderer.cpp.o
    [ 24%] Building CXX object framework/CMakeFiles/OpenApoc_Framework.dir/render/gles30_v2/ogles_3_0_renderer_v2.cpp.o
    [ 24%] Building CXX object framework/CMakeFiles/OpenApoc_Framework.dir/render/gles30_v2/gleswrap_gles3.cpp.o
    [ 25%] Building CXX object framework/CMakeFiles/OpenApoc_Framework.dir/fs/physfs_archiver_cue.cpp.o
    [ 25%] Linking CXX static library libOpenApoc_Framework.a
    [ 25%] Built target OpenApoc_Framework
    Scanning dependencies of target OpenApoc_ImageDump
    [ 25%] Generating gamestate_serialize_generated.h, gamestate_serialize_generated.cpp
    [ 25%] Generating CXX prefix source forms/cotire/OpenApoc_Forms_CXX_prefix.cxx
    [ 27%] Generating CXX prefix source game/state/cotire/OpenApoc_GameState_CXX_prefix.cxx
    [ 27%] Building CXX object tools/imagedump/CMakeFiles/OpenApoc_ImageDump.dir/imagedump.cpp.o
    [ 27%] Generating CXX prefix header forms/cotire/OpenApoc_Forms_CXX_prefix.hxx
    [ 27%] Generating CXX prefix header game/state/cotire/OpenApoc_GameState_CXX_prefix.hxx
    [ 28%] Building CXX precompiled header forms/cotire/OpenApoc_Forms_CXX_prefix.hxx.gch
    [ 29%] Building CXX precompiled header game/state/cotire/OpenApoc_GameState_CXX_prefix.hxx.gch
    [ 29%] Linking CXX executable ../../bin/OpenApoc_ImageDump
    [ 29%] Built target OpenApoc_ImageDump
    Scanning dependencies of target OpenApoc_Forms
    [ 29%] Building CXX object forms/CMakeFiles/OpenApoc_Forms.dir/control.cpp.o
    [ 30%] Building CXX object forms/CMakeFiles/OpenApoc_Forms.dir/checkbox.cpp.o
    [ 30%] Building CXX object forms/CMakeFiles/OpenApoc_Forms.dir/form.cpp.o
    [ 30%] Building CXX object forms/CMakeFiles/OpenApoc_Forms.dir/graphicbutton.cpp.o
    
     
  20. Blackwolf Kuzoku

    Blackwolf Kuzoku Member Tester Researcher
    26/28

    Joined:
    Nov 16, 2014
    Messages:
    21
    Likes Received:
    7
    Best Answers:
    0
    Code:
    [ 31%] Building CXX object forms/CMakeFiles/OpenApoc_Forms.dir/graphic.cpp.o
    [ 31%] Building CXX object forms/CMakeFiles/OpenApoc_Forms.dir/label.cpp.o
    [ 31%] Building CXX object forms/CMakeFiles/OpenApoc_Forms.dir/list.cpp.o
    Scanning dependencies of target OpenApoc_GameState
    [ 31%] Building CXX object game/state/CMakeFiles/OpenApoc_GameState.dir/aequipment.cpp.o
    [ 32%] Building CXX object forms/CMakeFiles/OpenApoc_Forms.dir/radiobutton.cpp.o
    /home/kuzoku/OpenApoc/game/state/aequipment.cpp: In member function ‘OpenApoc::sp<OpenApoc::AEquipment> OpenApoc::AEquipment::unloadAmmo(OpenApoc::GameState&)’:
    /home/kuzoku/OpenApoc/game/state/aequipment.cpp:367:14: error: ambiguous overload for ‘operator=’ (operand types are ‘OpenApoc::StateRef<OpenApoc::AEquipmentType>’ and ‘std::nullptr_t’)
      payloadType = nullptr;
                  ^
    In file included from /home/kuzoku/OpenApoc/game/state/research.h:3:0,
                     from /home/kuzoku/OpenApoc/game/state/rules/aequipment_type.h:3,
                     from /home/kuzoku/OpenApoc/game/state/agent.h:5,
                     from /home/kuzoku/OpenApoc/game/state/gamestate.h:3,
                     from /home/kuzoku/OpenApoc/game/state/gamestate_pch.h:13,
                     from /home/kuzoku/OpenApoc/build/game/state/cotire/OpenApoc_GameState_CXX_prefix.cxx:4,
                     from /home/kuzoku/OpenApoc/build/game/state/cotire/OpenApoc_GameState_CXX_prefix.hxx:4:
    /home/kuzoku/OpenApoc/game/state/stateobject.h:70:29: note: candidate: OpenApoc::StateRef<T>& OpenApoc::StateRef<T>::operator=(const OpenApoc::StateRef<T>&) [with T = OpenApoc::AEquipmentType]
     template <typename T> class StateRef
                                 ^
    /home/kuzoku/OpenApoc/game/state/stateobject.h:198:15: note: candidate: OpenApoc::StateRef<T>& OpenApoc::StateRef<T>::operator=(OpenApoc::UString) [with T = OpenApoc::AEquipmentType]
      StateRef<T> &operator=(const UString newId)
                   ^
    [ 32%] Building CXX object forms/CMakeFiles/OpenApoc_Forms.dir/scrollbar.cpp.o
    game/state/CMakeFiles/OpenApoc_GameState.dir/build.make:84: die Regel für Ziel „game/state/CMakeFiles/OpenApoc_GameState.dir/aequipment.cpp.o“ scheiterte
    make[2]: *** [game/state/CMakeFiles/OpenApoc_GameState.dir/aequipment.cpp.o] Fehler 1
    CMakeFiles/Makefile2:15211: die Regel für Ziel „game/state/CMakeFiles/OpenApoc_GameState.dir/all“ scheiterte
    make[1]: *** [game/state/CMakeFiles/OpenApoc_GameState.dir/all] Fehler 2
    make[1]: *** Auf noch nicht beendete Prozesse wird gewartet …
    [ 32%] Building CXX object forms/CMakeFiles/OpenApoc_Forms.dir/textbutton.cpp.o
    [ 32%] Building CXX object forms/CMakeFiles/OpenApoc_Forms.dir/textedit.cpp.o
    [ 34%] Building CXX object forms/CMakeFiles/OpenApoc_Forms.dir/ticker.cpp.o
    [ 34%] Building CXX object forms/CMakeFiles/OpenApoc_Forms.dir/tristatebox.cpp.o
    [ 34%] Building CXX object forms/CMakeFiles/OpenApoc_Forms.dir/ui.cpp.o
    [ 35%] Linking CXX static library libOpenApoc_Forms.a
    [ 35%] Built target OpenApoc_Forms
    Makefile:138: die Regel für Ziel „all“ scheiterte
    make: *** [all] Fehler 2
    
    
     

Share This Page