Compiling c++ files for windows

I have a c++ program that I would like to compile windows binaries for. I have tried installing mingw32-gcc, and using g++, but when I run the binaries (in wine or from windows), I get errors that certain .dll files are not found. Is there additional configuration needed to set up mingw32? Or should I be using a completely separate compiler. Thanks in advance!

ewaller@odin:~/test[1] 1040 %locate libgcc_s_sjlj-1.dll
/home/ewaller/Dropbox/libgcc_s_sjlj-1.dll
/home/ewaller/Dropbox/wxwidgetsprojects/spacewar/src/libgcc_s_sjlj-1.dll
/home/ewaller/devel/wxwidgetsprojects/spacewar/src/libgcc_s_sjlj-1.dll
/usr/i486-mingw32/bin/libgcc_s_sjlj-1.dll
/usr/i486-mingw32/lib/libgcc_s_sjlj-1.dll
ewaller@odin:~/test 1041 %pacman -Qo /usr/i486-mingw32/bin/libgcc_s_sjlj-1.dll
/usr/i486-mingw32/bin/libgcc_s_sjlj-1.dll is owned by mingw32-gcc 4.6.2-1
ewaller@odin:~/test 1042 %pacman -Qo /usr/i486-mingw32/lib/libgcc_s_sjlj-1.dll
/usr/i486-mingw32/lib/libgcc_s_sjlj-1.dll is owned by mingw32-gcc 4.6.2-1
ewaller@odin:~/test 1043 %
ewaller@odin:~/test 1054 %locate libstdc++-6.dll
/home/ewaller/Dropbox/libstdc++-6.dll
/home/ewaller/Dropbox/wxwidgetsprojects/spacewar/src/libstdc++-6.dll
/home/ewaller/devel/wxwidgetsprojects/spacewar/src/libstdc++-6.dll
/usr/i486-mingw32/bin/libstdc++-6.dll
/usr/i486-mingw32/lib/libstdc++-6.dll
ewaller@odin:~/test 1055 %pacman -Qo /usr/i486-mingw32/bin/libstdc++-6.dll
/usr/i486-mingw32/bin/libstdc++-6.dll is owned by mingw32-gcc 4.6.2-1
ewaller@odin:~/test 1056 %pacman -Qo /usr/i486-mingw32/lib/libstdc++-6.dll
/usr/i486-mingw32/lib/libstdc++-6.dll is owned by mingw32-gcc 4.6.2-1
ewaller@odin:~/test 1057 %
waller@odin:~/test 1047 %locate pdcurses.dll
ewaller@odin:~/test[1] 1048 %
Edit: Okay, I botched that post.. I'm fixing it.... There, that is better
Edit: The plot thickens...
ewaller@odin:~/test 1070 %pkgfile pdcurses.dll
ewaller@odin:~/test 1071 %
Last edited by ewaller (2012-03-23 04:35:19)

