Hello! Cmake?
#1
Hello! Cmake?
I don't see an introduction thread so I hope this is the right place. 

I'm John, and I recently was given an Octane2 from my father. I've a minor in software engineering so I was able to get myself up and going okay, I am using didbs to get a recent gcc on it and all and have been testing the sgug-rse

Only issue is I'm without a recent version of CMake. I need at least 3.9 to compile and test a network analyzer my roommate has been developing for his C++ electives. I found a 3.3 CMake online but it isn't recent enough. 

I tried asking in #sgi on OFTC but I somehow got +b and I'm left without a way to handle this. I hope someone here can help me get this going. 

Thank you!

- John
JCValentine
O2

Trade Count: (0)
Posts: 3
Threads: 1
Joined: Feb 2020
Find Reply
02-26-2020, 08:47 PM
#2
RE: Hello! Cmake?
Good afternoon John and welcome to the forums.

You're in the right spot for beginners. Did you try to compile a later version of CMake at all? If so, where did you get stuck?

I'm really sorry to hear you have had trouble getting help. I do have a CMake 3.5 package that originated with user mach_kernel.

I'm not sure what a later CMake will need, but I'll be happy to see what we can do.

I'm the system admin of this site. Private security technician, licensed locksmith, hack of a c developer and vintage computer enthusiast. 

https://contrib.irixnet.org/raion/ -- contributions and pieces that I'm working on currently. 

https://codeberg.org/SolusRaion -- Code repos I control

Technical problems should be sent my way.
Raion
Chief IRIX Officer

Trade Count: (9)
Posts: 4,239
Threads: 533
Joined: Nov 2017
Location: Eastern Virginia
Website Find Reply
02-26-2020, 08:54 PM
#3
RE: Hello! Cmake?
CMake is a bit of a problem. Support for IRIX has been removed with version 3.9, see https://gitlab.kitware.com/cmake/cmake/m.../903/diffs

Furthermore, as of 3.7 you need to also port a libuv library which is a dependency for CMake 3.7 and up, so the best you can do is 3.6 for now. There are people working on libuv and more recent 3.14 CMake, but these have to be built with GNU C++ compilers

Make sure that your know the C++ version requirements of your roommate's network analyzer. The MIPSPro C++ compiler supports only C++03 so anything beyond that needs GNU C++ as well.
dexter1
Administrator

Trade Count: (1)
Posts: 297
Threads: 17
Joined: May 2018
Location: The Netherlands
Find Reply
02-26-2020, 09:35 PM
#4
RE: Hello! Cmake?
Oh bother that's a huge hassle I'm sure. Pretty much rules out MIPSPRO.

I got my cmake 3.5 here, I'll put it up and you can hack around it John.

I'm the system admin of this site. Private security technician, licensed locksmith, hack of a c developer and vintage computer enthusiast. 

https://contrib.irixnet.org/raion/ -- contributions and pieces that I'm working on currently. 

https://codeberg.org/SolusRaion -- Code repos I control

Technical problems should be sent my way.
Raion
Chief IRIX Officer

Trade Count: (9)
Posts: 4,239
Threads: 533
Joined: Nov 2017
Location: Eastern Virginia
Website Find Reply
02-26-2020, 11:05 PM
#5
RE: Hello! Cmake?
It looks like I have some work to do either way. I took a look at libuv and I have no desire to undertake that any time soon. If you can get 3.5 up, I'll be grateful.

I'm using GCC because I have no license for MIPSPro, and I only have "cc" in my installation. Not c99. And I'm not familiar with old compilers.

I'll probably just try and get his project running on CMake 3.5 if you get that up. Thank you Raion and Dexter1.
JCValentine
O2

Trade Count: (0)
Posts: 3
Threads: 1
Joined: Feb 2020
Find Reply
02-27-2020, 02:58 AM
#6
RE: Hello! Cmake?
Hi John,

Sorry for the delay, here's what I have: http://irix.cc/cmake-3.5.0-IRIX64-mips.tar.gz

This build is originally by mach_kernel, so hopefully it helps!

I'm the system admin of this site. Private security technician, licensed locksmith, hack of a c developer and vintage computer enthusiast. 

https://contrib.irixnet.org/raion/ -- contributions and pieces that I'm working on currently. 

https://codeberg.org/SolusRaion -- Code repos I control

Technical problems should be sent my way.
Raion
Chief IRIX Officer

Trade Count: (9)
Posts: 4,239
Threads: 533
Joined: Nov 2017
Location: Eastern Virginia
Website Find Reply
02-29-2020, 04:11 PM
#7
RE: Hello! Cmake?
Hello,

Wanted to hop on since I finally have time between GSA work and the shift to online classes at UCF.

I have managed to get the program compiled under IRIX. Since my friend doesn't plan to release it I can't share a lot of details, but the overall process was:

Lower the required version in the cmakelists

Clean and downgrade functions and syntax

Regenerate the makefiles using cmake

And then the lengthy process of compiling using GCC8. I managed to, after patching some network interface code, to get it working. Haven't done something like this in years. Thank you everyone who helped me out.
JCValentine
O2

Trade Count: (0)
Posts: 3
Threads: 1
Joined: Feb 2020
Find Reply
03-30-2020, 04:43 AM
#8
RE: Hello! Cmake?
Glad that got you set up. Thanks for hopping on and letting me know that did the trick.

I'm the system admin of this site. Private security technician, licensed locksmith, hack of a c developer and vintage computer enthusiast. 

https://contrib.irixnet.org/raion/ -- contributions and pieces that I'm working on currently. 

https://codeberg.org/SolusRaion -- Code repos I control

Technical problems should be sent my way.
Raion
Chief IRIX Officer

Trade Count: (9)
Posts: 4,239
Threads: 533
Joined: Nov 2017
Location: Eastern Virginia
Website Find Reply
03-31-2020, 03:33 AM


Forum Jump:


Users browsing this thread: 1 Guest(s)