Code Monkey home page Code Monkey logo

Comments (3)

ahrendsen avatar ahrendsen commented on September 25, 2024

I've been slowly working through the errors, but I've hit one that I'm not sure how to go about solving involving the libmkiv.so library. See the full details in the commit message at ahrendsen@6f44765

from cleed.

ahrendsen avatar ahrendsen commented on September 25, 2024

Attempting to use the non-gui cmake, I run into issues that I can't resolve involving the previous place it was compiled.

-- Detecting Fortran/C Interface
CMake Error: The current CMakeCache.txt directory /home/karl/gitSpace/CLEED3/CLEED/CMakeFiles/FortranCInterface/CMakeCache.txt is different than the directory c:/Users/kss07698/Dropbox/Windows Tweaks/CLEED_tools_win32/cleed/src/CLEED/CMakeFiles/FortranCInterface where CMakeCache.txt was created. This may result in binaries being created in the wrong place. If you are not sure, reedit the CMakeCache.txt
CMake Error: The source "/usr/share/cmake-3.10/Modules/FortranCInterface/CMakeLists.txt" does not match the source "C:/Users/kss07698/Dropbox/Windows Tweaks/CLEED_tools_win32/cleed/src/CLEED/CMakeFiles/FortranCInterfaceMinGW/CMakeLists.txt" used to generate cache.  Re-run cmake with a different source directory.
CMake Error at /usr/share/cmake-3.10/Modules/FortranCInterface/Detect.cmake:31 (try_compile):
  Failed to configure test project build system.
Call Stack (most recent call first):
  /usr/share/cmake-3.10/Modules/FortranCInterface.cmake:224 (include)
  CMakeLists.txt:210 (INCLUDE)


-- Configuring incomplete, errors occurred!
See also "/home/karl/gitSpace/CLEED3/CLEED/CMakeFiles/CMakeOutput.log".
See also "/home/karl/gitSpace/CLEED3/CLEED/CMakeFiles/CMakeError.log".

I'm sure there's an easy fix to this, but the output doesn't seem to be helpful.

EDIT: Just kidding, it was helpful, I just had to read it. I just had to delete the CMakeCache.txt file in the CMakeFiles/FortranCInterface/ folder, as well as in the main directory.

from cleed.

ahrendsen avatar ahrendsen commented on September 25, 2024

I don't know what I did to fix it, but the libmkv.so issue is no longer present. I know this is kind of haphazard right now, but it's mainly bookkeeping for myself and I'll link my fork once I have identified all of the changes that need to be made.

Now I'm encountering an issue with patt.c, it looks like something I can sort out. Here's a snippet of the errors:

[ 64%] Built target mkiv
[ 64%] Building C object src/patt/CMakeFiles/patt.dir/patt.c.o
/home/karl/gitSpace/CLEED3/CLEED/src/patt/patt.c: In function ‘main’:
/home/karl/gitSpace/CLEED3/CLEED/src/patt/patt.c:116:18: error: ‘PATT_COLOR’ undeclared (first use in this function); did you mean ‘PATT_GOLD’?
 int color_flag = PATT_COLOR;        /* PATT_COLOR for rgb (default) */
                  ^~~~~~~~~~
                  PATT_GOLD
/home/karl/gitSpace/CLEED3/CLEED/src/patt/patt.c:116:18: note: each undeclared identifier is reported only once for each function it appears in
/home/karl/gitSpace/CLEED3/CLEED/src/patt/patt.c:124:2: error: ‘out_stream’ undeclared (first use in this function)
  out_stream = stdout;
  ^~~~~~~~~~
/home/karl/gitSpace/CLEED3/CLEED/src/patt/patt.c:125:2: error: ‘in_stream’ undeclared (first use in this function); did you mean ‘out_stream’?
  in_stream = stdin;
  ^~~~~~~~~
  out_stream
/home/karl/gitSpace/CLEED3/CLEED/src/patt/patt.c:126:2: error: ‘in_streams’ undeclared (first use in this function); did you mean ‘in_stream’?
  in_streams[0] = stdin;
  ^~~~~~~~~~
  in_stream

A real quick note as well, I think the mkiv.so issue may have been sorted by a proper cmake cli call rather than using the gui.

from cleed.

Related Issues (2)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.