FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

DallegroGL not working

 
Post new topic   Reply to topic     Forum Index -> dallegro
View previous topic :: View next topic  
Author Message
michaelp



Joined: 27 Jul 2008
Posts: 114

PostPosted: Mon Apr 06, 2009 1:42 pm    Post subject: DallegroGL not working Reply with quote

Hey, I just downloaded DAllegroGL 0.4.3 and I am getting linking errors when I run build-examples.bat.
It's pretty much the same for all of them, I'll give you a couple:

Code:
C:\Documents and Settings\Michael\My Documents\D\DAllegro\dallegrogl_alpha1\dall
egrogl_alpha1>bud -O -inline -release -odexamp -w -gui agl.lib alleg.lib opengl3
2.lib glu32.lib examp\dialog.d
OPTLINK (R) for Win32  Release 8.00.1
Copyright (C) Digital Mars 1989-2004  All rights reserved.
stlp45dm_static.lib
 Warning 2: File Not Found stlp45dm_static.lib
examp\system.obj(system)
 Error 42: Symbol Undefined _D7allegro8internal7dintern12__ModuleInfoZ


C:\Documents and Settings\Michael\My Documents\D\DAllegro\dallegrogl_alpha1\dall
egrogl_alpha1>bud -O -inline -release -odexamp -w -gui agl.lib alleg.lib opengl3
2.lib glu32.lib examp\exext.d
OPTLINK (R) for Win32  Release 8.00.1
Copyright (C) Digital Mars 1989-2004  All rights reserved.
stlp45dm_static.lib
 Warning 2: File Not Found stlp45dm_static.lib
examp\system.obj(system)
 Error 42: Symbol Undefined _D7allegro8internal7dintern12__ModuleInfoZ
examp\multisample.obj(multisample)
 Error 42: Symbol Undefined _D8derelict6opengl9extension6loader12__ModuleInfoZ

***Didn't build***
C:\Documents and Settings\Michael\My Documents\D\DAllegro\dallegrogl_alpha1\dall
egrogl_alpha1>bud -O -inline -release -odexamp -w -gui agl.lib alleg.lib opengl3
2.lib glu32.lib examp\exmasked.d
examp\exmasked.d(7): Error: module running cannot read file 'running.d'

C:\Documents and Settings\Michael\My Documents\D\DAllegro\dallegrogl_alpha1\dall
egrogl_alpha1>del examp\*.obj examp\*.map examp\*.ksp examp\*.rsp examp\*.def


I pretty much got those error messages for all of them, says it can't find stlp45dm_static.lib. (STL port Digital mars????)
Thanks if you can help.

edit: Okay, I fixed the .lib problem after downloading the STL Port from the digital mars page and getting the file. But I still get this all the time:
Code:
 Error 42: Symbol Undefined _D7allegro8internal7dintern12__ModuleInfoZ
examp\multisample.obj(multisample)
Back to top
View user's profile Send private message
torhu



Joined: 30 Mar 2006
Posts: 56

PostPosted: Tue Apr 07, 2009 1:17 pm    Post subject: Reply with quote

Sorry about that. Try redownloading the binaries now.

I've found it's better to not install STLport with dmc, because for some reason, it makes C libs built depend on the stl lib. Shocked

The other examples build fine for me. Try running clean.bat and then try again. Smile
Back to top
View user's profile Send private message
michaelp



Joined: 27 Jul 2008
Posts: 114

PostPosted: Tue Apr 07, 2009 2:36 pm    Post subject: Reply with quote

Okay, so first I removed the STLPort lib, and replaced the other AllegroGL libs with those new ones. The STLPort error was gone even after removing it, so that's one thing fixed. Smile I still get linking errors on other files, about system.obj mostly. (One file says it can't find running.d, even though it's there. Shocked And another one gives a linking error about derelict opengl extension loader.)
Here is what I get:

Code:
C:\Documents and Settings\Michael\My Documents\D\DAllegro\dallegrogl_alpha1\dall
egrogl_alpha1>bud -O -inline -release -odexamp -w -gui agl.lib alleg.lib opengl3
2.lib glu32.lib examp\dialog.d
OPTLINK (R) for Win32  Release 8.00.1
Copyright (C) Digital Mars 1989-2004  All rights reserved.
examp\system.obj(system)
 Error 42: Symbol Undefined _D7allegro8internal7dintern12__ModuleInfoZ

C:\Documents and Settings\Michael\My Documents\D\DAllegro\dallegrogl_alpha1\dall
egrogl_alpha1>bud -O -inline -release -odexamp -w -gui agl.lib alleg.lib opengl3
2.lib glu32.lib examp\exext.d
OPTLINK (R) for Win32  Release 8.00.1
Copyright (C) Digital Mars 1989-2004  All rights reserved.
examp\system.obj(system)
 Error 42: Symbol Undefined _D7allegro8internal7dintern12__ModuleInfoZ
examp\multisample.obj(multisample)
 Error 42: Symbol Undefined _D8derelict6opengl9extension6loader12__ModuleInfoZ

C:\Documents and Settings\Michael\My Documents\D\DAllegro\dallegrogl_alpha1\dall
egrogl_alpha1>bud -O -inline -release -odexamp -w -gui agl.lib alleg.lib opengl3
2.lib glu32.lib examp\exmasked.d examp\running.d
examp\exmasked.d(7): Error: module running cannot read file 'running.d'


First example there is the error I get for all files. Second one is the derelict opengl error. Third is the running.d thing.
Just so you know, I have DMD 1.042, Bud 3.04, Windows XP, and using Phobos. No DSSS installed.
Back to top
View user's profile Send private message
torhu



Joined: 30 Mar 2006
Posts: 56

PostPosted: Tue Apr 07, 2009 7:54 pm    Post subject: Reply with quote

Try a complete rebuild, that should fix those errors. bud's -full flag is one way.

Can't help you with the problem with running.d, but you might be doing something wrong...
Back to top
View user's profile Send private message
michaelp



Joined: 27 Jul 2008
Posts: 114

PostPosted: Tue Apr 07, 2009 8:09 pm    Post subject: Reply with quote

Hey, I got it to work. Smile
In the build-examp.bat file that was provided, I removed the -odexamp for all of the files, and they all worked! No more linker errors.(Except that running.d thing. Laughing )
Time to see what I can do. Very Happy
Thanks for all of your help.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> dallegro All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group