Displaying 20 results from an estimated 20000 matches similar to: "Re: A problem with GetProcessMemoryInfo?"
2009 Mar 01
0
Re: A problem with GetProcessMemoryInfo?
I modified code to:
#include <windows.h>
#include "psapi.h"
#include <stdio.h>
#include <stdlib.h>
#pragma comment ( lib, "psapi.lib" )
void GetCurrentProcessMemory ()
{
PROCESS_MEMORY_COUNTERS pmc;
printf("{\n}");
bool ret=GetProcessMemoryInfo ( GetCurrentProcess() , &pmc, sizeof ( pmc
) );
if (ret)
2008 May 18
2
A problem with GetProcessMemoryInfo?
I have made a simple program, but results from both windows and wine are quite different. Is this a bug in my program or in wine? Any advice is appreciated :)
/*
result under windows:
{
}
[successed: 1085440]{
}
result under wine(linux):
{
}
[successed: 0]{
*/
#include <windows.h>
#include "psapi.h"
#include <stdio.h>
#include <stdlib.h>
#pragma comment ( lib,
2008 Nov 09
2
[LLVMdev] Mingw, cross-compiling,___eprintf
Cross-compiling from Ubuntu 8.04 x86_64 to mingw with the cmake
build system fails with this error while linking some tools:
../../lib/libLLVMSystem.a(DynamicLibrary.cpp.obj):DynamicLibrary.cpp:(.text+0x367):
undefined reference to `___eprintf'
___eprintf is mentioned in lib/System/Win32/DynamicLibrary.inc. This
symbol is referenced by libLLVMSystem.a when LLVM is natively built on
2010 May 20
1
Patching wine -- 64bits
Hello, first, sorry for my english, my native language is spanish and i haven not been a good student.
My problem is the next;
I have ubuntu 10.04TLS, I installed "Runes Of Magic" and got a lot of problems for play, for the last one, I also found the solution, is apply a patch, or edit minidump.c file, this file is inside source codes of wine avaible for download like:
2012 Jun 24
3
Patch for cross compilation with MinGW32
Hello,
I had some difficulties compiling the current git (
http://git.xiph.org/?p=flac.git;a=commit;h=a7e3705d051bafd1cae90f6605287cc1d9f2a18d
) using the Ubuntu 12.04 supplied MinGW32 cross compiler:
I configured the FLAC build with --host=i586-mingw32msvc
--target=i586-mingw32msvc --build=i586-linux but ran into several linker
problems. Are these options somehow wrong? It worked fine when
2009 Jun 04
2
Problem compiling Wine with Freetype on Ubuntu Hardy 64
I have a problem compiling Wine with Freetype. Not sure what to do:
dpkg -i wine*.deb
Code:
checking for freetype-config... freetype-config
checking for -lfreetype... not found
configure: error: FreeType development files not found.
Fonts will not be built. Dialog text may be invisible or unaligned.
Use the --without-freetype option if you really want this.
make: *** [config.status] Error 1
2008 Apr 13
2
Cross compiling from Linux to Win32
Hi all,
I have just commited a couple of small fixes [0] to allow libogg to
be compiled using the MinGW cross compile tools on Linux to
generate Win32 binaries (include a DLL) and run the tests under
Wine (the windows emulator).
On Ubuntu (or Debian) do you will need to install the following:
apt-get mingw32 mingw32-binutils mingw32-runtime wine
To configure and build do:
./configure
2008 Nov 09
0
[LLVMdev] Mingw, cross-compiling,___eprintf
Hello, Oscar
> oscar at qcore:~/dev/llvm/mingw-x$ i586-mingw32msvc-g++ --version
> i586-mingw32msvc-g++ (GCC) 4.2.1-sjlj (mingw32-2)
Have you tried to build llvm natively with exact same compiler
version? AFAIR, someone reported, that either this was not possible or
there was a miscompilation.
PS: Everything is with crosscompilation via gcc 3.4.6 & ld 2.18
--
With best regards, Anton
2011 Aug 02
2
[LLVMdev] [cfe-dev] Undefined reference cross-compiling shared llvm/clang for mingw
Abramo, it must be the query for llvmdev, not for cfe-dev.
2011/7/28 Abramo Bagnara <abramo.bagnara at gmail.com>:
> ../llvm-r136065/configure --host=i586-mingw32msvc
> --enable-targets=host-only --disable-jit --enable-bindings=none
> --enable-shared --disable-threads --disable-pthreads
> --disable-assertions --disable-optimized
I added --enable-shared for cygming a year ago.
2006 Dec 18
1
Can't find lcabinet when runnig make crosstest
Hi,
when I run make crosstest, I get an error message saying it can't find
lcabinet :
make[2]: Entering directory '/home/colin/Devs/wine/dlls/advpack/tests'
i686-mingw32-gcc advpack.cross.o files.cross.o install.cross.o
testlist.cross.o -o advpack_crosstest.exe -lcabinet -luser32 -ladvapi32
-lkernel32
/usr/lib/gcc/i686-mingw32/3.4.4/../../../../i686-mingw32/bin/ld: can't
find
2010 Dec 16
3
windows_port NUT branch
Hi,
Frederic, big thanks for your work on this, by a coincedence it's exactly what
i need at work :)
I'm compiling your branch on Debian GNU/Linux with mingw and having some minor
troubles worth mentioning and (i hope) fixing.
I configure with
CC=586-mingw32msvc-gcc ./configure --host=i586-mingw32msvc --prefix=/c/winnut/
Interestingly, there's scripts/Windows/Makefile in the repo
2009 Jul 31
6
Uninstall old wine version and install new version
I did a forum search and found 16 pages for uninstalling wine. Only one was semi-helpful.
What I got was:
>
> [Bakshara at Bakshara ~]$ rmdir ~/.wine
> rmdir: failed to remove `/home/Bakshara/.wine': Directory not empty
>
What do I need to do?
I want to uninstall wine 1.1.24 and install 1.1.26. I currently only have three apps installed. So any thing I will loose will be easy
2007 Jul 11
1
make error R-5.1 on sun solaris
I hope this is enough information to determine the problem. Thanks in
advance for any help.
Configure goes ok (I think)
./configure --prefix=$HOME --without-iconv
R is now configured for sparc-sun-solaris2.9
Source directory: .
Installation directory: /home/dpowers
C compiler: gcc -g -O2
Fortran 77 compiler: f95 -g
C++ compiler: g++
2009 May 19
9
Ubuntu and play65 application
Hello guys
I am a new ubuntu user and i am trying to install play65 application without success.
I have installed the wine but nothing has been achieved.
Anyone who can help me on this?
2005 Apr 14
5
cross compiling R for Windows under Linux
Hi
I tried to cross compile R under Linux but get an
error.
i586-mingw32-gcc -isystem
/home/schouwl/unpack/mingw/include -O2 -Wall -pedantic
-I../include -I. -DHAVE_CONFIG_H -DR_DLL_BUILD -c
dynload.c -o dynload.o
dynload.c: In function `R_loadLibrary':
dynload.c:94: warning: implicit declaration of
function `_controlfp'
dynload.c:94: error: `_MCW_IC' undeclared (first use
in this
2009 Apr 01
19
Install LiveZilla In wine
http://www.ushost.com.br/wine/livezilla.jpg
http://www.ushost.com.br/wine/error.txt
Would you like to chat client livezilla run on linux and can not run in wine,
because it is on. Net can someone help me?
--> http://bugs.winehq.org/show_bug.cgi?id=14574
I tried to do what it says in this FAQ and also had no success. : /
2009 May 30
0
[LLVMdev] Getting started (Windows)
On Sat, May 30, 2009 at 2:38 AM, Adrian Boeing<aboeing at gmail.com> wrote:
> With llvm, I've done:
> hello.c to hello.ll via the online LLVM compiler tool
> (http://llvm.org/demo/index.cgi)
> then
> llvm-as hello.ll
> to create the hello.bc, then
> llc hello.bc
> to create the hello.s
Try changing the third line of the output from the demo to look like
the
2009 May 30
1
[LLVMdev] Getting started (Windows)
Hi Eli,
> Try changing the third line of the output from the demo to look like
> the following:
> target triple = "i586-mingw32msvc"
Fantastic, thanks!
>There's a pre-built llvm-gcc for Windows at
Hmm, don't know how I missed that...
I guess that clears up all my beginners issues.
Thanks,
-Adrian
2008 Nov 05
4
How to make this program work?
Okay well my dad owns a store and in his store he has cameras that he views on the computer online. I have a program called Remote Viewer that we use on windows. Now im wondering how do i make it work on wine? Also i am using Ubuntu 8.10. If you need more info or something you can IM me on aim at AZIZMARS or send PM. Thx for the help guys.....
2006 May 18
2
Problems compiling Wine
Hello,
The lack of debian packages for 0.9.13 have made me decide to compile
from source instead. So I uninstalled all wine files and downloaded the
sources. I'm using a system based mostly on Debian Sarge, but with some
backports.
I ran ./configure and there were some packages I had to get, but soon it
worked well.
When I tried make depend the problems started. This is the output I get