Search found 26 matches
- Sun Aug 15, 2021 8:16 am
- Forum: Coding Questions
- Topic: SortStructuredArray Ascending
- Replies: 3
- Views: 3159
Re: SortStructuredArray Ascending
my bad! thanks for the answer!
- Sun Aug 08, 2021 10:58 am
- Forum: Coding Questions
- Topic: SortStructuredArray Ascending
- Replies: 3
- Views: 3159
SortStructuredArray Ascending
Hello, it appears the SortStructuredArray function, used with #PB_SORT_ASCENDING mode,
is returning a wrong array. a first empty element is added to the array and the one that should be last has disappeared.
The sort is working fine with #PB_SORT_DESCENDING but i have to reverse the array in a ...
is returning a wrong array. a first empty element is added to the array and the one that should be last has disappeared.
The sort is working fine with #PB_SORT_DESCENDING but i have to reverse the array in a ...
- Thu Nov 14, 2019 7:33 am
- Forum: 3D Programming
- Topic: PB 5.51 GL Constants
- Replies: 8
- Views: 6381
- Tue Oct 15, 2019 1:50 pm
- Forum: Mac OSX
- Topic: Linker OSX version error
- Replies: 2
- Views: 2413
Re: Linker OSX version error
OS Version: 10.13.6 (MacOS High Sierra, I can't update the OS anymore...)
Xcode Version: 9.3
Purebasic Version: 7.1
I found the source of the problem
:
an imported function in purebasic was not declared in the cpp project
Xcode Version: 9.3
Purebasic Version: 7.1
I found the source of the problem

an imported function in purebasic was not declared in the cpp project

- Mon Oct 14, 2019 7:13 pm
- Forum: Mac OSX
- Topic: Linker OSX version error
- Replies: 2
- Views: 2413
Linker OSX version error
Hello forum!
When linking a static library(bullet.a), I get some errors like the one below:
ld: warning: object file (Window.a(AddKeyboardShortcut.o)) was built for newer OSX version (10.8) than being linked (10.7)
I successfully get rid of the one related to my library by setting the -mmacosx ...
When linking a static library(bullet.a), I get some errors like the one below:
ld: warning: object file (Window.a(AddKeyboardShortcut.o)) was built for newer OSX version (10.8) than being linked (10.7)
I successfully get rid of the one related to my library by setting the -mmacosx ...
- Thu Jul 04, 2019 10:37 am
- Forum: Coding Questions
- Topic: ParseJSON fail when CreateJSON with #PB_Any
- Replies: 4
- Views: 1815
Re: ParseJSON fail when CreateJSON with #PB_Any
It's not a compilation warning, it's a compilation error!!
But for sure I misread the documentation!!!
Sorry for the noise and thanks kenmo!
Ben
But for sure I misread the documentation!!!
Sorry for the noise and thanks kenmo!
Ben
- Wed Jul 03, 2019 7:37 pm
- Forum: Coding Questions
- Topic: ParseJSON fail when CreateJSON with #PB_Any
- Replies: 4
- Views: 1815
ParseJSON fail when CreateJSON with #PB_Any
hello,
give me this error:
[ERROR]#JSON object number is very high (over 10000), are you sure of that?
and stop the compilation
Code: Select all
Define json.i = CreateJSON(#PB_Any)
Define datas$ = "[1, 2, 3, 4, 5]"
ParseJSON(json, datas$)
[ERROR]#JSON object number is very high (over 10000), are you sure of that?
and stop the compilation
- Tue Jan 15, 2019 8:30 pm
- Forum: Coding Questions
- Topic: Defined(Label, #PB_Label) problem ?
- Replies: 7
- Views: 1675
Re: Defined(Label, #PB_Label) problem ?
Thanks all to have a look
I avoid the problem by declaring empty labels and not use Defined(Label, #PB_Label) inside of my procs
I avoid the problem by declaring empty labels and not use Defined(Label, #PB_Label) inside of my procs
- Tue Jan 15, 2019 12:58 pm
- Forum: Coding Questions
- Topic: Defined(Label, #PB_Label) problem ?
- Replies: 7
- Views: 1675
Defined(Label, #PB_Label) problem ?
Here is the problem I'm facing:
I want to check the existence of a label when creating an object
while the label is defined inside the module itself, it is not inside a procedure of the module
(in fact it is , I can assign it with ?Label, but the function Defined(Label, #PB_Label) says it's not)
I ...
I want to check the existence of a label when creating an object
while the label is defined inside the module itself, it is not inside a procedure of the module
(in fact it is , I can assign it with ?Label, but the function Defined(Label, #PB_Label) says it's not)
I ...
- Tue Jan 31, 2017 9:38 pm
- Forum: 3D Programming
- Topic: PB 5.51 GL Constants
- Replies: 8
- Views: 6381
Re: PB 5.51 GL Constants
No problems with the encoding of my shaders...
Here is my shader Module
;============================================================================================
; Shader Module Declararion ...
Here is my shader Module
;============================================================================================
; Shader Module Declararion ...
- Tue Jan 31, 2017 9:30 pm
- Forum: 3D Programming
- Topic: PB 5.51 GL Constants
- Replies: 8
- Views: 6381
Re: PB 5.51 GL Constants
replacing the opengl.res file isn't working...
however I managed to compile by introducing a CompilerIf checking the PB version and declaring only missing GL constants that I use
CompilerIf #PB_Compiler_Version < 550
;Here I declare ALL GL Constants
CompilerElse
#GL_SHADING_LANGUAGE_VERSION ...
however I managed to compile by introducing a CompilerIf checking the PB version and declaring only missing GL constants that I use
CompilerIf #PB_Compiler_Version < 550
;Here I declare ALL GL Constants
CompilerElse
#GL_SHADING_LANGUAGE_VERSION ...
- Tue Jan 31, 2017 1:41 pm
- Forum: 3D Programming
- Topic: PB 5.51 GL Constants
- Replies: 8
- Views: 6381
Re: PB 5.51 GL Constants
Thanks for the answer applePi!
I didn't knew about residents files...
I encountered the problem upgrading from PB 5.41 to PB 5.51...
I'll try replacing the .res file tonight...
I didn't knew about residents files...
I encountered the problem upgrading from PB 5.41 to PB 5.51...
I'll try replacing the .res file tonight...
- Mon Jan 30, 2017 10:19 pm
- Forum: 3D Programming
- Topic: PB 5.51 GL Constants
- Replies: 8
- Views: 6381
PB 5.51 GL Constants
Hello, apparently some (but not all) OpenGL Globals Constants were added in the latest release of PB 5.51
And they are conflicting with my GL Module(I use it globally ie: UseModule OpenGL)
Where/How can I find the exhaustive list of those Constants?
And they are conflicting with my GL Module(I use it globally ie: UseModule OpenGL)
Where/How can I find the exhaustive list of those Constants?
- Sun Mar 06, 2016 6:53 pm
- Forum: Tricks 'n' Tips
- Topic: GLFW 304 wrapper 1.03 (Win/Lin/OSX x86/x64 Static/Dynamic)
- Replies: 46
- Views: 23780
Re: GLFW 304 wrapper 1.03 (Win/Lin/OSX x86/x64 Static/Dynami
To compile in Release mode
I had to add
I had to add
Code: Select all
ImportC "/usr/lib/x86_64-linux-gnu/libxcb.a" : EndImport
ImportC "/usr/lib/x86_64-linux-gnu/libXau.a" : EndImport
ImportC "/usr/lib/x86_64-linux-gnu/libXdmcp.a" : EndImport
- Sun Mar 06, 2016 4:03 pm
- Forum: Tricks 'n' Tips
- Topic: GLFW 304 wrapper 1.03 (Win/Lin/OSX x86/x64 Static/Dynamic)
- Replies: 46
- Views: 23780
Re: GLFW 304 wrapper 1.03 (Win/Lin/OSX x86/x64 Static/Dynami
I solved the problem by providing full path to static libraries
ImportC LIB_INCLUDE_PATH+"glfw3.a" : EndImport
ImportC "/usr/lib/x86_64-linux-gnu/libX11.a" : EndImport
ImportC "/usr/lib/x86_64-linux-gnu/libXinerama.a" : EndImport
ImportC "/usr/lib/x86_64-linux-gnu/libXi.a" : EndImport ...
ImportC LIB_INCLUDE_PATH+"glfw3.a" : EndImport
ImportC "/usr/lib/x86_64-linux-gnu/libX11.a" : EndImport
ImportC "/usr/lib/x86_64-linux-gnu/libXinerama.a" : EndImport
ImportC "/usr/lib/x86_64-linux-gnu/libXi.a" : EndImport ...