CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: arek___

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    19
    Views
    8,582

    Re: displaying variables on the screen

    Could you please add in my code a single lines displaying selected variables on the screen and maybe saving also these variables onto HDD.
    Please see the lines in code with numbers: 62, 72, 78, 90,...
  2. Replies
    19
    Views
    8,582

    Re: header files online database

    Thanks.
    Could you please add to my code a few lines which would print on screen or save the whole variables onto the HDD.
    I mean, I would like to be able to see on screen e.g. row of variables from...
  3. Replies
    19
    Views
    8,582

    Re: header files online database

    Thank you for your reply. I am not a professional C programmer. Could you pls help me to write that macro and place it in the code ?

    I also tried two other solutions, line 70 or line 71 in...
  4. Replies
    19
    Views
    8,582

    Re: variable visualisation in MSVC2019 debugger

    Hi,
    Could I ask for help to add to the attached code some extra instructions displaying some variables on the screen in Console or enabling in any other way to see whole variables like: mxbinned,...
  5. Replies
    19
    Views
    8,582

    Re: variable visualisation in MSVC2019 debugger

    Hi,

    I would have a technical question regarding MSVC2019.
    I got a code written by someone else and would like, step by step, to follow i.e. to see how every variable is manipulated along the code...
  6. Replies
    19
    Views
    8,582

    Re: variable visualisation in MSVC2019 debugger

    Could you pls let me know what you meant by 'Post your question directly'. Thanks.
  7. Replies
    19
    Views
    8,582

    variable visualisation in MSVC2019 debugger

    A question regarding visualisation of matrices in the MSVC2019 debugger.
  8. Replies
    19
    Views
    8,582

    Re: header files online database

    Thank you for your last post, I managed to get the complete code with its original header files from the authors.

    Could I ask you to recover that attached C code, it was written about 20years ago...
  9. Replies
    19
    Views
    8,582

    header files online database

    I would like to run quite old C code which requires file headers as follows:

    #include "nrutil.h
    #include "nr.h"
    #include "general.h"
    #include "other.h"
    #include "memory.h"
    #include...
  10. Replies
    49
    Views
    20,225

    Re: Problem with cmath/gsl

    I did some research online and I found out that the lines making problems like:
    d_dims = (int *)mxMalloc(3*sizeof(int));
    could be corrected probably in that way:
    d_dims =...
  11. Replies
    49
    Views
    20,225

    Re: Problem with cmath/gsl

    Unfortunately, I can not compile it with 32 bit libraries in Matlab. I get the same error as previously, see below. Probably the 64bit MSVC compiler in Matlab environment does not accept the 32bit...
  12. Replies
    49
    Views
    20,225

    Re: Problem with cmath/gsl

    It is the error from MSVC:
    Exception thrown at 0x00007FFD1B2E22E5 (metricdist.mexw64) in MATLAB.exe: 0xC0000005: Access violation writing location 0x0000000000000001.

    It is the error from Matlab:...
  13. Replies
    49
    Views
    20,225

    Re: Problem with cmath/gsl

    I compile everything with x64 .lib files, so there is a proper matching.

    Will the calculations slow down when compile it with x86 libraries ?...
  14. Replies
    49
    Views
    20,225

    Re: Problem with cmath/gsl

    I compiled everything as 64 bit and would prefer 64 bit as all modern machines are like that and the calculations should perform faster.
    Would you suggest to use 32 bit compilation.
  15. Replies
    49
    Views
    20,225

    Re: Problem with cmath/gsl

    Sorry, I made a mistake, variable 'd' makes error in line 217.
    <Unable to read memory>
  16. Replies
    49
    Views
    20,225

    Re: Problem with cmath/gsl

    I think I sorted out the mex compilation problem, I have just added two correct libraries to mex lines as below.
    …\spike\MRCGSL\VS2015\lib\x64_debug\gsl.lib...
  17. Replies
    49
    Views
    20,225

    Re: Problem with cmath/gsl

    Thanks. Do you know how to properly build the mexw64 files with that required .lib and .dll files?
    Can you let me know which examples you had to compile with cblas.lib ? Maybe you could attach your...
  18. Replies
    49
    Views
    20,225

    Re: Problem with cmath/gsl

    I must be doing something wrong with the linking of the gsl libraries in Matlab environment, because even the compilation/linking and building of the mexw64 files went smooth, later, when try to call...
  19. Replies
    49
    Views
    20,225

    Re: Problem with cmath/gsl

    Thank you very much for your explanations, everything is clear and works within MSVC environment.
    However, when use the mex wrapper from Matlab environment it seems that the MSVC compiler attached...
  20. Replies
    49
    Views
    20,225

    Re: Problem with cmath/gsl

    Thank you for your post. I did everything what the instructions asked to do on the mrcdata website and ended with with two new directories as described in the GSL_01.docx file. I am not sure what is...
  21. Replies
    49
    Views
    20,225

    Re: Problem with gsl

    Thank you very much for your reply. It looks that we sorted the problem out.
    I would be very grateful if could explain me step by step how you compiled the mrcdata VS2015 in MSVC2019 to get the...
  22. Replies
    49
    Views
    20,225

    Re: Problem with cmath

    Why we can not take and use the gsl .dll and .lib files from from the gsl installed from the link...
  23. Replies
    49
    Views
    20,225

    Re: Problem with cmath

    Can you have a look at the link https://mrcdata.dide.ic.ac.uk/wiki/index.php/C/C%2B%2B_Libraries_for_Windows
    I managed to create the GSL.dll library, but it has a very small size. There is no .lib...
  24. Replies
    49
    Views
    20,225

    Re: Problem with cmath

    Thanks for your last post.
    As far as I understand you are not familiar with GNU make tool. Is it absolutely necessary to use the GNU make to perform the gsl compilation in MSVC? Should I try to...
  25. Replies
    49
    Views
    20,225

    Re: Problem with cmath

    Thank you for your reply. Sorry, I am not expert from all those environments, so mixed them up. I would be extremely grateful if you could help in compiling the gsl for MSVC and next get the linking...
Results 1 to 25 of 32
Page 1 of 2 1 2





Click Here to Expand Forum to Full Width

Featured