Search:

Type: Posts; User: awsdert

Page 1 of 20 1 2 3 4

Search: Search took 0.02 seconds.

  1. Good to know, thx

    Good to know, thx
  2. Also I'm at my wits end trying to capture the...

    Also I'm at my wits end trying to capture the output of a shell command here:


    ifneq "$(is_gnu)" ""
    StrInc="$(hash)include <$1s>" | $(CC) -c -x c -
    TryInc=$(shell $(call StrInc,$1))...
  3. What happens when an empty variable is exported

    So for example I have this:


    ifeq "$(PWD)" ""
    uname_s:=WIN32
    _WIN32:=1

    uname_p:=$(or $(PROCESSOR_ARCHITEW6432),$(PROCESSOR_ARCHITECTURE))
    AMD64:=$(if $(filter AMD64,$(uname_p)),1)...
  4. Replies
    3
    Views
    151

    Ended up going with this: ... #ifdef _WIN32...

    Ended up going with this:


    ...
    #ifdef _WIN32
    typedef HANDLE fasset_t;
    typedef HANDLE thread_t;
    #else
    #include <fcntl.h>
    #include <pthread.h>
  5. Replies
    3
    Views
    151

    That didn't answer the question, just made it...

    That didn't answer the question, just made it evident that comparing the handle won't work (which I will thank you for as I obviously missed it, thx)
  6. Replies
    3
    Views
    151

    Win32 equivalent of pthread_equal

    Doing an upgrade to my custom file/folder asset handling functions and decided to resolve the problem I think O_CLOEXEC attempts to resolve with process/thread checks, process check was easy enough...
  7. Replies
    1
    Views
    128

    Never mind, turned out the values just happened...

    Never mind, turned out the values just happened to align with error codes, I forgot that I had changed part of the API since it didn't need to directly return the error, just shove it in the ALLOC*...
  8. Replies
    1
    Views
    128

    Unexpected EBUSY error

    Not sure how to best explain this problem so for now I'm linking the upload of the code (run make from inside the parser directory or common directory, the GNUmakefile has yet to be updated) and...
  9. Replies
    3
    Views
    190

    That's literally the 1st "code" block in my post...

    That's literally the 1st "code" block in my post


    Edit: Things worked out after I made this change:


    vpath %.exe ../
    vpath %.out ../
    vpath %.dll ../
    vpath %.so ../
  10. Replies
    3
    Views
    190

    rpath issues... I think

    I managed to compile my libraries and executable but I'm having issues getting them to link when I try to run the executable, I can see them all in the same folder, I set rapth to '.' on all of them,...
  11. Replies
    5
    Views
    388

    Judging by the lack of replies noone was inclined...

    Judging by the lack of replies noone was inclined to even provide example recipes with expected outputs for me to try, that's disappointing but not the end of the world, sooner or later I'll try...
  12. Replies
    5
    Views
    388

    Just finished verifying my code produces the...

    Just finished verifying my code produces the correct results of the expressions I put it, I lack imagination however so I'd like to ask you lot to build it then test it, I only set up the makefile...
  13. Replies
    5
    Views
    388

    Turns out cglm doesn't yet have the functions I...

    Turns out cglm doesn't yet have the functions I need so supplementing with my own code for now, is this right for matrix/vector addition? Also if this is right then is this the same way for the other...
  14. Replies
    5
    Views
    388

    Unless anyone has a better idea this is what I'm...

    Unless anyone has a better idea this is what I'm going with for retrieving vectors & matrices:


    dint OpGet( GFX *gc, GFXR *This, u32 type, INTEGRAL *list, uint num )
    {
    uint i;

    for ( i = 0;...
  15. Replies
    5
    Views
    388

    By the lack of replies I'll take it that I...

    By the lack of replies I'll take it that I haven't missed anything, instead while I figure out how best to add the matrix & vertex support to my math handlers I let others see if they have any...
  16. Replies
    5
    Views
    388

    Any types missed?

    I'm writing an expression handler so that I can auto-detect symbols in my shaders by processing the #ifdef, #if, #elif and #else statements (and plan to implement a #'include statement so I can...
  17. Replies
    7
    Views
    543

    Just found that with firefox it doesn't show any...

    Just found that with firefox it doesn't show any paths in the first line, before my suggestion I tried loading the cmdline file in geany but it showed japanese, wasn't till later I noticed geany was...
  18. Replies
    7
    Views
    543

    Yeah most of the process specific stuff was kept...

    Yeah most of the process specific stuff was kept there, only realised just now the best way to capture the process name in linux is to just read the first path in /proc/<PID>/maps, typically that's...
  19. Replies
    7
    Views
    543

    You can also reference/copy this: src/proc.c *...

    You can also reference/copy this:

    src/proc.c * master * Lee Shallis / gasp * GitLab

    Don't remember if I put the MIT License on it yet but I'll do that eventually if I haven't, anyways I tried...
  20. Replies
    3
    Views
    766

    But it was still relevant to C, programmers...

    But it was still relevant to C, programmers frequently need to convert to & from"normal" math, especially if they're doing graphics programming
  21. Replies
    3
    Views
    766

    Why was this moved to the tech board when this is...

    Why was this moved to the tech board when this is relevant to the C Board? Does someone think C programmers never look at math before constructing a function? What do you expect them to look at when...
  22. Replies
    3
    Views
    766

    Meaning of math symbols

    I figure a sticky for this sorta stuff should be made and I think the title I chose seems suitable, admin feel free to change it if you do sticky the thread, anyways I found this:
    ...
  23. Just in case anyone's still looking, I restarted...

    Just in case anyone's still looking, I restarted the engine part from scratch, created a project called dragonbuilder (because I plan to re-implement the Dragon Quest Builders 2 engine on linux) and...
  24. Despite managing to somehow get past the NULL...

    Despite managing to somehow get past the NULL pointer issue I've now encountered an issue with runtime that leads to the system killing the app without leaving any clues as to what caused the...
  25. Object getting wiped before it's supposed to

    Lee Shallis / glEngine * GitLab

    I managed to construct the randomised GFX_IMAGE for my 3rd "model" (just a triangle, will apply collisions later which is why all my test triangles are given their...
Results 1 to 25 of 500
Page 1 of 20 1 2 3 4