Displaying 14 results from an estimated 14 matches for "_cdecl".
Did you mean:
__cdecl
2018 Dec 11
3
Using LLD to link against third-party libraries? How?
...nd errors from LLD:
>
> "
> lld-link: warning:
> C:\Users\Osman\AppData\Local\Temp\currency_converter-264ae1.o: locally
> defined symbol imported: __std_terminate (defined in libvcruntime.lib
> (ehhelpers.obj)) [LNK4217]
> lld-link: error: undefined symbol: "public: __cdecl
> jinja2::Template::Template(class jinja2::TemplateEnv *)"
> (??0Template at jinja2@@QEAA at PEAVTemplateEnv@1@@Z)
>>>> referenced by
> C:\Users\Osman\AppData\Local\Temp\currency_converter-264ae1.o:("void _
> _cdecl handle_request<struct
> boost::beast::http...
2018 Dec 12
2
Using LLD to link against third-party libraries? How?
...> "
> > lld-link: warning:
> > C:\Users\Osman\AppData\Local\Temp\currency_converter-264ae1.o: locally
> > defined symbol imported: __std_terminate (defined in libvcruntime.lib
> > (ehhelpers.obj)) [LNK4217]
> > lld-link: error: undefined symbol: "public: __cdecl
> > jinja2::Template::Template(class jinja2::TemplateEnv *)"
> > (??0Template at jinja2@@QEAA at PEAVTemplateEnv@1@@Z)
> >>>> referenced by
> > C:\Users\Osman\AppData\Local\Temp\currency_converter-264ae1.o:("void _
> > _cdecl handle_request<struc...
2018 Dec 12
3
Using LLD to link against third-party libraries? How?
...and errors from LLD:
>
> "
> lld-link: warning:
> C:\Users\Osman\AppData\Local\Temp\currency_converter-264ae1.o: locally
> defined symbol imported: __std_terminate (defined in libvcruntime.lib
> (ehhelpers.obj)) [LNK4217]
> lld-link: error: undefined symbol: "public: __cdecl
> jinja2::Template::Template(class jinja2::TemplateEnv *)"
> (??0Template at jinja2@@QEAA at PEAVTemplateEnv@1@@Z)
>>>> referenced by
> C:\Users\Osman\AppData\Local\Temp\currency_converter-264ae1.o:("void _
> _cdecl handle_request<struct
> boost::beast::http...
2018 Dec 12
4
Using LLD to link against third-party libraries? How?
...and errors from LLD:
>
> "
> lld-link: warning:
> C:\Users\Osman\AppData\Local\Temp\currency_converter-264ae1.o: locally
> defined symbol imported: __std_terminate (defined in libvcruntime.lib
> (ehhelpers.obj)) [LNK4217]
> lld-link: error: undefined symbol: "public: __cdecl
> jinja2::Template::Template(class jinja2::TemplateEnv *)"
> (??0Template at jinja2@@QEAA at PEAVTemplateEnv@1@@Z)
>>>> referenced by
> C:\Users\Osman\AppData\Local\Temp\currency_converter-264ae1.o:("void _
> _cdecl handle_request<struct
> boost::beast::http...
2018 Dec 12
4
Using LLD to link against third-party libraries? How?
...and errors from LLD:
>
> "
> lld-link: warning:
> C:\Users\Osman\AppData\Local\Temp\currency_converter-264ae1.o: locally
> defined symbol imported: __std_terminate (defined in libvcruntime.lib
> (ehhelpers.obj)) [LNK4217]
> lld-link: error: undefined symbol: "public: __cdecl
> jinja2::Template::Template(class jinja2::TemplateEnv *)"
> (??0Template at jinja2@@QEAA at PEAVTemplateEnv@1@@Z)
>>>> referenced by
> C:\Users\Osman\AppData\Local\Temp\currency_converter-264ae1.o:("void _
> _cdecl handle_request<struct
> boost::beast::http...
2008 Jul 30
1
Rprintf will not build in my C++ compiler
...id hello( int *n ) {
int i ;
for( i = 0 ; i < *n ; i++ ) {
Rprintf( "Hello, world!\n" ) ;
}
}
----------------------
When I try to build this code, I recieve 2 error massages,
"error LNK2019: unresolved external symbol _Rprintf referenced in function
"void _cdecl hello(int *n)" (?hello@@YAXPAH at Z)"
"fatal error LNK1120: 1 unresolved externals"
To be honest, I'm not exactly sure what these errors mean, I'm still
learning C++.
Any thoughts would be appreciated.
--
View this message in context: http://www.nabble.com/Rprintf-will...
2009 Apr 03
1
Problem building DLL under Windows
...omething about Windows DLLs.
Compulsory version information:
OS: Windows XP SP2
R: 2.8.1
GCC: 4.2.1-sjlj (mingw32-2) (From Rtools29.exe)
For the record, I've read http://www.stats.uwo.ca/faculty/murdoch/software/compilingDLLs/readme.packages.txt which hints at some requirement for DLLs to use _cdecl. I've started exploring along this line, but there's a lot of documentation to trawl through to make sense of it all and I don't want to go off chasing a red herring if I just need to pass a special --make-it-work flag to gcc.
In the only thread I found which appeared to have any simil...
2018 Dec 11
2
Using LLD to link against third-party libraries? How?
...xe
"
And I got these warnings and errors from LLD:
"
lld-link: warning: C:\Users\Osman\AppData\Local\Temp\currency_converter-264ae1.o: locally defined symbol imported: __std_terminate (defined in libvcruntime.lib(ehhelpers.obj)) [LNK4217]
lld-link: error: undefined symbol: "public: __cdecl jinja2::Template::Template(class jinja2::TemplateEnv *)" (??0Template at jinja2@@QEAA at PEAVTemplateEnv@1@@Z)
>>> referenced by C:\Users\Osman\AppData\Local\Temp\currency_converter-264ae1.o:("void __cdecl handle_request<struct boost::beast::http::basic_string_body<char, s...
2007 Jan 26
1
Using Windows API functions in R
Somehow autofilter doesn't allow this message to be posted,
will try another time.
-----Original Message-----
From: Yuri Volchik <volchik2000 at list.ru>
To: r-devel at r-project.org
Date: Thu, 25 Jan 2007 22:27:13 +0000
Subject: Using Windows API functions in R
>
> Hi to all.
>
> In programming one application i have to "press" button to have
> application
2003 Feb 16
1
__stdcall funcitons called using .C() on win32 chokes
I've developed a dll (win32) of a bunch of functions prototypes as:
/* for building on *nix */
#ifndef WIN32
#define __stdcall /*nothing*/
#endif
void __stdcall dbh_2_height(
const unsigned long *func_idx,
const unsigned long *metric,
const unsigned long *species,
const double *dbh,
double *pred_height );
and have created a R interface
2010 Feb 20
3
MFC Code Compile Error
.../VC98/mfc/include/afxver_.h:144,
from /home/khana/mvs6/VC98/mfc/include/afx.h:27,
from /home/khana/mvs6/VC98/mfc/include/afxwin.h:19,
from StdAfx.h:22,
from DemoMfc.cpp:4:
/home/khana/mvs6/VC98/include/winnt.h:113:1: warning: "_cdecl" redefined
<command-line>: warning: this is the location of the previous definition
/home/khana/mvs6/VC98/include/winnt.h:630:2: error: #error Must define
a target architecture.
In file included from /home/khana/mvs6/VC98/mfc/include/afxver_.h:148,
from /home/khana/mvs6/...
2006 Oct 18
2
Problems building package under Windows (PR#9303)
...ll MS HTML Help Workshop.
There seems to be a problem calling MS HELP (hcc.exe) unless the path
is specified as DOS filenames without spaces.
* It would be useful if you told where to get Mingw, Perl and MS Help
from. Maybe I am using wrong versions?
* The manual needs to tell whether to use _cdecl or _stdcall calling
convention for C/C++ code under Windows32.
* A full working example of a package with a small C/C++ code would be
very helpful. The package should contain all
necessary source files and the commands to build and install it.
------------------------------------------------...
2002 Jan 30
1
Patch: update zlib/* to 1.1.3
...-# define ZEXPORTVA WINAPIV
+#if defined(ZLIB_DLL)
+# if defined(_WINDOWS) || defined(WINDOWS)
+# ifdef FAR
+# undef FAR
+# endif
+# include <windows.h>
+# define ZEXPORT WINAPI
+# ifdef WIN32
+# define ZEXPORTVA WINAPIV
+# else
+# define ZEXPORTVA FAR _cdecl _export
+# endif
+# endif
+# if defined (__BORLANDC__)
+# if (__BORLANDC__ >= 0x0500) && defined (WIN32)
+# include <windows.h>
+# define ZEXPORT __declspec(dllexport) WINAPI
+# define ZEXPORTRVA __declspec(dllexport) WINAPIV
+# else
+# if defined (_W...
2012 Aug 20
13
[PATCH 00/12] Multidisk support
Hello,
the following patches should get multidisk access working.
The syntax accepted is the following:
(hdx,y)/path/to/file
where x is the disk number and start at 0 and the y is the partition number starting at 1. So (hd0,1) is the first partition of the first disk.
the other accepted syntax is using MBR's 32 bits disk signature so for example:
(mbr:0x12345678,2)/foo/bar
would address