Open Source Lugaru SDL.h Missing?

The place to discuss all things Lugaru.
Post Reply
User avatar
Lotus Wolf
Posts: 2218
Joined: Sun Aug 31, 2008 6:03 pm

Open Source Lugaru SDL.h Missing?

Post by Lotus Wolf » Wed Sep 01, 2010 12:05 pm

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.

User avatar
rudel_ic
official Wolfire heckler
Posts: 2193
Joined: Sun Aug 28, 2005 11:19 pm
Location: Hamburg City
Contact:

Re: Open Source Lugaru SDL.h Missing?

Post by rudel_ic » Wed Sep 01, 2010 2:48 pm

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
.

User avatar
Lotus Wolf
Posts: 2218
Joined: Sun Aug 31, 2008 6:03 pm

Re: Open Source Lugaru SDL.h Missing?

Post by Lotus Wolf » Wed Sep 01, 2010 7:31 pm

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>

User avatar
rudel_ic
official Wolfire heckler
Posts: 2193
Joined: Sun Aug 28, 2005 11:19 pm
Location: Hamburg City
Contact:

Re: Open Source Lugaru SDL.h Missing?

Post by rudel_ic » Wed Sep 01, 2010 8:37 pm

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
?

User avatar
Lotus Wolf
Posts: 2218
Joined: Sun Aug 31, 2008 6:03 pm

Re: Open Source Lugaru SDL.h Missing?

Post by Lotus Wolf » Wed Sep 01, 2010 11:29 pm

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>

User avatar
rudel_ic
official Wolfire heckler
Posts: 2193
Joined: Sun Aug 28, 2005 11:19 pm
Location: Hamburg City
Contact:

Re: Open Source Lugaru SDL.h Missing?

Post by rudel_ic » Thu Sep 02, 2010 8:13 am

Try installing the OpenAL libraries: http://connect.creativelabs.com/openal/ ... Items.aspx (pick oalinst)

User avatar
Lotus Wolf
Posts: 2218
Joined: Sun Aug 31, 2008 6:03 pm

Re: Open Source Lugaru SDL.h Missing?

Post by Lotus Wolf » Thu Sep 02, 2010 9:57 am

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?

User avatar
rudel_ic
official Wolfire heckler
Posts: 2193
Joined: Sun Aug 28, 2005 11:19 pm
Location: Hamburg City
Contact:

Re: Open Source Lugaru SDL.h Missing?

Post by rudel_ic » Thu Sep 02, 2010 10:26 am

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.

User avatar
Lotus Wolf
Posts: 2218
Joined: Sun Aug 31, 2008 6:03 pm

Re: Open Source Lugaru SDL.h Missing?

Post by Lotus Wolf » Thu Sep 02, 2010 9:15 pm

I'm not on windows 7 I'm on Vista, FTR. I guess I'll try icculus' site.

carolyny476
Posts: 1
Joined: Thu Sep 09, 2010 8:30 pm

Re: Open Source Lugaru SDL.h Missing?

Post by carolyny476 » Thu Sep 09, 2010 9:05 pm

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

User avatar
Lotus Wolf
Posts: 2218
Joined: Sun Aug 31, 2008 6:03 pm

Re: Open Source Lugaru SDL.h Missing?

Post by Lotus Wolf » Thu Sep 09, 2010 11:39 pm

Discrete spam-bot?

User avatar
Freshbite
Posts: 3256
Joined: Thu Jan 14, 2010 3:02 pm
Location: Stockholm, Sweden.

Re: Open Source Lugaru SDL.h Missing?

Post by Freshbite » Fri Sep 10, 2010 12:21 am

Burned spam bot.

Post Reply