Search Results

Search found 14975 results on 599 pages for 'garnet os'.

Page 80/599 | < Previous Page | 76 77 78 79 80 81 82 83 84 85 86 87  | Next Page >

  • CMake: Mac OS X: ld: unknown option: -soname

    - by Alex Ivasyuv
    I try to build my app with CMake on Mac OS X, I get the following error: Linking CXX shared library libsml.so ld: unknown option: -soname collect2: ld returned 1 exit status make[2]: *** [libsml.so] Error 1 make[1]: *** [CMakeFiles/sml.dir/all] Error 2 make: *** [all] Error 2 This is strange, as Mac has .dylib extension instead of .so. There's my CMakeLists.txt: cmake_minimum_required(VERSION 2.6) PROJECT (SilentMedia) SET(SourcePath src/libsml) IF (DEFINED OSS) SET(OSS_src ${SourcePath}/Media/Audio/SoundSystem/OSS/DSP/DSP.cpp ${SourcePath}/Media/Audio/SoundSystem/OSS/Mixer/Mixer.cpp ) ENDIF(DEFINED OSS) IF (DEFINED ALSA) SET(ALSA_src ${SourcePath}/Media/Audio/SoundSystem/ALSA/DSP/DSP.cpp ${SourcePath}/Media/Audio/SoundSystem/ALSA/Mixer/Mixer.cpp ) ENDIF(DEFINED ALSA) SET(SilentMedia_src ${SourcePath}/Utils/Base64/Base64.cpp ${SourcePath}/Utils/String/String.cpp ${SourcePath}/Utils/Random/Random.cpp ${SourcePath}/Media/Container/FileLoader.cpp ${SourcePath}/Media/Container/OGG/OGG.cpp ${SourcePath}/Media/PlayList/XSPF/XSPF.cpp ${SourcePath}/Media/PlayList/XSPF/libXSPF.cpp ${SourcePath}/Media/PlayList/PlayList.cpp ${OSS_src} ${ALSA_src} ${SourcePath}/Media/Audio/Audio.cpp ${SourcePath}/Media/Audio/AudioInfo.cpp ${SourcePath}/Media/Audio/AudioProxy.cpp ${SourcePath}/Media/Audio/SoundSystem/SoundSystem.cpp ${SourcePath}/Media/Audio/SoundSystem/libao/AO.cpp ${SourcePath}/Media/Audio/Codec/WAV/WAV.cpp ${SourcePath}/Media/Audio/Codec/Vorbis/Vorbis.cpp ${SourcePath}/Media/Audio/Codec/WavPack/WavPack.cpp ${SourcePath}/Media/Audio/Codec/FLAC/FLAC.cpp ) SET(SilentMedia_LINKED_LIBRARY sml vorbisfile FLAC++ wavpack ao #asound boost_thread-mt boost_filesystem-mt xspf gtest ) INCLUDE_DIRECTORIES( /usr/include /usr/local/include /usr/include/c++/4.4 /Users/alex/Downloads/boost_1_45_0 ${SilentMedia_SOURCE_DIR}/src ${SilentMedia_SOURCE_DIR}/${SourcePath} ) #link_directories( # /usr/lib # /usr/local/lib # /Users/alex/Downloads/boost_1_45_0/stage/lib #) IF(LibraryType STREQUAL "static") ADD_LIBRARY(sml-static STATIC ${SilentMedia_src}) # rename library from libsml-static.a => libsml.a SET_TARGET_PROPERTIES(sml-static PROPERTIES OUTPUT_NAME "sml") SET_TARGET_PROPERTIES(sml-static PROPERTIES CLEAN_DIRECT_OUTPUT 1) ELSEIF(LibraryType STREQUAL "shared") ADD_LIBRARY(sml SHARED ${SilentMedia_src}) # change compile optimization/debug flags # -Werror -pedantic IF(BuildType STREQUAL "Debug") SET_TARGET_PROPERTIES(sml PROPERTIES COMPILE_FLAGS "-pipe -Wall -W -ggdb") ELSEIF(BuildType STREQUAL "Release") SET_TARGET_PROPERTIES(sml PROPERTIES COMPILE_FLAGS "-pipe -Wall -W -O3 -fomit-frame-pointer") ENDIF() SET_TARGET_PROPERTIES(sml PROPERTIES CLEAN_DIRECT_OUTPUT 1) ENDIF() ### TEST ### IF(Test STREQUAL "true") ADD_EXECUTABLE (bin/TestXSPF ${SourcePath}/Test/Media/PlayLists/XSPF/TestXSPF.cpp) TARGET_LINK_LIBRARIES (bin/TestXSPF ${SilentMedia_LINKED_LIBRARY}) ADD_EXECUTABLE (bin/test1 ${SourcePath}/Test/test.cpp) TARGET_LINK_LIBRARIES (bin/test1 ${SilentMedia_LINKED_LIBRARY}) ADD_EXECUTABLE (bin/TestFileLoader ${SourcePath}/Test/Media/Container/FileLoader/TestFileLoader.cpp) TARGET_LINK_LIBRARIES (bin/TestFileLoader ${SilentMedia_LINKED_LIBRARY}) ADD_EXECUTABLE (bin/testMixer ${SourcePath}/Test/testMixer.cpp) TARGET_LINK_LIBRARIES (bin/testMixer ${SilentMedia_LINKED_LIBRARY}) ENDIF (Test STREQUAL "true") ### TEST ### ADD_CUSTOM_TARGET(doc COMMAND doxygen ${SilentMedia_SOURCE_DIR}/doc/Doxyfile) There was no error on Linux. Build process: cmake -D BuildType=Debug -D LibraryType=shared . make I found, that incorrect command generate in CMakeFiles/sml.dir/link.txt. But why, as the goal of CMake is cross-platforming.. How to fix it?

    Read the article

  • .NET Free memory usage (how to prevent overallocation / release memory to the OS)

    - by Ronan Thibaudau
    I'm currently working on a website that makes large use of cached data to avoid roundtrips. At startup we get a "large" graph (hundreds of thouthands of different kinds of objects). Those objects are retrieved over WCF and deserialized (we use protocol buffers for serialization) I'm using redgate's memory profiler to debug memory issues (the memory didn't seem to fit with how much memory we should need "after" we're done initializing and end up with this report Now what we can gather from this report is that: 1) Most of the memory .NET allocated is free (it may have been rightfully allocated during deserialisation, but now that it's free, i'd like for it to return to the OS) 2) Memory is fragmented (which is bad, as everytime i refresh the cash i need to redo the memory hungry deserialisation process and this, in turn creates large object that may throw an OutOfMemoryException due to fragmentation) 3) I have no clue why the space is fragmented, because when i look at the large object heap, there are only 30 instances, 15 object[] are directly attached to the GC and totally unrelated to me, 1 is a char array also attached directly to the GC Heap, the remaining 15 are mine but are not the cause of this as i get the same report if i comment them out in code. So my question is, what can i do to go further with this? I'm not really sure what to look for in debugging / tools as it seems my memory is fragmented, but not by me, and huge amounts of free spaces are allocated by .net , which i can't release. Also please make sure you understand the question well before answering, i'm not looking for a way to free memory within .net (GC.Collect), but to free memory that is already free in .net , to the system as well as to defragment said memory. Note that a slow solution is fine, if it's possible to manually defragment the large heap i'd be all for it as i can call it at the end of RefreshCache and it's ok if it takes 1 or 2 second to run. Thanks for your help! A few notes i forgot: 1) The project is a .net 2.0 website, i get the same results running it in a .net 4 pool, idem if i run it in a .net 4 pool and convert it to .net 4 and recompile. 2) These are results of a release build, so debug build can not be the issue. 3) And this is probably quite important, i do not get these issues at all in the webdev server, only in IIS, in the webdev i get memory consumption rather close to my actual consumption (well more, but not 5-10X more!)

    Read the article

  • PHP problems when transfering code from Windows to OS X

    - by Makka95
    I have recently bought a new MacBook Pro. Before I had my MacBook Pro I was working on a website on my desktop computer. And now I want to transfer this code to my new MacBook Pro. The problem is that when I transfered the code (I put it on Dropbox and simply downloaded it on my MacBook Pro) I started to see lots of error messages in my PHP code. The error message I”m receiving is: Warning: Cannot modify header information - headers already sent by (output started at /some/file.php:1) in /some/file.php on line 23 I have done some research on this and it seems that this error is most frequently caused by a new line, simple whitespace or any output before the <?php sign. I have looked through all the places where I have cookies that are being sent in the HTTP request and also where I'm using the header() function. I haven’t detected any output or whitespace that possibly could interfere and cause this problem. Noteworthy is that the error always says that the output is started at line 1. Which got me thinking if there is some kind of coding differences in the way that the Mac OS X and Windows operating systems handle new lines or white spaces? Or could the Dropbox transfer messed something up? The code on one of the sites(login.php) which produces the error: <?php include "mysql_database.php"; login(); $id = $_SESSION['Loggedin']; setcookie("login", $id, (time()+60*60*24*30)); header('Location: ' . $_SERVER['HTTP_REFERER']); ?> login function: function login() { $connection = connecttodatabase(); $pass = ""; $user = ""; $query = ""; if (isset($_POST['user']) && $_POST['user'] != null) { $user = $_POST['user']; if (isset($_POST['pass']) && $_POST['pass'] != null) { $pass = md5($_POST['pass']); $query = "SELECT ID FROM Anvandare WHERE Nickname='$user' AND Password ='$pass'"; } } if ($query != "") { $id = $connection->query($query); $id = mysqli_fetch_assoc($id); $id = $id['ID']; $_SESSION['Loggedin'] = $id; } closeconnection($connection); } Complete error: Warning: Cannot modify header information - headers already sent by (output started at /Users/name/GitHub/website/login.php:1) in /Users/namn/GitHub/website/login.php on line 9

    Read the article

  • « Windows 8 est très excitant » pour Bill Gates, le fondateur de Microsoft heureux depuis qu'il utilise l'OS

    « Windows 8 est très excitant » pour Bill Gates le fondateur de Microsoft heureux depuis qu'il utilise l'OS Bill Gates, le fondateur de Microsoft pense que Windows 8 est « un produit excitant » et « une très grosse affaire pour Microsoft ». S'exprimant lors d'une interview de l'Associated Press sur la prochaine campagne de sa fondation pour éradiquer la polio, l'emblématique ex-PDG de Microsoft n'a pas raté l'occasion de donner ses impressions sur l'OS à un mois de sa sortie grand public. Bill Gates serait fasciné par la nouvelle expérience qu'apporte Windows 8, qu'il utilise déjà, et est satisfait de ce qu'offre l'OS : « je suis très heureux avec Windows...

    Read the article

  • Paul Allen aime Windows 8, mais trouve l'expérience utilisateur bimodale déroutante, le cofondateur de Microsoft analyse l'OS

    « Windows 8 est très excitant » pour Bill Gates le fondateur de Microsoft heureux depuis qu'il utilise l'OS Bill Gates, le fondateur de Microsoft pense que Windows 8 est « un produit excitant » et « une très grosse affaire pour Microsoft ». S'exprimant lors d'une interview de l'Associated Press sur la prochaine campagne de sa fondation pour éradiquer la polio, l'emblématique ex-PDG de Microsoft n'a pas raté l'occasion de donner ses impressions sur l'OS à un mois de sa sortie grand public. Bill Gates serait fasciné par la nouvelle expérience qu'apporte Windows 8, qu'il utilise déjà, et est satisfait de ce qu'offre l'OS : « je suis très heureux avec Windows...

    Read the article

  • How does Blizzard manage to support Mac OS and Windows in their games?

    - by begray
    I've always thought, that using Direct X for Windows was the most powerful, easy and modern method to create games with modern graphics nowdays. And knowing, that it's only Windows I thinks it's pretty difficult to make something similar on other platforms (Mac OS to be exact). But Blizzard somehow managed to deliver Starcraft 2 for Mac OS, and Diablo 3 will be available for Mac too. So what I'm interested in is information about: what technologies are they using for their game engines? are they using one engine for both games (Starcraft 2 and Diablo 3)? Or develop custom for each game? what are they paying in terms of time and money for Mac OS support? Thanks

    Read the article

  • "Google a raté le coche avec Chrome OS" affirment certains experts qui s'inquiètent des retards pris par le système d'exploitation

    "Google a raté le coche avec Chrome OS", affirment certains experts qui s'inquiètent des retards pris par système d'exploitation de Google Chrome OS aurait du voir le jour en 2010. Et pourtant, personne encore ne l'a vu pointer le bout de son nez. Du coup, certains experts s'inquiètent. Pour eux, le marché change vite, trop vite. Chrome OS est destiné a équiper les appareils de puissance moindre, comme les netbooks et les ordinateurs lowcost. Seulement : "il y a un an, personne n'aurait pu prédire les grands changements qui sont survenus". Ce que les analystes veulent dire, c'est qu'au moment où Google à annoncé son produit, les netbooks avaient le vent en poupe. Aujourd'hui, ils so...

    Read the article

  • How are crossplatform/multiple-OS C++ projects planned in terms of code and tools?

    - by Nav
    I want to create a project in C++ that can work in Windows, Linux and Embedded Linux. How are projects created when they have to work across many OS'es? Is it first created on one OS and then the code slowly modified to be ported to another OS? Eg: to me, the Linux version of Firefox appears to be created as a Windows project and a separate Linux project with a different code base, since Firefox behaves a bit different in Windows and Linux. Although the source code download is surprisingly a single link. If QT is used for UI, Boost threads for threading, Build Bot for CI and NetBeans/Eclipse/QT Creator for an IDE, would a person be able to minimise the amount of code re-write required to get the project onto another OS? Is this the right way to do it, or are such projects meant to be created as two entirely separate projects for two separate OS'es?

    Read the article

  • Someone erased the mac os x with ubuntu, how do i get it back?

    - by Azarius Jenkins
    so for a further detail about this, my friend has a macbook pro thats all i know about it specfically aside from the fact it was running os x lion. before this guy got a hold of the computer that he knows, I could hit the command key and the R key to get to the disk utilities and what-not to install OS X Lion on it, but now since whomever my friend let touch th mac, i no longer and do any of the start-up keys for it.. I've been trying to geth the mac os x lion on there and im having no luck what-so-ever, if anyone could help me with this i would be greatly appreciative... if you need anymore info that i may be able to provide please feel free to ask. thank you again.

    Read the article

  • BlackBerry 10 en test auprès de 50 opérateurs, l'OS mobile franchit un cap crucial le rapprochant de son lancement début 2013

    BlackBerry 10 en test auprès de 50 opérateurs dans le monde l'OS mobile franchit un cap crucial le rapprochant de son lancement début 2013 Même si la date de sortie officielle de BlackBerry 10 n'est pas encore connue, l'OS a franchi un cap crucial dans son cycle de développement, le rapprochant de sa période de lancement. Thorsten Heins, le PDG de RIM a annoncé que l'OS mobile a été mis à la disposition de 50 opérateurs à travers le monde afin que ceux-ci puissent procéder à des tests. Cette étape importante pour le PDG du constructeur canadien signifie que la firme pourra tenir son engagement de lancer BlackBerry 10 durant le premier trimestre de l'année prochaine. ...

    Read the article

  • Where to install bootloader when installing Ubuntu as secondary OS?

    - by HelpNeeder
    I'm trying to install Ubuntu as secondary OS on my laptop. I have Windows 8 already installed on my laptop. Now, I know how to run Ubuntu from USB drive, I created addition partition and formatted it to EXT4. So I'm ready to install. Now, 'Device for boot loader installation:' displays: /dev/sta ATA HITACHI (750 GB) /dev/sta1 Windows 8 (loader) /dev/sta2 /dev/sta5 /dev/sta6 Ubuntu 12.04 (12.04) /dev/stb I tries choosing Ubuntu 12.04 partition but it doesn't even let me to pick which OS to install and goes straight to Windows 8. Which partition I must choose to be able to pick which OS to boot from? Preferably, set up so Windows 8 will be at first place, and Ubuntu on second. Any ideas? I don't want to mess up anything if I pick something wrong.

    Read the article

  • Tizen 2.0 disponible avec son SDK, Samsung pourrait bientôt lancer un smartphone sous l'OS mobile open source fondé sur Linux

    Tizen 2.0 disponible avec son SDK Samsung pourrait bientôt lancer un smartphone sous l'OS open source fondé sur Linux Tizen 2.0, le système d'exploitation mobile open source fondé sur Linux est désormais disponible en version alpha avec son kit de développement. Tizen est né à la suite de l'abandon de MeeGo par Nokia. Il est soutenu par les développeurs de MeeGo d'Intel, Samsung et la fondation Linux. L'OS est destiné à une large gamme de dispositifs dont les smartphones, tablettes, netbooks, SmartTV et les systèmes de divertissement embarqués des véhicules. Cette étape importante du développement de Tizen montre un OS dont le code se rapproche d'une version qui pourra bientôt êtr...

    Read the article

  • Why can't I mount the Ubuntu 12.04 installer ISOs in Mac OS X?

    - by eric
    Over the past few days, I have downloaded both the 32 and 64 bit version of server and desktop to install on an Intel based PC. It is normal from within OS X to double click on an ISO and it will mount the ISO in the finder as well as within disk utility. When I attempt to mount any of the Ubuntu ISOs I downloaded, OS X returns the error message The following disk images couldn't be opened. The reason given for the error is no mountable filesystem. However, I am still able to open the ISO directly from disk utility and burn it to a DVD/CD. What has changed in this release to cause this? Is there something wrong with the current ISOs? The OS X machine I am using is only two weeks old and is having no issues with any other ISO.

    Read the article

  • Android progresse de 615% en un an et dépasse Symbian, il devient l'OS mobile le plus populaire au monde d'après Canalys

    Android progresse de 615% en un an et dépasse Symbian Il devient l'OS mobile le plus populaire au monde Selon une étude de Canalys, société d'analyse et de conseil, Android a dépassé Symbian pour la première fois au quatrième trimestre 2010. Il devient de ce fait l'OS mobile le plus populaire au monde. Le rapport révèle qu'il se serait écoulé 33,3 millions de Smartphones embarquant le système d'exploitation de Google, dépassant ainsi pour la première fois l'OS de Nokia, Symbian, dont 31 millions d'exemplaires « seulement » auraient été vendus. Apple, RIM et Microsoft quant à eux ont écoulé respectivement 16,2 millions, 14,6 millions et 3,1 millions d'appareils au cours du d...

    Read the article

  • La version finale de Chrome OS sortira à l'automne 2010, le système révolutionnera-t-il le marché de

    Mise à jour du 03.06.2010 par Katleen La version finale de Chrome OS sortira à l'automne 2010, le système révolutionnera-t-il le marché des applications web ? Google vient de donner des nouvelles de son futur système d'exploitation maison : Chrome OS. En cours de développement, sa version finale devrait être disponible au cours du quatrième trimestre 2010. Les premiers ordinateurs équipés de l'OS devraient donc arriver cet automne dans les boutiques. Le système étant basé sur Linux, il sera vraisemblablement distribué gratuitement à l'instar des autres distributions. Cependant, il se peut que seuls les machines d'une liste établie par Google soient gratifiés de pilotes les rendant totalement compatib...

    Read the article

  • L'iPad tente déjà de rattraper Android en terme de trafic internet, mais l'OS mobile de Google résis

    Mise à jour du 16/04/10 L'iPad génère déjà autant de trafic internet que BlackBerry Et tente de rattraper Android, mais l'OS de Google résiste Selon les mesures de NetApplications, l'iPad aurait déjà rejoint (voire dépassé) les smartphones de Blackberry. La tablette serait même sur le point de talonner le score des téléphones embarquant Android comme système d'exploitation. L'iPad représenterait en effet aux alentours de 0,04 % du trafic internet global. Un chiffre à comparer avec les 0,04 % de RIM (l'OS des Blackberry) et à mettre en perspective avec les 0,07 % d'Android (l'OS mobile de Google). Rappelons que l...

    Read the article

  • How to install Ubuntu on PC with no detected OS?

    - by brad54322
    I have a Spanish OS based on 11.04 called 'Darwin OS'. After installing it, the setup file still existed on the desktop. So, I opened it to see what would happen. It got stuck at Detecting file systems so I just closed it. Later, I started having a lot of problems with the OS so I decided to switch to the normal 12.04. But when I booted from my USB, it said An Operating System wasn't found. Try disconnecting any drives that don't contain an Operating system. Press Ctrl-Alt-Del to restart. I tried that a couple of times but nothing happened. What should I do?

    Read the article

  • Chrome 9 est disponible dans une nouvelle version bêta, qui optimise une future utilisation avec Chrome OS

    Chrome 9 est disponible dans une nouvelle version bêta, qui optimise une future utilisation avec Chrome OS Mise à jour du 05.01.2011 par Katleen Google vient de rendre disponible une nouvelle version bêta de Chrome 9. Cette mise à jour de son navigateur intègre une version protégée du greffon Flash 10.0 (pour Windows uniquement), et semble très aboutie. Il s'agit de la build 9.0.597.42 pour Windows, Mac, Linux et Chrome Frame. Elle corrige de nombreux bogues et optimise un peu plus le navigateur spécifiquement pour Chrome OS. Par exemple, la révision numéro 69603, qui permettra à Chrome OS de remplacer la majorité des licences génériques de templates. Ou bien la #70318, à propos des c...

    Read the article

  • Android devient numéro 1 en France, plus d'un smartphone vendu sur deux sous l'OS de Google dans le monde

    Android devient numéro 1 en France Plus d'un smartphone vendu sur deux sous l'OS de Google dans le monde Mise à jour du 17/11/11, par Hinault Romaric Le succès d'Android se confirme en France. Le système d'exploitation de Google est devenu l'OS mobile numéro 1 sur le territoire français, selon un récent rapport publié par le cabinet d'étude des médias Médiamétrie. En six mois, les achats de nouveaux smartphones sous Android par les consommateurs ont été deux fois plus nombreux qu'au premier trimestre 2011, permettant ainsi à l'OS de devancer pour la première fois iOS en France avec 40% de parts de marché. ...

    Read the article

  • python os.execvp() trying to display mysql tables gives 1049 error - Unknown database error.

    - by Hemanth Murthy
    I have a question related to mysql and python. This command works on the shell, but not when I use os.execvp() $./mysql -D test -e "show tables" +----------------+ | Tables_in_test | +----------------+ | sample | +----------------+ The corresponding piece of code in python would be def execute(): args = [] args.extend(sys.argv[1:]) args.extend([MYSQL, '-D test -e "show tables"']) print args os.execvp(args[0], args) child_pid = os.fork() if child_pid == 0: os.execvp(args[0], args) else: os.wait() The output of this is: [./mysql', '-D test -e "show tables"'] ERROR 1049 (42000): Unknown database ' test -e "show tables"' I am not sure if this is a problem with the python syntax or not. Also, the same command works with os.system() call. os.system(MYSQL + ' -D test -e "show tables"') Please let me know how to get this working. Thanks, Hemanth

    Read the article

  • Database In Java ME For Palm

    - by Nathan Campos
    I'm developing a program written in Java ME for Palm OS that creates a DB, read and write on it too, but I need to know somethings: How can I create PDB files using Java ME? When I use a RecordSet on Java ME I'm acessing a PDB? How to access a PDB in Java ME? Thanks.

    Read the article

  • Getting UDID from deactivated device?

    - by Moshe
    I installed iPhone OS 4.0 on my friends iPod Touch 3rd gen and forgot to add the udid to the provisioning portal. The device is locked and I can't seem to find a way to revert it to get the UDID. I don't have XCode here. Using iTunes, how can I revert it?

    Read the article

  • Restoring older firmware through XCode?

    - by Moshe
    I'm trying to restore iPhone OS 3.1.3 to a 3GS that has been upgraded to iOS 4. iTunes refuses to complete the install. What needs to be done? I am currently using the GM XCode. Should I be using the latest public stable version instead? Update: XCode reports that "The baseband cannot be rolled back".

    Read the article

< Previous Page | 76 77 78 79 80 81 82 83 84 85 86 87  | Next Page >