These forums have been archived and are now read-only.

The new forums are live and can be found at https://forums.eveonline.com/

Linux

 
  • Topic is locked indefinitely.
 

New native Linux trade tool

Author
Pete Butcher
The Scope
Gallente Federation
#1 - 2014-08-03 11:55:15 UTC
o7 all!

I just released a multuiplatform EVE trade tool - https://forums.eveonline.com/default.aspx?g=posts&m=4871741#post4871741
I would like to ask any interested Linux trader to download, test and give feedback. Thanks in advance!

http://evernus.com - the ultimate multiplatform EVE trade tool + nullsec Alliance Market tool

Dryvin Marstolt
Brave Newbies Inc.
Brave Collective
#2 - 2014-08-03 20:52:49 UTC
Very happy to see this. I'll download it this week and test it out. Been looking for a trade tool that works well for a while.
Pete Butcher
The Scope
Gallente Federation
#3 - 2014-08-04 07:35:42 UTC
Dryvin Marstolt wrote:
Very happy to see this. I'll download it this week and test it out. Been looking for a trade tool that works well for a while.


Cool. If you have any problems, let me know.
If you know anyone who uses other distros or OS X and would be interested in testing it out, can you show it to him?

http://evernus.com - the ultimate multiplatform EVE trade tool + nullsec Alliance Market tool

Pete Butcher
The Scope
Gallente Federation
#4 - 2014-08-08 05:49:56 UTC
Some people had problems compiling the code, so I put a little manual: http://evernus.com/help/#source_code_compilation_linux
Hope it helps.

http://evernus.com - the ultimate multiplatform EVE trade tool + nullsec Alliance Market tool

Dryvin Marstolt
Brave Newbies Inc.
Brave Collective
#5 - 2014-08-14 03:41:44 UTC
So far, I've not had any luck getting the program installed.

Arch Linux x86_64
Kernel 3.16.0-2-ARCH
cmake = 3.0.1
clang = 3.4.2
QT = 5.3.1
boost = 1.55.0-6

Cloned from bitbucket using:
hg clone https://bitbucket.org/krojew/evernus

cmake as directed in the guide:
cmake -G "Unix Makefiles" -DCMAKE_PREFIX_PATH=/home/user/Qt/5.3/gcc_64/lib/cmake

Cmake completes successfully.

Make errors out at 26%

Scanning dependencies of target evernus
[26%] Building CXX object CMakeFiles/evernus.dir/AboutDialog.cpp.o
c++: error: unrecognized command line option '-stdlib=libc++'
CMakeFiles/evernus.dir/build.make:512: recipe for target 'CMakeFiles/evernus.dir/AboutDialog.cpp.o' failed
make[2]: *** [CMakeFiles/evernus.dir/AboutDialog.cpp.o] Error 1
CmakeFiles/Makefile2:60: recipe for target 'CMakeFiles/evernus.dir/all' failed
make[1] *** [CMakeFiles/evernus.dir/all] Error 2
Makefile76: recipe for target 'all' failed
make: *** [all] Error 2

Looks like it's perhaps a dependency issue, but I believe I have everything you have listed. Anything obvious that I'm overlooking? It's been a long day and I'm already on my third rum and coke, so let me know if I did something dumb.


Dryvin Marstolt
Brave Newbies Inc.
Brave Collective
#6 - 2014-08-14 03:55:25 UTC
I looked back over your warning about using clang instead of gcc/libstdc++ and realized that may be part of the problem. I removed the directory and pulled from bitbucket again.

I updated the compiler flags,
export CC=/usr/bin/clang
export CXX=/usr/bin/clang++

Then ran the cmake again. It completed successfully and showed that it was using Clang instead of GCC this time. Make still failed at 26%, this time with:

/usr/include/qt/QTCore/qcompilerdetection.h:845:11: fatal error: 'utility' file not found
# include < utility >
1 error generated
CMakeFiles/evernus.dir/build.make:512: recipe for target 'CMakeFiles/evernus.dir/AboutDialog.cpp.o' failed
make[2]: *** [CMakeFiles/evernus.dir/AboutDialog.cpp.o] Error 1
CmakeFiles/Makefile2:60: recipe for target 'CMakeFiles/evernus.dir/all' failed
make[1] *** [CMakeFiles/evernus.dir/all] Error 2
Makefile76: recipe for target 'all' failed
make: *** [all] Error 2

