Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Professional Discussion / can't compile correct code

Author
Message
mr Handy
18
Years of Service
User Offline
Joined: 7th Sep 2007
Location: out of TGC
Posted: 8th Apr 2010 22:22 Edited at: 8th Apr 2010 22:27
hi!

i just wanted to try out one of the Evolved's examples
http://www.evolved-software.com/shaders/AdvancedLighting/Materials.zip
(unzip in to the Advanced Lighting folder
http://www.evolved-software.com/shaders/AdvancedLighting/AdvancedLighting.zip)

so if i try to compile materials.dbpro, error appears:
Quote: "
---------------------------
DarkBASIC Professional Editor
---------------------------
The name 'Find_Free_Camera' duplicated in the program inside Include\Advanced Lighting.dba.
---------------------------
OK
---------------------------
"

BUT! include\advanced lighting compiled!!! and has no duplicate names!

what's the problem?

mr Handy
18
Years of Service
User Offline
Joined: 7th Sep 2007
Location: out of TGC
Posted: 9th Apr 2010 00:09
okay, i found funny bug:

my project folder was like this:
c:\documents and settings\mrhandy\desktop\blah\blah\blah\test

now it is
c:\test

and code compiled.

stupid windows™ with its limitations

Green Gandalf
VIP Member
21
Years of Service
User Offline
Joined: 3rd Jan 2005
Playing: Malevolence:Sword of Ahkranox, Skyrim, Civ6.
Posted: 9th Apr 2010 00:16 Edited at: 9th Apr 2010 00:54
Quote: "what's the problem?"


No idea. It compiles and runs without errors here (using U7.5b11).

There do seem to be some problems with the cameras though.

I followed your instructions as far as I could tell.

Edit

You obviously posted while I was busy testing the downloads.
Glad you got it sorted.

Login to post a reply

Server time is: 2026-07-26 15:31:38
Your offset time is: 2026-07-26 15:31:38