Jump to content

ModIo.cpp errors SVN Linux


Palaiologos
 Share

Recommended Posts

Hello, It seems that I'm incorrectly compiling code. After the 'makeĀ  -j3' command per the build instructions for debian, ModIo.cpp errors appear which I assume means the compiling was unsuccessful. There are a few added screen shot attachments as well if it helps. Thanks for your time in advance.2.thumb.png.47039870704bddeb20afca4f3da11e15.png

4.png

Screenshot from 2018-05-05 05-19-22.png

Screenshot from 2018-05-05 05-20-10.png

Screenshot from 2018-05-05 05-33-06.png

Screenshot from 2018-05-04 06-14-52.png

Link to comment
Share on other sites

@Imarok

23 hours ago, Palaiologos said:

libsodium-stable-2018-05-05.tar.gz ļ»æ 29-Apr-2018 15:48

So, what your saying is to do an auto-removal of the libsodium.tar in my above post? or all libsodium packages that are seen in synaptic?

20 hours ago, Imarok said:

sļ»æystem libsodļ»æium package

Which one would that be exactly? Apologies for confusion here. Also, I made sure to take into consideration per the build instructions that it was the most recent or required version, as @elexis and @stanislas69 have also pointed out in regards to.

10.png

Link to comment
Share on other sites

@elexis

1 hour ago, elexis said:

Did you run clean-workspaces.sh after installing/updating libsodium? ļ»æ

Ā Yes, was not fully thorough when providing the initially posted screen-shots showing various terminal commands etc., didn't include that part, but with libsodium installed, ran './clean-workspaces.sh'Ā  as @(-_-) had first suggested in theĀ  '0ad/build/workspaces' folder and followed that with apt update all packages and still the same errors persist in the same ModIo.cpp location.

@Imarok

1 hour ago, Imarok said:

Just remove/uninstall all libsodium you have on your machine, then install only the newest one manually. ļ»æ

Ok, will do.

Link to comment
Share on other sites

1 hour ago, ffffffff said:

maybe need after sudo make install

LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/usr/local/lib/" binaries/system/pyrogenesis&

to start

just mentioning

was my god case

Yeah, that could do the same as my suggestion. (Assuming it does what it looks like...)

Link to comment
Share on other sites

@Imarok Yes, in which the ModIo.cpp errors are now no longer appearing and compiling seems to complete itself. No, when it comes to this part of the process as shown in the second screenshot of original posting, which at first I had assumed were somehow correlated with the ModIo.cpp errors...

Testing

Run the automated tests to verify that everything works as expected like this:

cd ../../..
binaries/system/test

Running

If everything went well, compiling the code worked and all tests passed, it's finally time to run the game:

binaries/system/pyrogenesis

@ffffffff

18 hours ago, ffffffff said:

after sodium lib compile in sodium source folder (make...)

sudo make uninstall in the sodium source folder.

and install again with sudo make install.

then start again compile of 0ad in 0ad source folder.

if it same error try LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/usr/local/lib/" make

in gcc folder of 0ad ļ»æ

19.thumb.png.80203e74d85333f45e064530910be169.png

Followed up with...

20.thumb.png.4d2b74d02de9dbd1fca75168d04ce574.png

12.png

13.png

Link to comment
Share on other sites

9 hours ago, ffffffff said:

first u dont need sudo to make,

only when make install,

so make without sudo

and then sudo make install

then

LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/usr/local/lib/"Ā  make means it must stand before make as it setting an environmental variable for make.

He doesn't need any inlude paths, as compiling works now.

@Palaiologos have you done update-workspace before? (Without sudo)

Link to comment
Share on other sites

@Imarok @mapkoc @ffffffff

Ā 

13 hours ago, Imarok said:

have you done update-workspace before?

Yes, without sudo

On 5/6/2018 at 10:11 AM, ffffffff said:

was my god case

Is this an expression in coding?

20 hours ago, mapkoc said:

Did you try to include this path instead? /usr/local/lib/sodiumļ»æļ»æ

33.thumb.png.9b3f0d0e15cfd6aeb0bf7903def3a3fb.png

23 hours ago, ffffffff said:

make without sudo

and then sudo make install

then

LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/usr/local/lib/"ļ»æļ»æ

31.thumb.png.efaae958d2da5750708be67e964a693a.png

23 hours ago, ffffffff said:

first u dont need sudo to make,

only when make install

Thanks, learned something new.

30.png.72e5b236881ae940e11506915099afda.png

34.thumb.png.339c700e4ea180fe9e969ba048c446f8.png

Ā 

Ā 

Link to comment
Share on other sites

16 minutes ago, Palaiologos said:

Is this an ļ»æexpressionļ»æ in coding?ļ»æļ»æļ»æļ»æ

No, that is the white Gaussian noise Ā @ffffffffĀ  sometimes emits.

I think you need to do make clean and cleanworkspace with sudo and after that updateworkspace and make without sudo.

(Already heard 10,000 days? ;P)

Link to comment
Share on other sites

23 minutes ago, Imarok said:

No, that is the white Gaussian noiseļ»æ Ā @ffffffffĀ  sometimes emits.

Heh :) (begins to aimlessly read up on Information Theory)

24 minutes ago, Imarok said:

I think you need to do make clean and cleanworkspace with sudo and after that updateworkspace and make without sudo. ļ»æļ»æ

Will be sure to mess that up somehow. ;)

26 minutes ago, Imarok said:

(Already heard 10,000 daysļ»æ? ;P) ļ»æ

Fan too I presume?

Felt appropriate to get through sudo this, no sudo this, sudo that, sudo here, sudo there, sudo, Sudo! SUDO!! Appreciate your help.

Ā 

Link to comment
Share on other sites

On 5/7/2018 at 7:05 AM, ffffffff said:

LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/usr/local/lib/"

Ā 

On 5/7/2018 at 9:36 AM, mapkoc said:

Did you try to include this path instead? /usr/local/lib/sodiumļ»æ

"Depending on where the software is being installed, you might need escalated permissions for this step so you can copy files to system directories. Using sudo will often do the trick"

Ā 

"The tarball you download usually doesnā€™t include a finished Makefile. Instead it comes with a template called Makefile.in and the configure script produces a customised Makefile specific to your system."

Essentially, we are trying to merge the libsodium package into the proper filesystem?

65.png

Link to comment
Share on other sites

1 hour ago, ffffffff said:

i had to do also (after install)


sudo ln -s /usr/local/lib/libsodium.so.18.4.0 /usr/local/lib/libsodium.so.23

or


sudo ln -s /usr/local/lib/libsodium.so /usr/local/lib/libsodium.so.23

but then from 0ad source folder


LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/usr/local/lib/" binaries/system/pyrogenesis

works

u can also go to 0ad ppa and download libsodium from within the next few days when a23 released ricotz is going to upload correct sodium package to ppa for ubuntus

Afaik all that is NOT needed if you have installed libsodium only manually and don't have any other version around.

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...