Pete Butcher
The Scope
Gallente Federation
#7 - 2014-08-14 04:39:41 UTC
Dryvin Marstolt wrote:
I looked back over your warning about using clang instead of gcc/libstdc++ and realized that may be part of the problem. I removed the directory and pulled from bitbucket again.

I updated the compiler flags,
export CC=/usr/bin/clang
export CXX=/usr/bin/clang++

Then ran the cmake again. It completed successfully and showed that it was using Clang instead of GCC this time. Make still failed at 26%, this time with:

/usr/include/qt/QTCore/qcompilerdetection.h:845:11: fatal error: 'utility' file not found
# include < utility >
1 error generated
CMakeFiles/evernus.dir/build.make:512: recipe for target 'CMakeFiles/evernus.dir/AboutDialog.cpp.o' failed
make[2]: *** [CMakeFiles/evernus.dir/AboutDialog.cpp.o] Error 1
CmakeFiles/Makefile2:60: recipe for target 'CMakeFiles/evernus.dir/all' failed
make[1] *** [CMakeFiles/evernus.dir/all] Error 2
Makefile76: recipe for target 'all' failed
make: *** [all] Error 2



Are you sure you have libc++ installed? It failed on missing header from the c++ standard library.

http://evernus.com - the ultimate multiplatform EVE trade tool + nullsec Alliance Market tool

Pete Butcher
The Scope
Gallente Federation
#8 - 2014-08-14 04:42:56 UTC  |  Edited by: Pete Butcher
Also remember to apply https://codereview.qt-project.org/#/c/92205/ to qt (will be merged today, I think).

http://evernus.com - the ultimate multiplatform EVE trade tool + nullsec Alliance Market tool

Dryvin Marstolt
Brave Newbies Inc.
Brave Collective
#9 - 2014-08-14 19:09:37 UTC
Yeah, it was that simple. Libc++ wasn't installed. I thought that was a library that was part of GCC not a stand alone package. Programming is obviously not my strength.

The make gets further but fails at linking.

http://pastebin.com/raw.php?i=A9hYHU6P

I thought that clang was supposed to use LLVM, which is installed, but it appears to be using the GCC /usr/bin/ld. I don't know if that's right or not, and if it isn't, I'm not sure what to do about it.

I tried a fresh cmake with -D_CMAKE_TOOLCHAIN_PREFIX=llvm- but the behavior doesn't change.

Any insight would be appreciated.
Pete Butcher
The Scope
Gallente Federation
#10 - 2014-08-14 19:32:40 UTC  |  Edited by: Pete Butcher
Dryvin Marstolt wrote:
Yeah, it was that simple. Libc++ wasn't installed. I thought that was a library that was part of GCC not a stand alone package. Programming is obviously not my strength.

The make gets further but fails at linking.

http://pastebin.com/raw.php?i=A9hYHU6P

I thought that clang was supposed to use LLVM, which is installed, but it appears to be using the GCC /usr/bin/ld. I don't know if that's right or not, and if it isn't, I'm not sure what to do about it.

I tried a fresh cmake with -D_CMAKE_TOOLCHAIN_PREFIX=llvm- but the behavior doesn't change.

Any insight would be appreciated.


This is something new. I never encountered such problems with clang. Quick googling turns out http://stackoverflow.com/questions/10297291/clang-3-1-libc-compile-error . See also http://thread.gmane.org/gmane.comp.compilers.clang.devel/19782

Edit: I know some people who compiled Evernus with clang and didn't have such problems. Try linking with proposed ABI.

http://evernus.com - the ultimate multiplatform EVE trade tool + nullsec Alliance Market tool

Dryvin Marstolt
Brave Newbies Inc.
Brave Collective
#11 - 2014-08-14 23:36:17 UTC
Thanks for the info. I think that second link will help. I'll dig into it in more depth later tonight. I'd love to get this working as it looks extremely useful.