Open Source Lugaru SDL.h Missing?
-
- Posts: 2218
- Joined: Sun Aug 31, 2008 6:03 pm
Open Source Lugaru SDL.h Missing?
I've been trying to compile for a while with MinGW, and I think it's telling me that the file SDL.h is missing.
-
- official Wolfire heckler
- Posts: 2193
- Joined: Sun Aug 28, 2005 11:19 pm
- Location: Hamburg City
- Contact:
Re: Open Source Lugaru SDL.h Missing?
If I remember correctly, if you used CMake for configuring, that should resolve dependancy issues for you. Otherwise, the project isn't set up to compile without issues with plain make.
What is CMake? http://www.cmake.org/Wiki/CMake_FAQ#What_is_CMake.3F
So you need to get CMake and use that. I'm not sure how you'd get that done on Windows though. You'll have to figure that out by yourself. Basically, you want CMake available from inside MinGW. Maybe it's already included? I'm not sure.
Once you have CMake, it's a matter of typing
in the root folder you checked out.
After that, all dependancies are resolved and native makefiles are generated, and you can build the project with.
What is CMake? http://www.cmake.org/Wiki/CMake_FAQ#What_is_CMake.3F
So you need to get CMake and use that. I'm not sure how you'd get that done on Windows though. You'll have to figure that out by yourself. Basically, you want CMake available from inside MinGW. Maybe it's already included? I'm not sure.
Once you have CMake, it's a matter of typing
Code: Select all
cmake ./
After that, all dependancies are resolved and native makefiles are generated, and you can build the project with
Code: Select all
make
-
- Posts: 2218
- Joined: Sun Aug 31, 2008 6:03 pm
Re: Open Source Lugaru SDL.h Missing?
Getting OpenAL missing issues... Reading up on it...
Code: Select all
Microsoft Windows [Version 6.0.6001]
Copyright (c) 2006 Microsoft Corporation. All rights reserved.
C:\Users\*>cd desktop\lugaru-*
C:\Users\*\Desktop\lugaru-rev269-src>
C:\Users\*\Desktop\lugaru-rev269-src>cmake ./
CMake Error at C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/FindPack
ageHandleStandardArgs.cmake:70 (MESSAGE):
Could NOT find OpenAL (missing: OPENAL_LIBRARY OPENAL_INCLUDE_DIR)
Call Stack (most recent call first):
C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/FindOpenAL.cmake:101
(FIND_PACKAGE_HANDLE_STANDARD_ARGS)
CMakeLists.txt:196 (find_package)
-- Configuring incomplete, errors occurred!
C:\Users\*\Desktop\lugaru-rev269-src>
-
- official Wolfire heckler
- Posts: 2193
- Joined: Sun Aug 28, 2005 11:19 pm
- Location: Hamburg City
- Contact:
Re: Open Source Lugaru SDL.h Missing?
Hmm, not sure what's going on there. There's an option for forcing the internal OpenAL though:
You could try setting that to True.
Edit: Wait, are you sure you checked the current code out?
Meaning, did you do something like
?
Code: Select all
option (LUGARU_FORCE_INTERNAL_OPENAL "Force internal libOpenAL, even if there's a system version" False)
Edit: Wait, are you sure you checked the current code out?
Meaning, did you do something like
Code: Select all
hg clone https://lugaru.googlecode.com/hg/ lugaru
-
- Posts: 2218
- Joined: Sun Aug 31, 2008 6:03 pm
Re: Open Source Lugaru SDL.h Missing?
No I downloaded the rev269 source zip file from Google code. I'll try the hg right now. And I don't understand the option to force through the openal.
Edit: Tried it, downloaded it with hg, and tried to compile, and I get relatively the same error.
Edit: Tried it, downloaded it with hg, and tried to compile, and I get relatively the same error.
Code: Select all
Microsoft Windows [Version 6.0.6001]
Copyright (c) 2006 Microsoft Corporation. All rights reserved.
C:\Users\*>cd desktop
C:\Users\*\Desktop>cd lugs
C:\Users\*\Desktop\Lugs>cd lugaru
C:\Users\*\Desktop\Lugs\lugaru>cmake ./
-- Building for: Visual Studio 9 2008
-- Check for working C compiler using: Visual Studio 9 2008
-- Check for working C compiler using: Visual Studio 9 2008 -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler using: Visual Studio 9 2008
-- Check for working CXX compiler using: Visual Studio 9 2008 -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
CMake Error at C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/FindPack
ageHandleStandardArgs.cmake:70 (MESSAGE):
Could NOT find OpenAL (missing: OPENAL_LIBRARY OPENAL_INCLUDE_DIR)
Call Stack (most recent call first):
C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/FindOpenAL.cmake:101
(FIND_PACKAGE_HANDLE_STANDARD_ARGS)
CMakeLists.txt:204 (find_package)
-- Configuring incomplete, errors occurred!
C:\Users\*\Desktop\Lugs\lugaru>
-
- official Wolfire heckler
- Posts: 2193
- Joined: Sun Aug 28, 2005 11:19 pm
- Location: Hamburg City
- Contact:
Re: Open Source Lugaru SDL.h Missing?
Try installing the OpenAL libraries: http://connect.creativelabs.com/openal/ ... Items.aspx (pick oalinst)
-
- Posts: 2218
- Joined: Sun Aug 31, 2008 6:03 pm
Re: Open Source Lugaru SDL.h Missing?
Yeah, I did that after a little reading after my last post, same error. Is there something special I need to do after the install finishes?
-
- official Wolfire heckler
- Posts: 2193
- Joined: Sun Aug 28, 2005 11:19 pm
- Location: Hamburg City
- Contact:
Re: Open Source Lugaru SDL.h Missing?
No..
I have no experience with compiling anything on Windows 7.
Fact is that both the OpenAL lib in Lugaru and the one you just installed should be found.
So you might want to contact someone who has experience with building the thing on 7.
I'd recommend either posting to the lugaru mailing list over at icculus' site: http://icculus.org/mailman/listinfo/lugaru/
Or contact the people who run the Google code project and ask them.
I have no experience with compiling anything on Windows 7.
Fact is that both the OpenAL lib in Lugaru and the one you just installed should be found.
So you might want to contact someone who has experience with building the thing on 7.
I'd recommend either posting to the lugaru mailing list over at icculus' site: http://icculus.org/mailman/listinfo/lugaru/
Or contact the people who run the Google code project and ask them.
-
- Posts: 2218
- Joined: Sun Aug 31, 2008 6:03 pm
Re: Open Source Lugaru SDL.h Missing?
I'm not on windows 7 I'm on Vista, FTR. I guess I'll try icculus' site.
-
- Posts: 1
- Joined: Thu Sep 09, 2010 8:30 pm
Re: Open Source Lugaru SDL.h Missing?
It really useful for me, thanks for the info that you guys have been discussing.
_________________________
-- Identified as a Spambot.
-- Links removed.
-- Post locked from further editing.
-- User & IP Banned.
// Freshbite
_________________________
-- Identified as a Spambot.
-- Links removed.
-- Post locked from further editing.
-- User & IP Banned.
// Freshbite
-
- Posts: 2218
- Joined: Sun Aug 31, 2008 6:03 pm
Re: Open Source Lugaru SDL.h Missing?
Discrete spam-bot?
Re: Open Source Lugaru SDL.h Missing?
Burned spam bot.