Jump to content

Rorto

Community Members
  • Posts

    14
  • Joined

  • Last visited

Posts posted by Rorto

  1. When i run ./test there is juste one error :

    In TestCLogger::test_unicode:
    ../../../source/ps/tests/../../../source/ps/tests/test_CLogger.h:109: Error: Expected (lines[0] == "\xC3\xA2 \xC4\xA7"), found ("" != â ħ)

    Need help for french translations ? I can provide some time. But as you can read i'm not totaly bilingual. ^^

  2. Hey ! With the last revision i can run ./pyrogenesis and test a single game.

    But during the compilation i've many of this king of warning :

    "ld: warning: in /opt/local/lib/libILU.dylib, file was built for unsupported file format which is not the architecture being linked (i386)"

    And before when i run ./update-workspaces.sh i have :

    Building NVTT...

    -- Setting optimal options
    -- Processor: [color=#FF0000]i386[/color]
    -- Compiler Flags:
    -- Looking for OpenGL - found

    But i have a 64bit processor and system.

    Is it normal ?

    And during the game, console prompt this :

    "glwprintf failed (buffer size exceeded?) - return value -1, errno 92"

  3. Thanks, but i don't understand the use of O2/O3. To make i run : "make CONFIG=Release -j3". Where should O2 be ? =/

    With "make CONFIG=Release -j3 CXXFLAGS=-O2" I have the same error + a dependancy error message.

    EDIT : OK, understand, the correct line is : make CONFIG=Release -j3 -o2

  4. I make clean each time, i don't understand.

    So, with a fresh new copy i've :

    Linking pyrogenesis
    ld: in obj/pyrogenesis_Release/main.o, in section __TEXT,__text reloc 29: local relocation for address 0x00001413 in section __text does not target section __const
    collect2: ld returned 1 exit status
    make[1]: *** [../../../binaries/system/pyrogenesis.app/Contents/MacOS/pyrogenesis] Error 1
    make: *** [pyrogenesis] Error 2
    make: *** Waiting for unfinished jobs....

    Find ? ;)

  5. Now (rev8080) i've : (the same, no ?)

    cpu.cpp
    ../../../source/lib/sysdep/cpu.cpp: In function ‘void TestCAS64()’:
    ../../../source/lib/sysdep/cpu.cpp:51: error: invalid conversion from ‘volatile int64_t*’ to ‘volatile intptr_t*’
    ../../../source/lib/sysdep/cpu.cpp:51: error: initializing argument 1 of ‘bool cpu_CAS(volatile intptr_t*, intptr_t, intptr_t)’
    In file included from /opt/local/include/wx-2.8/wx/html/helpdata.h:21,
    from /opt/local/include/wx-2.8/wx/html/helpfrm.h:20,
    from /opt/local/include/wx-2.8/wx/html/helpctrl.h:20,
    from /opt/local/include/wx-2.8/wx/help.h:36,
    from /opt/local/include/wx-2.8/wx/cshelp.h:19,
    from ../../../source/tools/atlas/wxJS/gui/control/helpbtn.h:28,
    from ../../../source/tools/atlas/wxJS/gui/gui_init.cpp:82:
    /opt/local/include/wx-2.8/wx/filesys.h: In member function ‘wxFSHandlerHash_wxImplementation_HashTable::Node** wxFSHandlerHash_wxImplementation_HashTable::GetNodePtr(const void* const&) const’:
    /opt/local/include/wx-2.8/wx/filesys.h:176: warning: dereferencing type-punned pointer will break strict-aliasing rules
    ../../../source/lib/sysdep/cpu.cpp: At global scope:
    ../../../source/lib/sysdep/cpu.cpp:30: warning: ‘LINE_30_2’ defined but not used
    ../../../source/lib/sysdep/cpu.cpp:31: warning: ‘LINE_31_2’ defined but not used
    ../../../source/lib/sysdep/cpu.cpp:32: warning: ‘LINE_32_2’ defined but not used
    /opt/local/include/boost/system/error_code.hpp:214: warning: ‘boost::system::posix_category’ defined but not used
    /opt/local/include/boost/system/error_code.hpp:215: warning: ‘boost::system::errno_ecat’ defined but not used
    /opt/local/include/boost/system/error_code.hpp:216: warning: ‘boost::system::native_ecat’ defined but not used
    make[1]: *** [obj/lowlevel_Release/cpu.o] Error 1
    make: *** [lowlevel] Error 2
    make: *** Waiting for unfinished jobs....

    and many things like that :

    ld: warning: in /opt/local/lib/libxml2.dylib, file was built for unsupported file format which is not the architecture being linked (i386)
    ld: warning: duplicate dylib /opt/local/lib/libz.1.dylib
    ld: in /opt/local/lib/libxml2.2.dylib, file was built for unsupported file format which is not the architecture being linked (i386)

  6. I've delete my old copy and download a new one.

    During ==== Building wxJS ==== the error is :

    cpu.cpp
    ../../../source/lib/sysdep/cpu.cpp: In function ‘void TestCAS64()’:
    ../../../source/lib/sysdep/cpu.cpp:51: error: invalid conversion from ‘volatile int64_t*’ to ‘volatile intptr_t*’
    ../../../source/lib/sysdep/cpu.cpp:51: error: initializing argument 1 of ‘bool cpu_CAS(volatile intptr_t*, intptr_t, intptr_t)’
    In file included from /opt/local/include/wx-2.8/wx/html/helpdata.h:21,
    from /opt/local/include/wx-2.8/wx/html/helpfrm.h:20,
    from /opt/local/include/wx-2.8/wx/html/helpctrl.h:20,
    from /opt/local/include/wx-2.8/wx/help.h:36,
    from /opt/local/include/wx-2.8/wx/cshelp.h:19,
    from ../../../source/tools/atlas/wxJS/gui/control/helpbtn.h:28,
    from ../../../source/tools/atlas/wxJS/gui/gui_init.cpp:82:
    /opt/local/include/wx-2.8/wx/filesys.h: In member function ‘wxFSHandlerHash_wxImplementation_HashTable::Node** wxFSHandlerHash_wxImplementation_HashTable::GetNodePtr(const void* const&) const’:
    /opt/local/include/wx-2.8/wx/filesys.h:176: warning: dereferencing type-punned pointer will break strict-aliasing rules
    ../../../source/lib/sysdep/cpu.cpp: At global scope:
    ../../../source/lib/sysdep/cpu.cpp:30: warning: ‘LINE_30_2’ defined but not used
    ../../../source/lib/sysdep/cpu.cpp:31: warning: ‘LINE_31_2’ defined but not used
    ../../../source/lib/sysdep/cpu.cpp:32: warning: ‘LINE_32_2’ defined but not used
    /opt/local/include/boost/system/error_code.hpp:214: warning: ‘boost::system::posix_category’ defined but not used
    /opt/local/include/boost/system/error_code.hpp:215: warning: ‘boost::system::errno_ecat’ defined but not used
    /opt/local/include/boost/system/error_code.hpp:216: warning: ‘boost::system::native_ecat’ defined but not used
    make[1]: *** [obj/lowlevel_Release/cpu.o] Error 1
    make: *** [lowlevel] Error 2
    make: *** Waiting for unfinished jobs....

    (too long ?)

  7. With the last rev (8078) i've :

    ==== Building atlas ====
    make[1]: *** No rule to make target `../../../source/graphics/TextureEntry.h', needed by `obj/graphics_Release/GameView.o'. Stop.
    make: *** [graphics] Error 2
    make: *** Waiting for unfinished jobs....
    make[1]: *** No rule to make target `../../../source/graphics/TextureManager.h', needed by `obj/engine_Release/GameSetup.o'. Stop.
    make[1]: *** Waiting for unfinished jobs....
    World.cpp
    make[1]: *** No rule to make target `../../../source/graphics/TextureEntry.h', needed by `obj/atlas_Release/ActorViewer.o'. Stop.
    make: *** [atlas] Error 2
    In file included from ../../../source/ps/World.cpp:33:
    ../../../source/lib/timer.h: In member function ‘void TimerUnit::AddDifferenceAtomic(TimerUnit, TimerUnit)’:
    ../../../source/lib/timer.h:178: warning: dereferencing type-punned pointer will break strict-aliasing rules
    make: *** [engine] Error 2

    And with your line it's :

    make[1]: *** No rule to make target `../../../source/graphics/TextureManager.h', needed by `obj/engine_Release/GameSetup.o'.  Stop.
    make: *** [engine] Error 2
    make: *** Waiting for unfinished jobs....
    make[1]: `../../../binaries/system/libi18n.a' is up to date.
    make[1]: *** No rule to make target `../../../source/graphics/TextureEntry.h', needed by `obj/graphics_Release/GameView.o'. Stop.
    make: *** [graphics] Error 2

    Exept if I was wrong with main.cpp. Should he looks like that ?

    int main(int argc, char* argv[])
    {
    EarlyInit(); // must come at beginning of main
    debug_printf(L"here are the sizes: %d %d %d\n", sizeof(int), sizeof(void*), sizeof(intptr_t));

    RunGameOrAtlas(argc, const_cast<const char**>(argv));

    return EXIT_SUCCESS;
    }

    I'm really lost. =/

  8. After adding your code to cpu.cpp, the error is :

    cpu.cpp
    ../../../source/lib/sysdep/cpu.cpp:57:2: error: #error "arch is 64, remove me"
    ../../../source/lib/sysdep/cpu.cpp:59:5: warning: "sizeof" is not defined
    ../../../source/lib/sysdep/cpu.cpp:59:11: error: missing binary operator before token "("
    ../../../source/lib/sysdep/cpu.cpp: In function ‘void TestCAS64()’:
    ../../../source/lib/sysdep/cpu.cpp:38: error: invalid conversion from ‘volatile int64_t*’ to ‘volatile intptr_t*’
    ../../../source/lib/sysdep/cpu.cpp:38: error: initializing argument 1 of ‘bool cpu_CAS(volatile intptr_t*, intptr_t, intptr_t)’
    ../../../source/lib/sysdep/cpu.cpp: At global scope:
    ../../../source/lib/sysdep/cpu.cpp:30: warning: ‘LINE_30_2’ defined but not used
    ../../../source/lib/sysdep/cpu.cpp:31: warning: ‘LINE_31_2’ defined but not used
    ../../../source/lib/sysdep/cpu.cpp:32: warning: ‘LINE_32_2’ defined but not used
    /opt/local/include/boost/system/error_code.hpp:214: warning: ‘boost::system::posix_category’ defined but not used
    /opt/local/include/boost/system/error_code.hpp:215: warning: ‘boost::system::errno_ecat’ defined but not used
    /opt/local/include/boost/system/error_code.hpp:216: warning: ‘boost::system::native_ecat’ defined but not used
    make[1]: *** [obj/lowlevel_Release/cpu.o] Error 1
    make: *** [lowlevel] Error 2

    So i've removed

    #if ARCH_AMD64 == 1
    #error "arch is 64, remove me"
    #endif

    And the error is :

    ==== Building mocks_test ====
    ../../../source/lib/sysdep/cpu.cpp:57:5: warning: "sizeof" is not defined
    ../../../source/lib/sysdep/cpu.cpp:57:11: error: missing binary operator before token "("
    ../../../source/lib/sysdep/cpu.cpp: In function ‘void TestCAS64()’:
    ../../../source/lib/sysdep/cpu.cpp:38: error: invalid conversion from ‘volatile int64_t*’ to ‘volatile intptr_t*’
    ../../../source/lib/sysdep/cpu.cpp:38: error: initializing argument 1 of ‘bool cpu_CAS(volatile intptr_t*, intptr_t, intptr_t)’
    ../../../source/lib/sysdep/cpu.cpp: At global scope:
    ../../../source/lib/sysdep/cpu.cpp:30: warning: ‘LINE_30_2’ defined but not used
    ../../../source/lib/sysdep/cpu.cpp:31: warning: ‘LINE_31_2’ defined but not used
    ../../../source/lib/sysdep/cpu.cpp:32: warning: ‘LINE_32_2’ defined but not used
    /opt/local/include/boost/system/error_code.hpp:214: warning: ‘boost::system::posix_category’ defined but not used
    /opt/local/include/boost/system/error_code.hpp:215: warning: ‘boost::system::errno_ecat’ defined but not used
    /opt/local/include/boost/system/error_code.hpp:216: warning: ‘boost::system::native_ecat’ defined but not used
    make[1]: `../../../binaries/system/libmocks_test.a' is up to date.
    ==== Building AtlasObject ====
    make[1]: *** [obj/lowlevel_Release/cpu.o] Error 1
    make: *** [lowlevel] Error 2

    I don't understand anything. =/

    But thanks for the help. ^^

  9. I've tried with archive of the latest release instead of SVN files. (http://trac.wildfiregames.com/wiki/LatestRelease)

    So during building lowlevel :

    ../../../source/lib/sysdep/cpu.cpp:38: error: invalid conversion from ‘volatile int64_t*’ to ‘volatile intptr_t*’
    ../../../source/lib/sysdep/cpu.cpp:38: error: initializing argument 1 of ‘bool cpu_CAS(volatile intptr_t*, intptr_t, intptr_t)’
    ../../../source/lib/sysdep/cpu.cpp: At global scope:
    ../../../source/lib/sysdep/cpu.cpp:30: warning: ‘LINE_30_2’ defined but not used
    ../../../source/lib/sysdep/cpu.cpp:31: warning: ‘LINE_31_2’ defined but not used
    ../../../source/lib/sysdep/cpu.cpp:32: warning: ‘LINE_32_2’ defined but not used
    /opt/local/include/boost/system/error_code.hpp:214: warning: ‘boost::system::posix_category’ defined but not used
    /opt/local/include/boost/system/error_code.hpp:215: warning: ‘boost::system::errno_ecat’ defined but not used
    /opt/local/include/boost/system/error_code.hpp:216: warning: ‘boost::system::native_ecat’ defined but not used
    make[1]: *** [obj/lowlevel_Debug/cpu.o] Error 1
    make: *** [lowlevel] Error 2

    Thanks for your help.

  10. I've upgrade to the new revision but i've the same kinf of error during compilation.

    I don't understand the patch, i think. I've add the 3 lines in the source file, that's it ?

    EDIT : it seems to be working. Thanks Karlik ! I've missed the # in the patch.

    But i've some warning : "dereferencing type-punned pointer will break strict-aliasing rules".

    Is the command "sudo" necessary before "make" or not ?

    (Excuse my language, i'm french.) =/

×
×
  • Create New...