Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minor cmake issues #23

Closed
wjaskowski opened this issue Feb 24, 2016 · 2 comments
Closed

Minor cmake issues #23

wjaskowski opened this issue Feb 24, 2016 · 2 comments

Comments

@wjaskowski
Copy link
Collaborator

Got:

Make Error at /usr/share/cmake-3.2/Modules/FindPackageHandleStandardArgs.cmake:138 (message):
  Could NOT find JNI (missing: JAVA_AWT_LIBRARY JAVA_JVM_LIBRARY
  JAVA_INCLUDE_PATH JAVA_INCLUDE_PATH2 JAVA_AWT_INCLUDE_PATH)
Call Stack (most recent call first):
  /usr/share/cmake-3.2/Modules/FindPackageHandleStandardArgs.cmake:374 (_FPHSA_FAILURE_MESSAGE)
  /usr/share/cmake-3.2/Modules/FindJNI.cmake:287 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  CMakeLists.txt:85 (find_package)

Solution:

export JAVA_HOME=/usr/lib/jvm/java-8-oracle

Got:

-- checking for module 'gtk+-2.0'
--   package 'gtk+-2.0' not found
-- Could NOT find OpenAL (missing:  OPENAL_LIBRARY OPENAL_INCLUDE_DIR) 
-- Could not find FMOD include files
-- Could NOT find SndFile (missing:  SNDFILE_LIBRARY SNDFILE_INCLUDE_DIR) 
-- Could NOT find MPG123 (missing:  MPG123_LIBRARIES MPG123_INCLUDE_DIR) 
-- Could NOT find FluidSynth (missing:  FLUIDSYNTH_LIBRARIES FLUIDSYNTH_INCLUDE_DIR) 

But cmake succeeded. So, is it a problem?

@mihahauke
Copy link
Collaborator

If it work it should not be a problem. Zdoom describes theses packages as optional so I guess now we know what they meant.

@mwydmuch
Copy link
Collaborator

Yes - JAVA_HOME must be set. CMake will now show error message if it isn't.
All this packages are optional and used only for mp3 and 3d sound support.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants