Displaying 1 result from an estimated 1 matches for "registry_wrap".
2005 Aug 23
0
Compiling winelib dependant code with g++
wineg++ is using g++, and is passing its options to g++.
How can I link some winelib-dependant code with g++ ?
compilation is okay, but at linking time, all wine functions are unresolved.
// ### here's the output :###
[root@udp015809uds Wine2]# g++ -lwine registry.o registry_wrap.o -o registry.out
registry.o(.text+0x2e): In function `CreateKey(char const*)':
: undefined reference to `RegCreateKeyA'
registry.o(.text+0x58): In function `CreateKey(char const*)':
: undefined reference to `RegQueryValueExA'
registry.o(.text+0x8f): In funct...