Jump to content

Errors while building alpha 0.0.23 under debian GNU/Linux


Karnorth85
 Share

Recommended Posts

Hi,

I've get some Errors and many messages while I tried to build the new release. I don't know further. After a bit contact with the deloppers in the chatroom, it couldn't get solved. So I ask again but now here in the forum.

The content of the found buildRunner2.txt is the follows:

Running cxxtest tests (2 tests).
In MyTestSuite2::testMultiplication:
MyTestSuite2.h:16: Error: Expected (2 * 2 == 5), found (4 != 5)
Failed 1 and Skipped 0 of 2 tests
Success rate: 50%

Oh stop, I only notice now, that it is in the sub-directory libraries/sources/cxxtest-4.4/examples.

So I need to look for other log files or there like. I found no other in the directory, in which the rest of the files is stored. The output of the console seems to be too big for the post, I will try it on an other way now: With a link to the fille in which I copied the console-output:link_to_the_console-output

I hope that finally it will work now, with the post.

Okay, but I forgot to write, that I used the official sources from the download-page of the official webpage.

Edited by Karnorth85
Link to comment
Share on other sites

Welcome to the forums!

Could we ask you to start at the beginning, tell us where you've got the source from, and take us through the exact steps you've used to get to this point, please? (List the exact commands, any arguments you're passing to them, etc.)


Relevant IRC Chat log excerpt: (http://irclogs.wildfiregames.com/2018-05/2018-05-22-QuakeNet-%230ad-dev.log)

  Reveal hidden contents
  • Like 1
Link to comment
Share on other sites

Well I donloaded the source from this official site: https://play0ad.com/download/source/

Then I followed the build-instructions from this site, under considering the Dependencies further above: https://trac.wildfiregames.com/wiki/BuildInstructions#DebianUbuntu

Then I entered  into the console as further down described, but with other CPU-Core count: ./update-workspaces.sh -j5

When that had gone through I entered in the subdirectory gcc: make -j5

As so far, I don't see what I did do wrong. Whatever I did wrong, I seems to did a fail.

Link to comment
Share on other sites

Funny wise, I came to the Idea, to delete the uncompressed directory and uncompress again. The result of going in the directory "0ad-0.0.23-alpha/build/workspaces" calling the script with "./update-workspaces.sh --with-system-nvtt -j5" going into the subdirectory gcc and calling "make -j5" did throw a lesser number of error messages. Only these messages kept remained, after many status messages :unsure::

==== Building pyrogenesis (release) ====
main.cpp
Linking pyrogenesis
../../../binaries/system/libengine.a(ModIo.o): In function `ModIo::ModIo()':
/home/arne/0ad_Ken_Wood/0ad-0.0.23-alpha/build/workspaces/gcc/../../../source/ps/ModIo.cpp:120: undefined reference to `sodium_base642bin'
../../../binaries/system/libengine.a(ModIo.o): In function `ModIo::ParseSignature(std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&, SigStruct&, PKStruct const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&)':
/home/arne/0ad_Ken_Wood/0ad-0.0.23-alpha/build/workspaces/gcc/../../../source/ps/ModIo.cpp:777: undefined reference to `sodium_base642bin'
/home/arne/0ad_Ken_Wood/0ad-0.0.23-alpha/build/workspaces/gcc/../../../source/ps/ModIo.cpp:793: undefined reference to `sodium_base642bin'
collect2: error: ld returned 1 exit status
pyrogenesis.make:83: recipe for target '../../../binaries/system/pyrogenesis' failed
make[1]: *** [../../../binaries/system/pyrogenesis] Error 1
Makefile:68: recipe for target 'pyrogenesis' failed
make: *** [pyrogenesis] Error 2"

 

Okay it are not so much as before, but I must agree that I'm confused now. Especially what I entered wrong things before.

Link to comment
Share on other sites

Hi,

when I read the post from stanislas69 my answer limit was reached, but I checked it out: In the repositories only an older version than needed was available. So after I uninstalled this one, I downloaded and installed a newer one that I think is 1.0.16. Then it worked, I could only announce it today. Because I couldn't answer again on yesterday. Now the Alpha 23 works. That I've got checked. By the way, I can say thank you all for the help.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...