Home » Community » Newbie corner » [SOLVED] I have a problem linking a LIB
Re: I have a problem linking a LIB [message #28480 is a reply to message #28462] |
Fri, 03 September 2010 02:55   |
jerson
Messages: 202 Registered: June 2010 Location: Bombay, India
|
Experienced Member |

|
|
Hi Koldo
Thanks a lot. That line 82 was the culprit. I really wonder why there was no indication to that from the compiler, or did I miss it?
Yes, case 1 really does work with the hardware. It's only after that I started integrating this code into my project and it wouldn't work.
I forgot to add, if I open up the typedefs for int16 and int32, this is what happens
C:\MyApps\JFControlsDemo\NIDAQmx.h:2838: error: expected constructor, destructor, or type conversion before 'DAQmxResetAIACE
xcitFreq'
C:\MyApps\JFControlsDemo\NIDAQmx.h:2840: error: reference to 'int32' is ambiguous
C:\MyApps\JFControlsDemo\NIDAQmx.h:58: error: candidates are: typedef long int int32
C:\upp2625\uppsrc/Core/Defs.h:225: error: typedef long int Upp::int32
I wonder if you could help me with tips on how you got that line 82 issue as I still have to integrate this code with my main project and it is giving problems. Things like __stdcall__, __attribute__ etc start giving errors in my project whereas the same file(NiDaqmx.h) compiles in the test projects.
Thank you for checking out for me.
Best regards
[Updated on: Fri, 03 September 2010 03:46] Report message to a moderator
|
|
|
 |
|
[SOLVED] I have a problem linking a LIB
By: jerson on Thu, 02 September 2010 16:05
|
 |
|
Re: I have a problem linking a LIB
By: jerson on Thu, 02 September 2010 17:30
|
 |
|
Re: I have a problem linking a LIB
By: koldo on Thu, 02 September 2010 18:19
|
 |
|
Re: I have a problem linking a LIB
By: jerson on Thu, 02 September 2010 19:09
|
 |
|
Re: I have a problem linking a LIB
By: koldo on Thu, 02 September 2010 22:12
|
 |
|
Re: I have a problem linking a LIB
By: jerson on Fri, 03 September 2010 02:55
|
 |
|
Re: I have a problem linking a LIB
By: koldo on Fri, 03 September 2010 08:20
|
 |
|
Re: I have a problem linking a LIB
By: koldo on Fri, 03 September 2010 08:28
|
 |
|
Re: I have a problem linking a LIB
By: jerson on Fri, 03 September 2010 05:14
|
 |
|
Re: I have a problem linking a LIB
By: jerson on Fri, 03 September 2010 08:50
|
 |
|
Re: I have a problem linking a LIB
By: koldo on Fri, 03 September 2010 09:31
|
 |
|
Re: [SOLVED] I have a problem linking a LIB
By: jibe on Tue, 17 May 2011 15:39
|
 |
|
Re: [SOLVED] I have a problem linking a LIB
By: koldo on Tue, 17 May 2011 15:56
|
 |
|
Re: [SOLVED] I have a problem linking a LIB
By: jibe on Mon, 23 May 2011 09:40
|
 |
|
Re: [SOLVED] I have a problem linking a LIB
By: koldo on Mon, 23 May 2011 16:03
|
 |
|
Re: [SOLVED] I have a problem linking a LIB
By: mr_ped on Tue, 24 May 2011 09:33
|
 |
|
Re: [SOLVED] I have a problem linking a LIB
By: jibe on Thu, 26 May 2011 11:24
|
Goto Forum:
Current Time: Mon Apr 28 02:23:53 CEST 2025
Total time taken to generate the page: 0.00670 seconds
|