The problem is quite old and quite annoying.
Imagine this: You choose a module structure for your engine, with one main exe and one to many DLLs. Then you find, with great dismay, that the...
Type: Posts; User: Chebmaster
The problem is quite old and quite annoying.
Imagine this: You choose a module structure for your engine, with one main exe and one to many DLLs. Then you find, with great dismay, that the...
OpenGl can use this texture format easily. Caused me some trouble though, since I belong in the "If after umpteenth try it doesn't work, READ THE MANUAL AT LAST!" category. :oops:
0.8.98
- Added support for the metaclass type fields
(for class factories and such)
(post removed)
The scaling problem is especialy important for a 2d game based on pixel art.
In that case I would recommend to choose 800x600. It is low enough that it gets interpolated nicely on most modern...
I would strongly recommend to always use the desktop resolution: the video mode switching is an anachronism. The modern flat panel monitors interpolate your picture in all resolutions except their...
P.S. I just dabbled a bit. The JpegError callback function is called when you call jpeg_start_decompress from TJpegFileFormat.LoadData, but since that function of yours is a stub, nothing happens.
...
Lazarus does something strange when it compiles, I avoid using it for compiling non-LCL applications. For my projects I write a special .sh/.bat script and tell Lazarus run it instead of calling the...
P.P.S. Just removed fpc 2.2.0 and reinstalled 2.2.2. My program compiles, Vampyre works!
And there is no need for that pesky libstdc++. It seems, only that one pow() function was used.
Ok, this little addition to your OpenJpeg unit solves the problem:
{$ifdef unix}
{$ifdef fpc}
uses math;
{$endif}
{$endif}
...
{$linklib libopenjpeglinx86.a}
I'd like to, but the "undefined reference to `pow' " spoils everything. :(
At the next weekend I'll look what could be done about this nasty obstacle. Preferably write the damned pow myself.
...
P.S. I copied ImagingJpeg2000 unit from vampyre 0.24.2 and replaced the record definitions with that of 0.24.2, AND IT WORKED!
So, it seems, the root of the problem is that you've changed...
I updated it by copying everything except the function definitions from your new module.
Everything looks identical:
opj_image_comp = record
dx: Integer; { XRsiz: horizontal...
I removed fpc 2.2.2 and re-installed 2.2.0 but it still won't compile, the same "undefined reference to pow".
I'll look into in the next weekend. For now, I tried to find why it crashes when I use...
Ok, I found a time to try it, at last. :D
FPC 2.2.2:
The Windows version works without a notch.
The Linux version, hovever... :(
My modified OpenJpeg with dynamic loading generates AV at...
0.8.97
0.8.97
- Fixed one major bug concerning registering several pointer-type fields when only the last one was properly marked as skipped. After loading these fields contained random...
Ok, I implemented the dynamic loading. The windows DLL I downloaded from http://www.openjpeg.org/ (has a weird name mangling and stdcall convention). The Linux dll is a part of Linux ("openjpeg"...
P.S. I'll try to modify OpenJpeg.pas, make it dynamically load libopenjpeg.so . It's one more dependency, but smaller executable.
I installed fpc 2.2.2 for linux... and unexpectedly, it created a problem with vampyre.
If I disable extras, everything is fine.
If I enable extras, various linking problems arise. First, it...
0.8.96
- Removed the support for classes that aren't descendants of TTrulyPersistent: it caused a fatal bug, the very algorithm was wrong :(
- Corrected one typo in constant name
0.8.95
- Added the feature of selective saving objects by mask (see the manual)
- Added support for classes that aren't descendants of TTrulyPersistent (see the manual and the test...
0.8.94
- Added the feature of walking the object graph, finally making Chepersy a real database - see the "Walking the graph" section in the manual.
- The test example updated to show off ...
As I understand it, and ODBMS is a database engine that is tightly integrated into the language itself, erasing the border between your program and the data itself. To really integrate, we'd have to...
0.8.93. The same URL. Two severe bugs fixed. :oops:
It never occured to me that I was creating a real database management system - but that's what my Chepersy is. :lol:
I decided to evolve it, so I totally rehauled the API, removed many...