IRIX Network Forums
Hello! Cmake? - Printable Version

+- IRIX Network Forums (//forums.irixnet.org)
+-- Forum: SGI/MIPS (//forums.irixnet.org/forum-3.html)
+--- Forum: Beginners' Questions/Tips (//forums.irixnet.org/forum-6.html)
+--- Thread: Hello! Cmake? (/thread-1909.html)



Hello! Cmake? - JCValentine - 02-26-2020

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


RE: Hello! Cmake? - Raion - 02-26-2020

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.


RE: Hello! Cmake? - dexter1 - 02-26-2020

CMake is a bit of a problem. Support for IRIX has been removed with version 3.9, see https://gitlab.kitware.com/cmake/cmake/merge_requests/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.


RE: Hello! Cmake? - Raion - 02-26-2020

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.


RE: Hello! Cmake? - JCValentine - 02-27-2020

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.


RE: Hello! Cmake? - Raion - 02-29-2020

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!


RE: Hello! Cmake? - JCValentine - 03-30-2020

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.


RE: Hello! Cmake? - Raion - 03-31-2020

Glad that got you set up. Thanks for hopping on and letting me know that did the trick.