SDL does not not in the terminal

Hi, I am a developer (C, javascript, and html) and I need SDL for some C project.

I downloaded the .dmg on the official site, but it contains only a framework file, so it can work in Xcode, but how install you it right in OS X so that you can compile (GCC or makefile) files with headers "#include < SDL/SDL.h >" in the terminal?

I found some stuff on the internet, but nothing has worked, help please!

Thank you!

This is a poor forum for your question because there won't be a lot of people here who use SDL, and even less people using SDL of the Terminal. You'd better ask on a site like Stack Overflow or a forum for game development.

If you want someone to answer your question on this forum or on another forum, you must provide additional information. You said that you found some tips on Internet, but nothing has worked. What are the tips that you tried? How you compile the Terminal? What are the commands that you use to compile the code or content of your makefile? What are the errors you get? What SDL version do you use? 2 SDL came out a couple of years, and things are different, they were in SDL 1.2.

I can give you a tip. You need the framework SDL file to compile on a Mac. The download has instructions on where to install the framework on your Mac. You will need to use the framework of flag - to connect the SDL framework when compiling. Also, you should probably link the Cocoa framework because the Mac of SDL version using the Cocoa framework.

Tags: iOS Developer

Similar Questions

  • I just installed an SSD on my imac 24 inch 2007 but at the start of the computer does not see the drive. How to use the terminal to look for? Thank you

    I just installed an SSD on my imac 24 inch 2007 but at the start of the computer does not see the drive. How to use the terminal to look for? Thank you

    Can she be seen by disk utility (and which version of Mac OS X is)

  • I get a JavaScript Application error: "setTimeout" called on an object that does not implement the interface Window for Firefox.

    I get a pop up box with the message: Application JavaScript error: "setTimeout" called on an object that does not implement the interface Window for Firefox.

    But it seems to appear when I go to Amazon.com. Then he opens with this message and the OK option? But as fast as I can click OK, another box appears. After all a half dozen, she disappears - until what I move to another part of Amazon! I uninstalled - reinstalled and then - Firefox and BA. I do not understand this!

    (And of course, there is always the possibility that it is not only attacking me on Amazon... There may be a lot of other sites that also trigger, and I just haven't been there yet.)

    Hello

    Try Firefox Safe mode to see if the problem goes away. Firefox Safe mode is a troubleshooting mode that temporarily disables hardware acceleration, restores some settings and disables add-ons (extensions and themes).

    If Firefox is open, you can restart Firefox Safe mode in the Help menu:

    • In Firefox 29,0 and above, click on the menu button

      click Help

      then select restart with disabled modules.

    • In previous versions of Firefox, click on the Firefox button in the upper left of the Firefox window and click help (or click on help in the Menu bar, if you do not have a Firefox button) and click on restart with disabled modules.

    If Firefox is not running, you can start Firefox in Mode safe mode as follows:

    • On Windows: Hold down the SHIFT key when you open the desktop Firefox or shortcut in the start menu.
    • On Mac: Hold the option key during the startup of Firefox.
    • On Linux: Exit Firefox, go to your Terminal and run firefox-safe-mode
      (you may need to specify the installation path of Firefox for example/usr/lib/firefox)

    When the Firefox Safe Mode window appears, select "start mode safe."

    If the problem is not present in Firefox Safe Mode, your problem is probably caused by an extension, theme or hardware acceleration. Please follow the steps described in the section Troubleshooting extensions, themes and problems of hardware acceleration to resolve common Firefox problems to find the cause.

    To exit safe mode of Firefox, simply close Firefox and wait a few seconds before you open Firefox for normal use again.

    When find you what is causing your problems, please let us know. This might help others with the same problem.

  • FOR loop does not update the local Variable

    I am newer to labview, and I can't wrap the head around why not a habit of local variable to update in the code if it updates on the dashboard. Anything im missing?

    Assume that you are talking about the local variable of the 'State of the cell. The terminal updates every 500ms in the small top loop, the local variable indicates simply that the indicator and thus updates also.

    The problem is "dataflow" and you need to familiarize yourself with the concept!

    Once the while loop starts, the local variable is reading and inside the loop begins. Most likely, the local variable is read before it is updated in the small loop, so most likely returns the value of a fade on the first iteration of the while loop. Now the small loop continues to go twice per second for about five seconds. Only after the loop FOR (and everything else inside the while loop) completed, the while loop will go to the next iteration, date on which the local variable is read once more, this time with the last value of the last for loop iteration of the previous iteration of the while loop.

    In summary, the local variable updates very well, it's just that the code does not read the new value around most of the time.

    Your VI is full also potential competition conditions caused by the over-use of the local variable. You need to respect the proper execution order by eliminating local variables.

    So what is the solution? Hard to say without knowing what the VI is supposed to do. Most likely, you will need to remove the inside OF the loop and use it outside while loop for everything.

  • Save dialog box under does not display the list of files

    Terminal Server R2 of 2012.  Dialog box "Save as" for a user does not display the list of files.  The address bar shows the way, there is a form for the file name box, and the user can save the file successfully.  But the space that would show the files in the selected directory is empty.  There is no form for the list of files box, it's just the grey box dialog box space - that is to say, it is not that it looks like an empty folder, there is simply no display form box.

    The 'Open' dialog box appears normal, showing the list of files in the selected folder.

    I had the user close the session on the Terminal Server and access it from another PC, even if I was not expecting to make a difference, and it didn't.  I have also connected on myself and has not experienced the same problem.  So it seems to be user-specific.

    What a setting, the user has selected by mistake, or a mistake any?

    Thanks for any help.

    Hello

    Post your question in the TechNet Server Forums, as your question kindly is beyond the scope of these Forums.

    http://social.technet.Microsoft.com/forums/WindowsServer/en-us/home?category=WindowsServer

    See you soon.

  • exp.exe System/pass@xe_345 does not have the name of the service as input

    Please suggest,


    can be used below command name service
    exp.exe System/pass@xe_345 does not have the name of the service as input

    What is the problem with the command below
    C:\oraclexe>exp.exe system/pass@XE file=hr.dmp log=hr.log consistent=y owner=hr
    
    Export: Release 10.2.0.1.0 - Production on Wed May 12 16:16:28 2010
    
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    
    
    EXP-00056: ORACLE error 12541 encountered
    ORA-12541: TNS:no listener
    EXP-00000: Export terminated unsuccessfully
    
    C:\oraclexe>exp.exe system/pass file=hr.dmp log=hr.log consistent=y owner=hr
    
    Export: Release 10.2.0.1.0 - Production on Wed May 12 16:16:56 2010
    
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    
    
    Connected to: Oracle Database 10g Express Edition Release 10.2.0.1.0 - Productio
    n
    Export done in AL32UTF8 character set and AL16UTF16 NCHAR character set
    
    About to export specified users ...
    . exporting pre-schema procedural objects and actions
    . exporting foreign function library names for user HR
    . exporting PUBLIC type synonyms
    . exporting private type synonyms
    . exporting object type definitions for user HR
    About to export HR's objects ...
    . exporting database links
    . exporting sequence numbers
    . exporting cluster definitions
    . about to export HR's tables via Conventional Path ...
    . . exporting table                      COUNTRIES         25 rows exported
    . . exporting table                    DEPARTMENTS         27 rows exported
    . . exporting table                      EMPLOYEES        107 rows exported
    . . exporting table                           JOBS         19 rows exported
    . . exporting table                    JOB_HISTORY         10 rows exported
    . . exporting table                      LOCATIONS         23 rows exported
    . . exporting table                        REGIONS          4 rows exported
    . exporting synonyms
    . exporting views
    . exporting stored procedures
    . exporting operators
    . exporting referential integrity constraints
    . exporting triggers
    . exporting indextypes
    . exporting bitmap, functional and extensible indexes
    . exporting posttables actions
    . exporting materialized views
    . exporting snapshot logs
    . exporting job queues
    . exporting refresh groups and children
    . exporting dimensions
    . exporting post-schema procedural objects and actions
    . exporting statistics
    Export terminated successfully without warnings.
    
    
    
    ^C
    C:\oraclexe>
    C:\oraclexe>
    C:\oraclexe>
    C:\oraclexe>
    C:\oraclexe>
    C:\oraclexe>exp.exe system/pass@xe_345 file=hr.dmp log=hr.log consistent=y owner
    =hr
    
    Export: Release 10.2.0.1.0 - Production on Wed May 12 16:18:27 2010
    
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    
    
    EXP-00056: ORACLE error 12541 encountered
    ORA-12541: TNS:no listener
    EXP-00000: Export terminated unsuccessfully
    
    C:\oraclexe>lsnrctl status listener
    
    LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on 12-MAY-2010 16:18
    :39
    
    Copyright (c) 1991, 2005, Oracle.  All rights reserved.
    
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC_FOR_XE)))
    STATUS of the LISTENER
    ------------------------
    Alias                     LISTENER
    Version                   TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Produ
    ction
    Start Date                06-MAY-2010 15:32:57
    Uptime                    6 days 0 hr. 45 min. 41 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Default Service           XE
    Listener Parameter File   C:\oraclexe\app\oracle\product\10.2.0\server\network\a
    dmin\listener.ora
    Listener Log File         C:\oraclexe\app\oracle\product\10.2.0\server\network\l
    og\listener.log
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC_FOR_XEipc)))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=suvarna)(PORT=1521)))
    Services Summary...
    Service "ORCL" has 2 instance(s).
      Instance "ORCL", status UNKNOWN, has 1 handler(s) for this service...
      Instance "orcl", status READY, has 1 handler(s) for this service...
    Service "PLSExtProc" has 1 instance(s).
      Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "XE" has 1 instance(s).
      Instance "XE", status UNKNOWN, has 1 handler(s) for this service...
    Service "orclXDB" has 1 instance(s).
      Instance "orcl", status READY, has 1 handler(s) for this service...
    Service "orcl_XPT" has 1 instance(s).
      Instance "orcl", status READY, has 1 handler(s) for this service...
    The command completed successfully
    
    C:\oraclexe>tnsping XE_345
    
    TNS Ping Utility for 32-bit Windows: Version 10.2.0.1.0 - Production on 12-MAY-2
    010 16:19:18
    
    Copyright (c) 1997, 2005, Oracle.  All rights reserved.
    
    Used parameter files:
    C:\OraHome_1\network\admin\sqlnet.ora
    
    
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = suvarna)
    (PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = XE)))
    OK (30 msec)
    
    C:\oraclexe>exp.exe system/pass@xe_345 file=hr.dmp log=hr.log consistent=y owner
    =hr
    
    Export: Release 10.2.0.1.0 - Production on Wed May 12 16:19:37 2010
    
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    
    
    EXP-00056: ORACLE error 12541 encountered
    ORA-12541: TNS:no listener
    EXP-00000: Export terminated unsuccessfully
    
    C:\oraclexe>

    Seems you have the strategy (profile) password for the user of the SYSTEM, but it cannot be reason of errors like ' no. LISTENER '

    Question:

    change the unlock SYSTEM user account;

    Published by: Teymur Hajiyev 12 May 2010 16:15

    adding text "BOLD"

  • Why Safary does not load the content of pages?

    Why Safary does not load the content of pages? I mean, when I hover over the places where should be the content, he is always showing the "redirect to: [email protected]/" lower left. My Safari is 9.5 and worked fine until Safe Fimder Virus get inside my computer. Mozilla Firefox is a bit slower. If someone could give me an idea on how to deal with it, I would be happy.

    Sorry if my English is not good, I am a Brazilian who is still learning English

    Your English is very good!

    Redirects are usually due to adware or malware.

    Download the run MalwareBytes.

    It of free and takes only a minute or two. Which should remove all adware and malicious software on your Mac.

  • Time Machine (on Mac) does not detect the airport Time Capsule

    Originally posted on the page of the airport, but seems to be the better question for this group. Sorry for the double post

    Looking for advice on how to get the Time Machine utility for access to my Time Capsule. I use an iMac in late 2012 with MAC OS 10.12 TimeCapsule is 2015 7.7.7 running latest firmware. Airport utility is the latest firmware 6.3.7.

    When I run the application Time Machine, Time Capsule is not detected. I tried the two WiFi and with cables connected Ethernet (not tried USB yet) and my Time Capsule doesn't have a lightning bolt or firewire ports.

    Open Airport utility & see the airport time capsule. I can see all connected devices, including the MAC, but no prompt activation Time Machine on the Time Capsule.

    I recently used TM on this iMac with a G-Technology drive. It auto detects the time machine and executes a back up. But airport Time Capsule will not.

    Any suggestions?

    Sierra has been problematic with the TC.

    1. make sure you don't have any charge virus protection software. In fact, I would say that disable all software 3rd part at the moment.

    2. make sure that you can actually write to disk of TC.

    Attach the TC disc in the finder and copy a file on disk, you can delete it later... It's just to ensure that you have full write permission. If it does not for the most part, you won't be able to use Time Machine... If you can then try TM immediately...

    Just to be clear, the TC is a network device. You have tested with ethernet and wireless... Ok.. They are only suitable methods. You cannot use USB. And clearly, TC has never had nor will never be ports Firewire or lightning.

    3. no chance that a reset complete TC. This will not delete the files on the hard drive, but you must make sure that the device is configured on the current computer.

    4. There are many positions in these days... read through them and do some research. Sierra is a bleeding edge new... So wait you to spend a lot of the precious liquid if you choose to be an early adopt.

  • the preview window does not show the document that I'm about to print in Sierra

    The preview window does not display the document that I'm about to print. This problem started as soon as I upgraded to Sierra. It occurs in many applications - including in Microsoft Excel 2011.

    Hello, David Bry1,.

    Thank you for using communities of Apple Support.

    I understand that when you try to print from a number of different applications, you do not see the preview of the document you are printing. I would like to assure you that I see the preview as well when I print. Let's see how we can get this resolved.

    I advise you to ensure that the printer software is up-to-date on your printer Brother DCP-7065DN. Please choose 'Available Software' brother printer and scanner software for macOS Sierra, El Capitan, Yosemite, and Mavericks

    If a software update is available, please install and then test and see if you get the same result.

    Have an amazing day!

  • Why my iPhone 4S (ios 9.3.5) does not activate the messages using my apple ID?

    Why my iPhone 4S (ios 9.3.5) does not activate the messages using my apple ID?

    Michael T.L. says:

    Why my iPhone 4S (ios 9.3.5) does not activate the messages using my apple ID?

    If you get an error when you try to activate FaceTime - Apple Support or iMessage

  • IPhone does not accept the code to check for text messages

    II phone does not accept the code verification for the transfer of messages text imac

    Maybe these articles will help:

    Get a verification code and connect with authentication to two factors - Apple Support

    If you don't receive your check or reset email - Apple Support

    If this is not the case, can you explain a little more detail what exactly is your problem?  Or see the 'Contact us' at the bottom of the second article.

  • Power mac g4 does not recognize the DVD/CD drive.  It has worked very well in Leapard

    I just newly installed Tiger on my PowerMac G4, and now it does not recognize the DVD/CD drive.  I did all the updates and it does not see the DVD in the DVD drive.  It works perfectly before a new clean install DVD of the Tiger.

    What is your indication that the DVD is not recognized?

    Run the utility disc with the disc in the optical drive.  The drive will appear in the sidebar of disk utility?

    I did all the updates and it does not see the DVD in the DVD drive.

    If you put another type of disc in the optical drive, as a music CD, it is recognized?

  • My Firefox has just automatically updated itself to the version 42. The extention under modules page does not display the extensions I have installed.

    My Firefox has just automatically updated itself to the version 42. The extention under modules page does not display the extensions I have installed. The plug in page shows the plug ins I installed. How can I fix it? This happened on my 64 bit Windows 7 partition. I installed the extension "classic add-on" to see if she could solve the problem. There is unfortunately no. I have a screenshot. I'm not sure if I have permission to upload it to the media gallery. I also use Linux, but I did not upgrade that are still there.

    It is possible that there is a problem with the files that store the registry extensions.

    Delete the files (extensions.json, extensions.sqlite, extensions.ini) extensions.* and compatibility.ini in the profile folder of Firefox to reset the extensions registry.

    New files will be created if necessary.

    See "extension corrupted files:

  • Why my master password does not meet the correct password, in that I get

    After you set up a master password in security settings constantly, he asked for it, but when I get in there it does not recognize the password. I wrote it down in order to avoid this problem. I don't know that it is the only one I chose. try again again and again did not help.
    Please help me. What do you think is the best way to solve this problem?

    Hello

    Refresh (called "Reset" in older versions of Firefox) can solve a lot of problems in restaurant Firefox as his default factory while saving your bookmarks, history, passwords, cookies, and other essential information.

    Note: When you use this feature, you will lose all the extensions, toolbar customizations, and certain preferences. See article Firefox Refresh - reset modules and parameters for more information.

    Refresh for Firefox:

    1. Open the troubleshooting information page using one of the following methods:

      • Click the menu button

        click Help

        and select troubleshooting information. Should open a new tab containing your troubleshooting information.

      • If you are unable to access the Help menu, type Subject: support in your address bar to bring up the troubleshooting information page.
    2. At the top right of the page, you should see a button that says 'Refresh Firefox' ('reset Firefox' in older versions of Firefox). Click on it.
    3. Firefox closes. Once the update process is complete, Firefox will display a window with the imported information.
    4. Click Finish and reopen Firefox.

    This corrects the problem? Please report to us!

    Thank you.

  • Version 38.0.1 does not see the passwords stored in previous versions

    Version 38.0.1 does not see the previously saved passwords, and urged it to re - enter and save the password. After revert you to the version saved 31.7.0 pass back too. We have more than hundreds of copies of the program and all cached passwords, users do not even know what their password. This failure is a serious problem.

    Problem solved. Probably the file has been corrupted signons3.txt. I deleted the file, and the new passwords are kept. After this version of the software update and new version I've seen passwords, create a logins.json file and now everything is fine. On all other computers in the company such a problem does not arise.

  • The document _ is on a volume that does not support the permanent version storage.  You will not be able to access older versions of this document once you close.

    I recently started getting this strange message, usually when a Pages document is closed:

    «The document _ is on a volume that does not support the permanent version storage.»  You can access older versions of this document once you close. »

    All my research (apple.com and on the internet) have not enabled all the information on this message.

    Hi Larry,

    The 'volume' is a hard disk, a partition on a hard drive or a storage as a USB device.

    OS X automatically saves your document frequent while you work on it. If the volume of the device / it records on a summer formatted to allow 'versioning', you will be able to use Time Machine to open previous versions of your document. If it has not been formatted like that, you get the message see you, and only the current version of the document will be saved.

    Kind regards

    Barry

Maybe you are looking for