thats odd i get a' 404 here

i try a' different computer, but it's prob. the connection then.
Best Henrik
Moderators: gnozal, ABBKlaus, lexvictory
Code: Select all
PBCompiler: /COMMENTED /DEBUGGER
******************************************
PureBasic 4.10 (Windows - x86)
******************************************
Compiling Project.pb
Loading external libraries...
Starting compilation...
Including source: SourceInclude.pbi
Including source: SourceInclude2.pbi
Including source: SourceInclude3.pbi
Error: Line 2023 - Procedure parameter can't be declared twice: x
The pipe has been ended.
Code: Select all
ProcedureDLL MyDivZ(a, b)
ProcedureReturn a/b
EndProcedure
ProcedureCDLL MyDivZ_DEBUG(a, b)
If b=0
TB_DebugError(@"Division by zero!")
EndIf
EndProcedure
Code: Select all
---------------------------
PureBasic - Linker error
---------------------------
POLINK: error: Unresolved external symbol 'PB_NullString'.
POLINK: fatal error: 1 unresolved external(s).
Code: Select all
ProcedureDLL MyDivZ(a, b)
MessageRequester("MyDivZ","Before division by zero!"+Chr(13)+"The program will crash now without debugger.",0)
ProcedureReturn a/b
EndProcedure
ProcedureCDLL MyDivZ_DEBUG(a, b)
If b=0
TB_DebugError(@"Division by zero!")
EndIf
EndProcedure
Code: Select all
MyDivZ(1, 0)
Without a snippet i can´t do anything to help youMistrel wrote:My project keeps getting a linker error if I try to compile without the debugger using my Tailbite commands.
Well this is embarassing. I should have seen that. :roll:Its crashing on the Division by ZERO, not on the _DEBUG command Twisted Evil
I don't know what's causing this problem and I can't reproduce it outside of my library. It only occurs when I try to compile without the debugger in a source that contains no strings and calls a command from this particular Tailbite library.Without a snippet i can´t do anything to help you Confused
It was IceSoft´s idea to change the subsystem folders. You have to move all files from :lexvictory wrote:problem with compiling for subsystems:
when compiling normally, (no threadsafe nor unicode) everything works
but when compiling with for example threadsafe, and the subsystem path automatically changed, it fails with pb saying function name same as external command.
When you compile for a subsystem TailBite must move the lib to temp-folder, or else you get that error message (same name ...). It´s copied back later (on success).lexvictory wrote:tailbite seems to delete the lib file from pbdir/purelibraries/userlibraries when it compiles
but why does it still delete that file when compiling for subsystems, and not delete the lib in the subsystems directory?
TailBite determines which version of purebasic is running by it´s registry key. It then runs PBCompiler to check for the version installed and reads the correct TailBite.prefs file from i.e. C:\Dokuments and settings\[USERNAME]\Application Data\TailBite\TailBite_420.prefs .lexvictory wrote:and can the preferences file location be explained?
i know its in app data, but is there a way to make it use a local one (for using more than one pb/tailbite version for example)?
Yes, thats exactly the way its intented to work for a local installation of TailBite.lexvictory wrote:creating a tailbite.prefs in the tailbite directory seems to work, is that what makes it local?