Similar Messages

  • How to get .Xap file for windows(8.1) app in visual studio 2013

    Hi ,
    I am creating an app that supports for windows tablet using visual studio 2013.For windows Phone  in bin folder i can see ProjectName.xap file these file can be submitted to store.But I could not see xap file for windows apps in visual stuido.What file
    I should use to upload my project to store.
    Thanks,
    Alok

    Additionally, xap extension only for Windows Phone Silverlight also some other Silverlight project.
    --James
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Problem with ipad 2 safari cannot download the file for windows live photo gallery

    on ipad 2 safari cannot download the file for windows live photo gallery

    What you can download via Safari on the iPad is very limited - you can only download apps from the iTunes app store on your computer to sync to the iPad, or from the App Store app directly on the iPad

  • How to make installer file for windows?

    Hi,
    I want to make a installer file for auto installing the ssl certificate. My folder contains following files:
    1. importpfx.exe
    2. Main.java
    3. Main.class
    4. TestCertificate.p12
    I want to bundle above files into a single setup file.How should it be done?
    Thanks in Advance

    If you want to make an installer file for windows, i think below link is suitable for your requirement. I never tried this approach of creating the installer file of java applications. But while reading the description of it, i thought that it may suits to your requirement.
    Here is the link : http://www.ej-technologies.com/products/install4j/overview.html
    Description : install4j is a powerful multi-platform Java installer builder that generates native installers and application launchers for Java applications. install4j excels in its ease of use, its extensive platform support and its powerful screen and action system
    Thanks,
    Uday.

  • To install Photoshop CS6, I have already downloaded the 2 files for Windows.  How can I activate the product?

    To install Photoshop CS6, I have already downloaded the 2 files for Windows.  How can I activate the product?

    I am having the same problem. I did download the two files and started the .exe file. The .exe file appears to run downloading files. When the bar is full the window dissapears without any options. Both files are in the same folder. any thoughts?

  • How can I fix error code 131:4? Licensing for this product stopped working. I have windows vista home edition and CS4 Design Premium. I downloaded licensing zip file for windows but I can't seem to get it to launch. Look forward to help from anyone

    How can I fix error code 131:4? Licensing for this product stopped working. I have windows vista home edition and CS4 Design Premium. I downloaded licensing zip file for windows but I can't seem to get it to launch. Look forward to help from anyone

    Steve,
    I appreciate your answer.  While it might work, I'm a bit hesitant to remove the other programs as a possible solution since they are all currently working.
    With Acrobat 9 Pro failing with the OS 10.7 upgrade, I'm hoping that there is a less severe solution.
    Since the trigger appears to be 10.7 and may have something to do with the discontinued support of Rosetta, I could be spending a few hours working on a reinstall without a change.  Yes, it might work.  The "might" is the part that makes me hesitate.
    Is anyone else out there on OS 10.7 and running Acrobat 9 Pro?  Any issues with anyone else?
    Thanks Steve.  I do appreciate your offering a solution.  I may end up trying it if nothing else comes together.
    Mark

  • Compile jsp file for long time

    Hi All,
    I'm applying patch on EBS 11.5.9, now it's compiling jsp file for about 1hours.
    Below is the log file,
    enumerating jsps...13577
    updating dependency...13
    parsing jsp...13
    writing deplist...13577
    initializing compilation:
    eliminating children...10257 (-3320)
    searching uncompiled...13 (10 were stale)
    translating and compiling:
    searching untranslated...13
    translating jsps...
    Please advise.
    Thanks,
    Kevin

    I'm applying patch on EBS 11.5.9, now it's compiling jsp file for about 1hours.
    Below is the log file,What is the command you use to compile JSP file?
    It is normal for compiling JSP files to run for more than 1 hour, which depends on the hardware resources you have. So, I would suggest you wait and see if the job completes successfully.
    Thanks,
    Hussein

  • Unable to create a catalog file for Windows 10 Enterprise (9926) using latest ADK

    Has anyone successfully created a catalog file for Windows 10 Ent. Preview build 9926? Ii get persistent failures attempting to do so. Log output is below and any hint would be greatly appreciated.
    7:20 AM : This application requires version 6.3.9600.16384 of the Windows ADK.
    Install this version to correct the problem
    7:33 AM :
    7:33 AM : Windows SIM was unable to generate a catalog. For troubleshooting assistance, see the topic: 'Windows System Image Manager Technical Reference' in the Windows ADK User's Guide.
    7:33 AM :
    7:33 AM : System.ComponentModel.Win32Exception (0x80004005): Unknown error (0xc1420117)
    Server stack trace:
       at Microsoft.ComponentStudio.ComponentPlatformInterface.WimImageInfo.PostCreateCatalog()
       at Microsoft.ComponentStudio.ComponentPlatformInterface.OfflineImageInfo.CreateCatalog()
       at Microsoft.ComponentStudio.ComponentPlatformInterface.CatalogCreatorImpl.CreateCatalog(OfflineImageInfo offlineImageInfo)
       at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Object[]& outArgs)
       at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg)
    Exception rethrown at [0]:
       at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
       at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
       at Microsoft.ComponentStudio.ComponentPlatformInterface.ICatalogCreator.CreateCatalog(OfflineImageInfo offlineImageInfo)
       at Microsoft.ComponentStudio.CatalogGenerator.CreateCat(ProgressDialog pd, Object o)

    Hello,
    The Windows Desktop Perfmon and Diagnostic tools forum is to discuss performance monitor (perfmon), resource monitor (resmon), and task manager, focusing on HOW-TO, Errors/Problems, and usage scenarios.
    As the question is off topic here, I am moving it to the
    Where is the Forum... forum.
    Karl
    When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer.
    My Blog: Unlock PowerShell
    My Book:
    Windows PowerShell 2.0 Bible
    My E-mail: -join ('6F6C646B61726C406F75746C6F6F6B2E636F6D'-split'(?<=\G.{2})'|%{if($_){[char][int]"0x$_"}})

  • How to create an unsigned appxbundle file for windows store app?

    Hi,
    Is it possible create an unsigned appxbundle file for windows store app and later sign it with my company certificate?
    If yes, how can I achieve it?
    Thanks

    You would create your own appx pacakge using
    MakeAppx.exe.
    Matt Small - Microsoft Escalation Engineer - Forum Moderator
    If my reply answers your question, please mark this post as answered.
    NOTE: If I ask for code, please provide something that I can drop directly into a project and run (including XAML), or an actual application project. I'm trying to help a lot of people, so I don't have time to figure out weird snippets with undefined
    objects and unknown namespaces.

  • HOW DO I UNINSTALL WINDOWS 8.1 PREVIEW FROM MACBOOK PRO (SNOW LEOPARD)... CAN NOT FIND README FILE FOR WINDOWS PREVIEW. PLEASE HELP

    how can i uninstall windows 8.1 preview from my macbook pro?? ive looked for over an hour for the readme file for the windows 8.1 preview and have had no luck. ive done almost everything i can think of at the moment and nothing is working. somebody please help, thanks

    Windows 8.1 Preview cannot be uninstalled. However, if what you want is to remove Windows completely, start up in OS X, open Boot Camp Assistant (in /Applications/Utilities) and follow the steps to remove the Windows partition.
    If what you want is to install the final Windows 8.1 version, read this Microsoft support article > http://windows.microsoft.com/en-us/windows-8/update-from-preview

  • Encoding iMovie files for Windows Media Player

    iMovie 11 / 9.0
    Mac OS 10.6.8
    I edit audio/video in iMovie (currently the only program I have) and need to output for streaming on the internet. Most of our subscribers are using older versions of Windows Media Player and as I understand won't be able to play MP4. I couldn't play the MP4 using Windows Media Player 9.0, "invalid format" error.
    What software could I use to convert MP4 to a format for streaming on the internet that our subscribers play using WMP? Should I save the file out of iMovie in a different format to convert?
    I have Adobe Media Encoder 4.2.0.006 but my options are h.264 or flash, got error messages when I tried to "Edit Export Settings".
    Thanks

    The easiest way is to upload video to YouTube and embed videos on your site from there. This way you don't have to worry about which version of Windows, which version of Internet Exlorere, etc.
    Another way, ask your users to install QuickTime For Windows. Then export normally,
    Another way, get one of the paid versions of Flip4Mac, and you can convert files to wmv using QuickTime Pro or MPEG Streamclip or Compressor.

  • Boot file for Windows 7 missing after windows 10 installation.

    Hello,
    Recently for the purpose of evaluation, i installed Windows 10 enterprise technical preview on a VHD mounted on a machine running Windows 7 64bit ultimate. Installation process went well but since then I cannot log onto windows 7 itself.
    Machine loads directly to windows 10 without giving any option to choose the OS. When I checked the system configurations there is only one boot file displayed - windows technical preview - there is no sign of windows 7 boot file.
    Wondering if anyone else experience any such issues.
    If yes then how to solve this issue.
    Thanks

    Hi Mansoor Moin,
    Can you give us more information about your situation?
    Based on my understanding, you create a Native Boot to VHD on Windows 7 machine, right?
    If so, this would be a mistake on deleting boot entry.
    I would like to know if you can get the Windows 7 system partition in current disk management. If so, we can use following command to add a boot entry.
    bcdboot F:\windows
    F: represents the Windows 7 Operating system letter.
    Alex Zhao
    TechNet Community Support

  • Where is the .iso file for Windows 8?

    I bought the ugprade for windows 8, and ran "Windows8-UpgradeAssistant"
    It scanned my computer, all was good to go. I finished downloading something... (I assumed it was windows8)
    But once I finished everything, it gave me a shortcut on my desktop called "Install Windows"
    When I run that shortcut, it gives me 2 options:
    -Install now
    -Install later from your desktop
    This is what I see everytime I run that shortcut file.
    Where can I find my .iso file??
    (Note, my current computer is not the computer I want to install Win8. I'm upgrading now so that I can get the ISO file and save it for later use when I get my new computer)

    "Important: This tool provides valuable information about your computer's compatibility with Windows 8, facilitates the purchase of the Windows 8 download, and then downloads the correct
    version (32-bit or 64-bit) based on information about
    your computer - all important reasons to run this tool from the PC you're going to clean install Windows 8 on."
    ... I didn't know this, and I bought windows 8 on my current PC which is 5 years old.
    I'm planning to get a new computer next month which will be 64-bit. Is there a way to re-download or am I out of luck?
    On the Install Windows 8 screen, choose Install by creating media and
    then click Next.
    This step never showed up for me.

  • Sharing files for Windows

    I sharing files in Mac OS X Lion, with permissions for:
    User1 : Full - user for Sahring
    User2: Full - user for Mac (owner)
    Everone: Full
    Ok, in Mac's all OK, but when open file in Windows, after saving file, the permissions for file:
    User1: Full
    Everone: no access
    I don't open file in my Mac, for open file in my Mac, i have specify again the permissions the Paste.
    Help me!
    Jenes

    MrMos3s - I had this same problem, and eventually found a thread post that fixed the problem for me. I found it here.
    https://discussions.apple.com/thread/3534026?start=0&tstart=0
    YEAAHH!! I did it! I just made a transfer of a .band folder from my PC to my iPhone through iExplorer!
    This was my steps
    1. Download iExplorer and install it. Connect your iPhone
    2. Find the folder "com.apple.mobilegarageband" in iExplorers browser
    3. Drag and drop your folder .band to the folder "Documents". (!! Your'e not done yet!)
    4. In GarageBand on your iPhone press the plus-button as you would start a new song. Choose "Copy from iTunes". Choose your imported song.
    5. Start rockin'
    I've searched 5 hours to find this solution and man am I glad to finally have my songs back!!
    Cheers,
    nottheguy

  • Compiler fails to compile the file for iOS

    I have been on porting a flash project on the iOS platform. At first I was able to convert small files to iOS without any error. But when i started compile a big file (fla of around 5-6 MB and 100-120 .as files) for the same it gave me an error.
    Error creating files.
    ERROR: formatting double using non-ecmascript rules.
    Please if anyone knows why this happens please let me know. I have been behind this file for a while now.
    Thanks in advance.

    I will try excluding .as files one by one...but i cant put the source code as an attachment because its too big and its belongs to my firm.
    I know it makes your job very difficult, Apologies for that. But if you have any other suggestions that I can try please let me know.
    I really need an expert opionion.
    Thanks in anticipation.

Maybe you are looking for

  • How to add 'Confidential' watermark to all the pages in portal

    Hi How to add 'Confidential' watermark to all the pages in portal.We have ESS/MSS business packages installed 60.1, 60.2. ECC5, EP SP16 is the environment. Help will be appreciated Thanks Sharath

  • HTTP Receiver Adapter - Post HTTPS to non-sap system

    I plan on doing an https post to a non-sap system using the http rec adapter.  Will I need to make some config changes to enable ssl communication on the XI system?  Will I need the certificate of the target system? Thanks, Mark

  • 750GB Seagate External Drive - Disk Insertion error

    I have two 750 GB Seagate External hard drives, which are daisy chained to my PowerMac G5. I was transfering files between external hard drives, when all of a sudden the computer crashed. Once I restarted, the computer gave a disk insertion error: Di

  • String.matches vs Pattern and Matcher object

    Hi, I was trying to match some regex using String.matches but for me it is not working (probably I am not using it the way it should be used). Here is a simple example: /* This does not work */ String patternStr = "a"; String inputStr = "abc"; if(inp

  • Win XP Client Cannot Connect to Mac OS X 10.4.4 Server but Win 2000 Can

    Anyone run into this problem? Just basic Apple/Windows stand alone, no domain or interaction with other Windows Servers. User can log on fine with Windows 2000 client, but same user cannot connect with Windows XP client on same network. Any workaroun