Page 1 of 1

Open Source Lugaru SDL.h Missing?

Posted: Wed Sep 01, 2010 12:05 pm
by Lotus Wolf
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.

Re: Open Source Lugaru SDL.h Missing?

Posted: Wed Sep 01, 2010 2:48 pm
by rudel_ic
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

Code: Select all

cmake ./
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

Code: Select all

make
.

Re: Open Source Lugaru SDL.h Missing?

Posted: Wed Sep 01, 2010 7:31 pm
by Lotus Wolf
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>

Re: Open Source Lugaru SDL.h Missing?

Posted: Wed Sep 01, 2010 8:37 pm
by rudel_ic
Hmm, not sure what's going on there. There's an option for forcing the internal OpenAL though:

Code: Select all

option (LUGARU_FORCE_INTERNAL_OPENAL "Force internal libOpenAL, even if there's a system version" False)
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

hg clone https://lugaru.googlecode.com/hg/ lugaru
?

Re: Open Source Lugaru SDL.h Missing?

Posted: Wed Sep 01, 2010 11:29 pm
by Lotus Wolf
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.

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>

Re: Open Source Lugaru SDL.h Missing?

Posted: Thu Sep 02, 2010 8:13 am
by rudel_ic
Try installing the OpenAL libraries: http://connect.creativelabs.com/openal/ ... Items.aspx (pick oalinst)

Re: Open Source Lugaru SDL.h Missing?

Posted: Thu Sep 02, 2010 9:57 am
by Lotus Wolf
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?

Re: Open Source Lugaru SDL.h Missing?

Posted: Thu Sep 02, 2010 10:26 am
by rudel_ic
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.

Re: Open Source Lugaru SDL.h Missing?

Posted: Thu Sep 02, 2010 9:15 pm
by Lotus Wolf
I'm not on windows 7 I'm on Vista, FTR. I guess I'll try icculus' site.

Re: Open Source Lugaru SDL.h Missing?

Posted: Thu Sep 09, 2010 9:05 pm
by carolyny476
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

Re: Open Source Lugaru SDL.h Missing?

Posted: Thu Sep 09, 2010 11:39 pm
by Lotus Wolf
Discrete spam-bot?

Re: Open Source Lugaru SDL.h Missing?

Posted: Fri Sep 10, 2010 12:21 am
by Freshbite
Burned spam bot.