[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
dll creation for windows
From: |
Abdur |
Subject: |
dll creation for windows |
Date: |
6 Jul 2006 03:07:47 -0700 |
User-agent: |
G2/0.2 |
Hi All,
I am new to dll creation and i have no idea. I browsed and got some
idea
I have two classes which does some file operation, one class does with
text file operation and the other does with xml operation.
To do xml operation we need to include libxml2, i tried creating exe,
it worked fine.
When i create a dll for txt file operation, i am avle to create a dll
which can be used by java, but when i create dll including the xml
operations, i face compilation errors
the following is the error message
g++ -mno-cygwin -I/usr -I/usr/include -IC:/j2sdk1.4.2/include
-IC:/j2sdk1.4.2/include/win32 -Wl,--add-stdcall-alias -shared -o
JavaLogger.dll CCJavaLogger.cpp -L. -llogger -L/lib
-lxml2 -lz -liconv -lm
In file included from
/usr/lib/gcc/i686-pc-mingw32/3.4.4/include/c++/bits/postypes.h:46,
from
/usr/lib/gcc/i686-pc-mingw32/3.4.4/include/c++/iosfwd:50,
from
/usr/lib/gcc/i686-pc-mingw32/3.4.4/include/c++/ios:44,
from
/usr/lib/gcc/i686-pc-mingw32/3.4.4/include/c++/ostream:45,
from
/usr/lib/gcc/i686-pc-mingw32/3.4.4/include/c++/iostream:45,
from CCJavaLogger.h:3,
from CCJavaLogger.cpp:1:
/usr/lib/gcc/i686-pc-mingw32/3.4.4/include/c++/cwchar:146: error:
`::fgetwc' has not been declared
/usr/lib/gcc/i686-pc-mingw32/3.4.4/include/c++/cwchar:147: error:
`::fgetws' has not been declared
/usr/lib/gcc/i686-pc-mingw32/3.4.4/include/c++/cwchar:148: error:
`::fputwc' has not been declared
/usr/lib/gcc/i686-pc-mingw32/3.4.4/include/c++/cwchar:149: error:
`::fputws' has not been declared
/usr/lib/gcc/i686-pc-mingw32/3.4.4/include/c++/cwchar:150: error:
`::fwide' has not been declared
/usr/lib/gcc/i686-pc-mingw32/3.4.4/include/c++/cwchar:151: error:
`::fwprintf' has not been declared
/usr/lib/gcc/i686-pc-mingw32/3.4.4/include/c++/cwchar:152: error:
`::fwscanf' has not been declared
/usr/lib/gcc/i686-pc-mingw32/3.4.4/include/c++/cwchar:153: error:
`::getwc' has not been declared
/usr/lib/gcc/i686-pc-mingw32/3.4.4/include/c++/cwchar:154: error:
`::getwchar' has not been declared
/usr/lib/gcc/i686-pc-mingw32/3.4.4/include/c++/cwchar:159: error:
`::putwc' has not been declared
/usr/lib/gcc/i686-pc-mingw32/3.4.4/include/c++/cwchar:160: error:
`::putwchar' has not been declared
/usr/lib/gcc/i686-pc-mingw32/3.4.4/include/c++/cwchar:161: error:
`::swprintf' has not been declared
/usr/lib/gcc/i686-pc-mingw32/3.4.4/include/c++/cwchar:162: error:
`::swscanf' has not been declared
/usr/lib/gcc/i686-pc-mingw32/3.4.4/include/c++/cwchar:163: error:
`::ungetwc' has not been declared
/usr/lib/gcc/i686-pc-mingw32/3.4.4/include/c++/cwchar:164: error:
`::vfwprintf' has not been declared
/usr/lib/gcc/i686-pc-mingw32/3.4.4/include/c++/cwchar:166: error:
`::vfwscanf' has not been declared
/usr/lib/gcc/i686-pc-mingw32/3.4.4/include/c++/cwchar:168: error:
`::vswprintf' has not been declared
/usr/lib/gcc/i686-pc-mingw32/3.4.4/include/c++/cwchar:170: error:
`::vswscanf' has not been declared
/usr/lib/gcc/i686-pc-mingw32/3.4.4/include/c++/cwchar:172: error:
`::vwprintf' has not been declared
/usr/lib/gcc/i686-pc-mingw32/3.4.4/include/c++/cwchar:174: error:
`::vwscanf' has not been declared
/usr/lib/gcc/i686-pc-mingw32/3.4.4/include/c++/cwchar:182: error:
`::wcsftime' has not been declared
/usr/lib/gcc/i686-pc-mingw32/3.4.4/include/c++/cwchar:189: error:
`::wcstod' has not been declared
/usr/lib/gcc/i686-pc-mingw32/3.4.4/include/c++/cwchar:191: error:
`::wcstof' has not been declared
/usr/lib/gcc/i686-pc-mingw32/3.4.4/include/c++/cwchar:193: error:
`::wcstok' has not been declared
/usr/lib/gcc/i686-pc-mingw32/3.4.4/include/c++/cwchar:194: error:
`::wcstol' has not been declared
/usr/lib/gcc/i686-pc-mingw32/3.4.4/include/c++/cwchar:195: error:
`::wcstoul' has not been declared
/usr/lib/gcc/i686-pc-mingw32/3.4.4/include/c++/cwchar:196: error:
`::wcsxfrm' has not been declared
/usr/lib/gcc/i686-pc-mingw32/3.4.4/include/c++/cwchar:202: error:
`::wprintf' has not been declared
/usr/lib/gcc/i686-pc-mingw32/3.4.4/include/c++/cwchar:203: error:
`::wscanf' has not been declared
/usr/lib/gcc/i686-pc-mingw32/3.4.4/include/c++/cwchar:249: error:
`::wcstold' has not been declared
/usr/lib/gcc/i686-pc-mingw32/3.4.4/include/c++/cwchar:258: error:
`::wcstoll' has not been declared
/usr/lib/gcc/i686-pc-mingw32/3.4.4/include/c++/cwchar:259: error:
`::wcstoull' has not been declared
/usr/lib/gcc/i686-pc-mingw32/3.4.4/include/c++/cwchar:265: error:
`__gnu_cxx::wcstold' has not been declared
/usr/lib/gcc/i686-pc-mingw32/3.4.4/include/c++/cwchar:266: error:
`__gnu_cxx::wcstoll' has not been declared
/usr/lib/gcc/i686-pc-mingw32/3.4.4/include/c++/cwchar:267: error:
`__gnu_cxx::wcstoull' has not been declared
In file included from
/usr/lib/gcc/i686-pc-mingw32/3.4.4/include/c++/bits/stl_algobase.h:67,
from
/usr/lib/gcc/i686-pc-mingw32/3.4.4/include/c++/bits/char_traits.h:46,
from
/usr/lib/gcc/i686-pc-mingw32/3.4.4/include/c++/ios:46,
from
/usr/lib/gcc/i686-pc-mingw32/3.4.4/include/c++/ostream:45,
from
/usr/lib/gcc/i686-pc-mingw32/3.4.4/include/c++/iostream:45,
from CCJavaLogger.h:3,
from CCJavaLogger.cpp:1:
/usr/lib/gcc/i686-pc-mingw32/3.4.4/include/c++/cstdlib:181: error:
`::strtold' has not been declared
/usr/lib/gcc/i686-pc-mingw32/3.4.4/include/c++/cstdlib:200: error:
`__gnu_cxx::strtold' has not been declared
In file included from
/usr/lib/gcc/i686-pc-mingw32/3.4.4/include/c++/bits/locale_facets.h:132,
from
/usr/lib/gcc/i686-pc-mingw32/3.4.4/include/c++/bits/basic_ios.h:44,
from
/usr/lib/gcc/i686-pc-mingw32/3.4.4/include/c++/ios:51,
from
/usr/lib/gcc/i686-pc-mingw32/3.4.4/include/c++/ostream:45,
from
/usr/lib/gcc/i686-pc-mingw32/3.4.4/include/c++/iostream:45,
from CCJavaLogger.h:3,
from CCJavaLogger.cpp:1:
/usr/lib/gcc/i686-pc-mingw32/3.4.4/include/c++/i686-pc-mingw32/bits/ctype_base.h:44:
error: `_UPPER' was not declared in this scope
/usr/lib/gcc/i686-pc-mingw32/3.4.4/include/c++/i686-pc-mingw32/bits/ctype_base.h:45:
error: `_LOWER' was not declared in this scope
/usr/lib/gcc/i686-pc-mingw32/3.4.4/include/c++/i686-pc-mingw32/bits/ctype_base.h:46:
error: `_ALPHA' was not declared in this scope
/usr/lib/gcc/i686-pc-mingw32/3.4.4/include/c++/i686-pc-mingw32/bits/ctype_base.h:47:
error: `_DIGIT' was not declared in this scope
/usr/lib/gcc/i686-pc-mingw32/3.4.4/include/c++/i686-pc-mingw32/bits/ctype_base.h:48:
error: `_HEX' was not declared in this scope
/usr/lib/gcc/i686-pc-mingw32/3.4.4/include/c++/i686-pc-mingw32/bits/ctype_base.h:49:
error: `_SPACE' was not declared in this scope
/usr/lib/gcc/i686-pc-mingw32/3.4.4/include/c++/i686-pc-mingw32/bits/ctype_base.h:50:
error: `_BLANK' was not declared in this scope
/usr/lib/gcc/i686-pc-mingw32/3.4.4/include/c++/i686-pc-mingw32/bits/ctype_base.h:50:
error: `_PUNCT' was not declared in this scope
/usr/lib/gcc/i686-pc-mingw32/3.4.4/include/c++/i686-pc-mingw32/bits/ctype_base.h:50:
error: `_ALPHA' was not declared in this scope
/usr/lib/gcc/i686-pc-mingw32/3.4.4/include/c++/i686-pc-mingw32/bits/ctype_base.h:50:
error: `_DIGIT' was not declared in this scope
/usr/lib/gcc/i686-pc-mingw32/3.4.4/include/c++/i686-pc-mingw32/bits/ctype_base.h:51:
error: `_PUNCT' was not declared in this scope
/usr/lib/gcc/i686-pc-mingw32/3.4.4/include/c++/i686-pc-mingw32/bits/ctype_base.h:51:
error: `_ALPHA' was not declared in this scope
/usr/lib/gcc/i686-pc-mingw32/3.4.4/include/c++/i686-pc-mingw32/bits/ctype_base.h:51:
error: `_DIGIT' was not declared in this scope
/usr/lib/gcc/i686-pc-mingw32/3.4.4/include/c++/i686-pc-mingw32/bits/ctype_base.h:52:
error: `_CONTROL' was not declared in this scope
/usr/lib/gcc/i686-pc-mingw32/3.4.4/include/c++/i686-pc-mingw32/bits/ctype_base.h:53:
error: `_PUNCT' was not declared in this scope
/usr/lib/gcc/i686-pc-mingw32/3.4.4/include/c++/i686-pc-mingw32/bits/ctype_base.h:54:
error: `_ALPHA' was not declared in this scope
/usr/lib/gcc/i686-pc-mingw32/3.4.4/include/c++/i686-pc-mingw32/bits/ctype_base.h:54:
error: `_DIGIT' was not declared in this scope
make: *** [JavaLogger.dll] Error 1
Help me out to solve this
Thanks in advance
Best Regards,
Abdur
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- dll creation for windows,
Abdur <=