r/cmake

▲ 6 r/cmake+1 crossposts

building OpenBW

Hello people, I've been trying to install OpenBW, and it's been a straight HASSLE. The repositories are outdated and you have to do some manual modifications to get stuff to work, and I've hit a stump in the road.

CMake Error at bwapi/OpenBWData/cmake_install.cmake:51 (file):

file INSTALL cannot find

"C:/Users/lilbo/bwapi/build/bin/Release/OpenBWData.dll": No error.

Call Stack (most recent call first):

bwapi/cmake_install.cmake:45 (include)

cmake_install.cmake:37 (include)

I'm hoping someone here might have some experience with it? If needed I will send more information. The file it's looking for is, in fact, not there, but I don't know where I'd be able to get that file from.

reddit.com
u/SILVERofINKSTUDIOS — 4 days ago
▲ 0 r/cmake

Need help with fbcp framebuffer mirroring

Hi all! I'd like to firstly declare I am a total novice little baby and preemptively apologize for dumb noob questions.

Now, the issue: I'm trying to build a dual screen Cyberdeck using a raspberry pi running TwisterOS, one of the screens (3.5 inch waveshare) connects via GPIO so I need to use fbcp to make it work, I've been following the instructions (copy pasting commands into my command prompt) and I've been slapped with the following wall of error whenever i type $ cmake [options] .. I, of course, have no idea what this means, I just want my screens to work, any and all advice much appreciated

CMake Warning:
  Ignoring extra path from command line:

   "/home/pi/fbcp-ili9341/build/[options]"
CMake Warning (dev) in CMakeLists.txt:
  No project() command is present.  The top-level CMakeLists.txt file must
  contain a literal, direct call to the project() command.  Add a line of
  code such as

    project(ProjectName)

  near the top of the file, but after cmake_minimum_required().

  CMake is pretending there is a "project(Project)" command on the first
  line.
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 2.8.12 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


-- Doing a Release build
-- Board revision: b03115
CMake Warning at CMakeLists.txt:40 (message):
  The board revision of this hardware is not known.  Please add detection to
  this board in CMakeLists.txt.  (proceeding to compile against a generic
  multicore CPU)


-- Scaling source image to view. If the HDMI resolution does not match the SPI display resolution, this will produce blurriness. Match the HDMI display resolution with the SPI resolution in /boot/config.txt to get crisp pixel perfect rendering, or alternatively pass -DDISPLAY_CROPPED_INSTEAD_OF_SCALING=ON to crop instead of scale if you want to view the center of the screen pixel perfect when HDMI and SPI resolutions do not match.
-- Preserving aspect ratio when scaling source image to the SPI display, introducing letterboxing/pillarboxing if HDMI and SPI aspect ratios are different (Pass -DDISPLAY_BREAK_ASPECT_RATIO_WHEN_SCALING=ON to stretch HDMI to cover full screen if you do not care about aspect ratio)
CMake Error at CMakeLists.txt:136 (message):
  Please define -DSPI_BUS_CLOCK_DIVISOR=<some even number> on the CMake
  command line! (see files ili9341.h/waveshare35b.h for details) This
  parameter along with core_freq=xxx in /boot/config.txt defines the SPI
  display speed.  Smaller divisor number=faster speed, higher number=slower.


-- Configuring incomplete, errors occurred!
See also "/home/pi/fbcp-ili9341/build/CMakeFiles/CMakeOutput.log".
reddit.com
u/TimAllenNoise — 6 days ago