Hello...
I compile my windows *.pb code under debian and like to know How can I replace my WINDOWS CODE :
|#ES_AUTOVSCROLL|#WS_VSCROLL|#WS_HSCROLL
in Linux? In the moment I have to comment out.
how replace |#ES_AUTOVSCROL... from WINXP to Linux???
These are Windows constants, which won't work on linux. I think you don't need them on Linux anyway (if you use them in a StringGadget()). You can still use:
This way you will have an unique code for linux and windows.
Code: Select all
CompilerIf #PB_Compiler_OS = #PB_OS_Linux
#ES_AUTOVSCROLL = 0
#WS_VSCROLL = 0
#WS_HSCROLL = 0
CompilerEndIfThanx
and here is my last error message i have become from the compiler:
But I don't know what I have to fixed?
Regards
Daniel
and here is my last error message i have become from the compiler:
Code: Select all
guest-189:/home/ason/zahlenprog/version 5.8# pbcompiler --subsystem "gtk2" main_zahlenprog.pb -e Zahlen.exe
******************************************
PureBasic Linux x86 v3.92
******************************************
Loading external modules...
Loading gtk2 subsystem
Starting compilation...
Including source: module/header.pb
Including source: module/mod_variablen.pb
Including source: module/mod_allgemein.pb
Including source: module/mod_berechnungen.pb
Including source: module/mod_ein_ausgabe.pb
Including source: module/mod_01.pb
2342 lines processed.
Creating the executable.
Error: Assembler
purebasic.asm [4812]:
MOV dword [_PB_StringBase],eax
error: undefined symbol.
guest-189:/home/ason/zahlenprog/version 5.8#
Regards
Daniel

